/* --- Header / navbar color --- */
#header, #panel, .menu {
  background: #0a1628 !important; /* dark GameWay blue */
  color: #e8eef7 !important;
  border: none;
}
#header a, #panel a {
  color: #e8eef7 !important;
}
#header a:hover, #panel a:hover {
  color: #7cffc4 !important;
}

/* --- Remove text shadow from category titles --- */
.thead, .tcat, .trow_sep {
  text-shadow: none !important;
}

/* (optional) lighten the category text color for balance */
.thead a, .tcat a, .trow_sep a {
  color: #0c1220 !important;
  font-weight: 700;
}

/* --- Keep gradient category bars --- */
.thead, .tcat, .trow_sep {
  background: linear-gradient(90deg, #5aa9ff, #7cffc4) !important;
  border: none !important;
}

/* --- Small polish for buttons to fit new header tone --- */
.button, input.button, a.button {
  background: linear-gradient(90deg, #5aa9ff, #7cffc4) !important;
  border: 1px solid rgba(90,169,255,.45) !important;
  color: #0c1220 !important;
  font-weight: 700;
  border-radius: 8px;
}
/* --- GameWay dark-blue header fix --- */

/* Logo + navigation unified */
#header, 
#panel, 
.menu, 
.navbar, 
.navbar ul, 
.navbar li, 
.navbar a {
  background: #0a1628 !important;   /* Deep GameWay blue */
  color: #e8eef7 !important;
  border: none !important;
}

/* Ensure dropdowns / hover states match */
#header a, 
#panel a, 
.navbar a {
  color: #e8eef7 !important;
  text-shadow: none !important;
}
#header a:hover, 
#panel a:hover, 
.navbar a:hover {
  color: #7cffc4 !important;        /* GameWay mint accent on hover */
}

/* Optional: if your top bar has separators or borders */
.navbar li, #panel .links li {
  border: none !important;
}
/* === GameWay Blue Bars (Curves UI safe) === */
/* Profile, UCP, Search, and other .card-header.bg-primary bars */

.card-header.bg-primary,
.card-header.text-white,
.page-title > .card-header.bg-primary,
.page-title .titlebar.bg-primary,
.member_profile .card-header.bg-primary,
.usercp .card-header.bg-primary,
.search .card-header.bg-primary {
  background: linear-gradient(90deg, #5aa9ff, #7cffc4) !important;
  color: #0c1220 !important;
  text-shadow: none !important;
  border: none !important;
  border-radius: inherit !important;  /* keep curves’ rounded corners */
}

/* Optional: darker hover/focus tone for buttons inside bars */
.card-header.bg-primary a:hover,
.card-header.text-white a:hover {
  color: #0c1220 !important;
  opacity: 0.85;
}
/* ===== GameWay colors — Curves UI, member profile ONLY (safe) ===== */

/* LEFT column section bars (your blue bars) */
.container-md > .row > .col-12.col-sm-12.col-md-12.col-lg-8.col-xl-8.col-xxl-8
  .card > .card-header.text-19.fw-bold {
  background: linear-gradient(90deg, #5aa9ff, #7cffc4) !important;
  color: #0c1220 !important;
  text-shadow: none !important;
  border: none !important;           /* keep the rounded shape from theme (we don't touch radius) */
}

/* RIGHT column widget headers (keep original white look) */
.container-md > .row > .col-12.col-sm-12.col-md-12.col-lg-4.col-xl-4.col-xxl-4
  .card > .card-header {
  background: #ffffff !important;    /* Curves' light header */
  color: #0f1726 !important;
  border-bottom: 1px solid #e6ebf3 !important;
  text-shadow: none !important;
}

/* Page title strip (already present in Curves; this just ensures GameWay gradient when it exists) */
.page-title,
.page-title .titlebar,
.page-title > .card-header {
  background: linear-gradient(90deg, #5aa9ff, #7cffc4) !important;
  color: #0c1220 !important;
  text-shadow: none !important;
  border: none !important;
}
/* ===== GameWay colors — Curves UI: PORTAL only (safe) ===== */
/* Left column (Announcements list etc.) — gradient bar headers */
.container-md > .row > .col-lg-8 .card > .card-header {
  background: linear-gradient(90deg, #5aa9ff, #7cffc4) !important;
  color: #0c1220 !important;
  text-shadow: none !important;
  /* keep curves’ rounding/borders/padding unchanged */
}

/* Right column widgets (Welcome, PMs, Search, Stats, Who’s Online, Latest Threads) — keep white */
.container-md > .row > .col-lg-4 .card > .card-header {
  background: #ffffff !important;
  color: #0f1726 !important;
  text-shadow: none !important;
  border-bottom: 1px solid #e6ebf3 !important;
}

/* If your portal has a page title strip at the top, give it the gradient too */
.portal .page-title,
.portal .page-title .titlebar,
.portal .page-title > .card-header {
  background: linear-gradient(90deg, #5aa9ff, #7cffc4) !important;
  color: #0c1220 !important;
  text-shadow: none !important;
  border: none !important;
}
/* === GameWay gradient bars — make text dark for readability === */

/* Text and link color on gradient bars */
.card > .card-header,
.thead,
.tcat,
.trow_sep,
.page-title .card-header {
  color: #0c1220 !important;
}

/* Links inside gradient bars */
.card > .card-header a,
.thead a,
.tcat a,
.trow_sep a,
.page-title .card-header a {
  color: #0c1220 !important;
  font-weight: 600;
  text-decoration: none;
}

.card > .card-header a:hover,
.thead a:hover,
.tcat a:hover,
.trow_sep a:hover,
.page-title .card-header a:hover {
  color: #0a0a0a !important; /* slightly darker hover */
  text-decoration: underline;
}
/* ===== GameWay Colors — Board Stats (Curves UI safe) ===== */

/* Left column gradient bars (Most Replied, Most Viewed, etc.) */
.container-md > .row > .col-lg-9 .card > .card-header.text-19.fw-bold {
  background: linear-gradient(90deg, #5aa9ff, #7cffc4) !important;
  color: #0c1220 !important;
  text-shadow: none !important;
  border: none !important;
  border-radius: inherit !important; /* keep Curves rounded look */
}

/* Right column white bars (Totals, Averages, etc.) */
.container-md > .row > .col .card > .card-header {
  background: #ffffff !important;
  color: #0f1726 !important;
  border-bottom: 1px solid #e6ebf3 !important;
  text-shadow: none !important;
}

/* Dark text + hover fixes inside gradient headers */
.container-md > .row > .col-lg-9 .card > .card-header.text-19.fw-bold a {
  color: #0c1220 !important;
  font-weight: 600;
  text-decoration: none;
}
.container-md > .row > .col-lg-9 .card > .card-header.text-19.fw-bold a:hover {
  color: #0a0a0a !important;
  text-decoration: underline;
}
/* ===== GameWay colors — Curves UI: HELP DOCS (scoped) ===== */

/* Gradient bars (section headers, search header, etc.) */
.helpdocs .card > .card-header.text-19.fw-bold,
.helpdocs .card > .card-header.bg-primary,
.helpdocs .page-title > .card-header,
.helpdocs .titlebar,
.helpdocs .results_header,
.helpdocs .thead,
.helpdocs .tcat,
.helpdocs .trow_sep {
  background: linear-gradient(90deg, #5aa9ff, #7cffc4) !important;
  color: #0c1220 !important;
  text-shadow: none !important;
  border: none !important;
  border-radius: inherit !important; /* keep Curves' rounded look */
}

/* Keep any “plain” widgets white (if present) */
.helpdocs .card > .card-header.bg-white,
.helpdocs .card > .card-header.text-dark {
  background: #ffffff !important;
  color: #0f1726 !important;
  text-shadow: none !important;
  border-bottom: 1px solid #e6ebf3 !important;
}

/* Dark link color on gradient bars for readability */
.helpdocs .card > .card-header a,
.helpdocs .thead a,
.helpdocs .tcat a,
.helpdocs .trow_sep a {
  color: #0c1220 !important;
  font-weight: 600;
  text-decoration: none;
}
.helpdocs .card > .card-header a:hover,
.helpdocs .thead a:hover,
.helpdocs .tcat a:hover,
.helpdocs .trow_sep a:hover {
  color: #0a0a0a !important;
  text-decoration: underline;
}
/* ===== GameWay colors — Curves UI: SHOW TEAM (scoped) ===== */
:root{
  --gw-primary:#5aa9ff;
  --gw-accent:#7cffc4;
  --gw-ink:#0c1220;
}

/* Gradient bars for staff group cards / headers on this page only */
.showteam .card > .card-header,
.showteam .page-title > .card-header,
.showteam .titlebar,
.showteam .thead,
.showteam .tcat,
.showteam .trow_sep {
  background: linear-gradient(90deg, var(--gw-primary), var(--gw-accent)) !important;
  color: var(--gw-ink) !important;
  text-shadow: none !important;
  border: none !important;
  border-radius: inherit !important; /* keep Curves’ rounded look */
}

/* Links on the gradient bars: dark for readability */
.showteam .card > .card-header a,
.showteam .thead a,
.showteam .tcat a,
.showteam .trow_sep a {
  color: var(--gw-ink) !important;
  font-weight: 600;
  text-decoration: none;
}
.showteam .card > .card-header a:hover,
.showteam .thead a:hover,
.showteam .tcat a:hover,
.showteam .trow_sep a:hover {
  color: #0a0a0a !important;
  text-decoration: underline;
}



