/* Bitcoiny UCP Dark Fix (phpBB 3.3.x)
   Tylko panel zarządzania kontem (UCP) – nie rusza reszty forum.
*/

#ucp, .ucp-main, .ucp-content, .ucp-panel { color: rgba(255,255,255,0.88); }

/* Wymuś ciemne tła w UCP (żeby zniknęły “białe kafle”) */
#ucp .cp-menu, #ucp .cp-main, #ucp .cp-panel, #ucp .cp-content, #ucp .inner,
#ucp .panel, #ucp .panel.bg1, #ucp .panel.bg2, #ucp .panel.bg3,
#ucp .bg1, #ucp .bg2, #ucp .bg3, #ucp .bg4,
#ucp .tablebg, #ucp .forabg, #ucp .forumbg {
  background: rgba(0,0,0,0.22) !important;
  border-color: rgba(255,255,255,0.10) !important;
}

#ucp .cp-main, #ucp .cp-panel, #ucp .cp-content {
  border-radius: 14px !important;
}

/* Pomarańczowe napisy – podbij czytelność */
#ucp .forumtitle, #ucp .titles, #ucp h2, #ucp h3, #ucp legend {
  color: rgba(255, 200, 64, 0.98) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,0.60) !important;
}

/* Linki */
#ucp a, .ucp-main a, .ucp-content a { color: rgba(255, 200, 64, 0.95); text-decoration: none; }
#ucp a:hover, .ucp-main a:hover, .ucp-content a:hover { text-decoration: underline; }

/* Zakładki u góry – ciemne tło + czytelny “bitcoin gold” */
#tabs, #tabs ul { background: transparent !important; }

/* Niektóre style ustawiają tło na LI (a nie na A) – wyłącz “jasne kafle” */
#tabs li {
  background: rgba(0,0,0,0.38) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 10px !important;
}

#tabs li a { background: transparent !important; }

#tabs a, #tabs li a {
  color: rgba(255, 190, 60, 0.98) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,0.55) !important;
  background: rgba(0,0,0,0.38) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 10px !important;
}

#tabs a:hover, #tabs li a:hover {
  background: rgba(0,0,0,0.48) !important;
  border-color: rgba(255, 190, 60, 0.35) !important;
}

/* Aktywna zakładka – dalej ciemno, ale z mocniejszym akcentem */
#tabs .activetab a, #tabs li.active a {
  color: rgba(255, 210, 90, 1) !important;
  background: rgba(255, 177, 0, 0.10) !important;
  border-color: rgba(255, 177, 0, 0.55) !important;
}

/* Menu boczne */

#navigation, #navigation ul {
  background: rgba(0,0,0,0.20) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 14px !important;
  padding: 10px !important;
}

/* Jeśli styl używa .cp-menu / .cp-mini – też wymuś ciemne */
#ucp .cp-menu, #ucp .cp-menu .inner, #ucp .cp-menu .panel,
#ucp .cp-mini, #ucp .cp-mini .inner, #ucp .cp-mini .panel {
  background: rgba(0,0,0,0.22) !important;
  border-color: rgba(255,255,255,0.10) !important;
}

/* Wymuś ciemne tła na elementach listy w nawigacji (czasem tło siedzi na LI) */
#ucp #navigation li {
  background: rgba(0,0,0,0.22) !important;
  border-radius: 10px !important;
}

#navigation a { display:block; padding: 10px 12px !important; margin: 6px 0 !important; }
#navigation li a:hover { background: rgba(255,255,255,0.12) !important; }

/* Panele / boxy */
.panel, .panel.bg3, .panel.bg2, .panel.bg1 {
  background: rgba(0,0,0,0.22) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-radius: 14px !important;
}
h2, h3, .panel h2, .panel h3 { color: rgba(255,255,255,0.92) !important; }

/* Tabele */
table.table1, table.table1 td, table.table1 th {
  background: transparent !important;
  color: rgba(255,255,255,0.88) !important;
  border-color: rgba(255,255,255,0.10) !important;
}
table.table1 thead th { background: rgba(255,255,255,0.08) !important; }
table.table1 tbody tr:nth-child(even) td { background: rgba(255,255,255,0.04) !important; }
table.table1 tbody tr:hover td { background: rgba(255,177,0,0.10) !important; }

/* Formularze */
#ucp input.inputbox, #ucp textarea, #ucp select {
  background: rgba(0,0,0,0.35) !important;
  color: rgba(255,255,255,0.92) !important;
  border: 1px solid rgba(255,255,255,0.18) !important;
  border-radius: 10px !important;
}
#ucp input.inputbox:focus, #ucp textarea:focus, #ucp select:focus {
  border-color: rgba(255,177,0,0.75) !important;
  outline: none !important;
}

/* Przyciski */
#ucp .button1, #ucp .button2, #ucp input.button1, #ucp input.button2 {
  background: rgba(255,255,255,0.10) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  color: rgba(255,255,255,0.92) !important;
  border-radius: 12px !important;
}
#ucp .button1:hover, #ucp .button2:hover, #ucp input.button1:hover, #ucp input.button2:hover {
  background: rgba(255,255,255,0.14) !important;
}

/* Opisy */
#ucp .content, #ucp .content p, #ucp .content li, #ucp .content dd { color: rgba(255,255,255,0.84) !important; }
#ucp .explain, #ucp .small, #ucp .rules { color: rgba(255,255,255,0.72) !important; }


/* Menu boczne linki – gold + ciemne tło */
#navigation li a {
  color: rgba(255, 200, 64, 0.98) !important;
  background: rgba(0,0,0,0.22) !important;
  border-radius: 10px !important;
}
#navigation li a:hover { background: rgba(0,0,0,0.34) !important; }
#navigation li.active a, #navigation li#active-subsection a {
  color: rgba(0,0,0,0.92) !important;
  background: rgba(255, 177, 0, 0.92) !important;
  border: 1px solid rgba(255, 177, 0, 0.92) !important;
}


/* === Strong overrides for custom dark styles (scoped only to UCP) === */
body.section-ucp #tabs, 
body.section-ucp #tabs ul,
body.section-ucp #tabs li,
body.section-ucp #tabs a,
body.section-ucp #tabs .activetab a,
body.section-ucp #navigation,
body.section-ucp #navigation ul,
body.section-ucp #navigation li,
body.section-ucp #navigation a,
body.section-ucp .cp-menu,
body.section-ucp .cp-main,
body.section-ucp .panel,
body.section-ucp .inner,
body.section-ucp .bg1,
body.section-ucp .bg2,
body.section-ucp .bg3 {
  background: rgba(18,18,18,0.98) !important;
  color: rgba(255,255,255,0.90) !important;
}


/* Czytelność tekstu w bloku "Aktywność użytkownika" i podobnych panelach */
body.section-ucp #cp-main,
body.section-ucp #cp-main p,
body.section-ucp #cp-main span,
body.section-ucp #cp-main dt,
body.section-ucp #cp-main dd,
body.section-ucp #cp-main li,
body.section-ucp #cp-main label,
body.section-ucp #cp-main .content,
body.section-ucp #cp-main .panel .inner {
  color: rgba(255,255,255,0.92) !important;
}

/* Tab links and left menu links */
body.section-ucp #tabs a,
body.section-ucp #navigation a {
  color: rgba(255, 177, 0, 0.98) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
}

/* Active states */
body.section-ucp #tabs .activetab a,
body.section-ucp #navigation li.active a,
body.section-ucp #navigation li.active {
  background: rgba(255,177,0,0.12) !important;
  border-color: rgba(255,177,0,0.35) !important;
}

/* Ensure white-ish blocks (your screenshot) go dark */
body.section-ucp #tabs li,
body.section-ucp #navigation li {
  background: rgba(18,18,18,0.98) !important;
  border-color: rgba(255,255,255,0.12) !important;
}
