/* ===== TradeWise Academy: dark mode (default look): Black + Gold, green/red for markets ===== */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050505;             /* logo black */
  --surface: #0F0E0B;
  --text: #F1EADA;
  --muted: #A99F88;
  --ink: #FFFFFF;
  --accent: #F2B632;
  --accent-text: #F5C04F;    /* logo gold for highlighted text */
  --violet: #D9981C;
  --gain: #1FD18B;
  --gold: #F5C04F;
  --amber: #F5C04F;
  --loss: #FF4D4F;
  --line: rgba(245, 192, 79, .26);
  --shade: rgba(245, 192, 79, .09);
  --shade-strong: rgba(245, 192, 79, .20);
  --btn-bg: #F2B632;
  --btn-fg: #140E00;
  --shadow: 0 18px 40px rgba(0, 0, 0, .7);
}
[data-theme="dark"] .ico-moon { display: none; }
[data-theme="dark"] .ico-sun { display: inline; }

/* ===== Courses page: dark mode for every section =====
   Hero and the learning-path chart are dark in both themes. Everything else now follows the theme. */
[data-theme="dark"] .cs:not(.lp){--ink:#F5EEDC;--mut:#B9AE92;--gold:#F5C04F;--gold2:#F2B632;--ln:rgba(245,192,79,.2);--btn-bg:#F2B632;--btn-fg:#14100A;--cs-surface:#15130E;--cs-raised:#1C1911}
[data-theme="dark"] .cs--w:not(.lp){background:#080807}
[data-theme="dark"] .cs--c:not(.lp){background:#0E0D09}
[data-theme="dark"] .cs:not(.lp) .cs-tab{background:var(--cs-surface)}
[data-theme="dark"] .cs:not(.lp) .cs-tab em{background:#2A240F;color:#F5EEDC}
[data-theme="dark"] .cs:not(.lp) .cs-tab.on{background:#F2B632;border-color:#F2B632;color:#14100A}
[data-theme="dark"] .cs:not(.lp) .cs-tab.on em{background:#14100A;color:#F2B632}
[data-theme="dark"] .cs:not(.lp) .cs-tab.on small{color:#4A3A10}
[data-theme="dark"] .cs:not(.lp) .cs-sp{background:var(--cs-surface);box-shadow:0 40px 70px -46px rgba(0,0,0,.9)}
[data-theme="dark"] .cs:not(.lp) .cs-wr{background:var(--cs-surface)}
[data-theme="dark"] .cs:not(.lp) .cs-wr__s{background:var(--cs-raised);border-inline-start-color:rgba(245,192,79,.25)}
[data-theme="dark"] .cs:not(.lp) .cs-pl{background:var(--cs-surface)}
[data-theme="dark"] .cs:not(.lp) .cs-pl--f{background:#221C0C;border-color:#F2B632}
[data-theme="dark"] .cs:not(.lp) .cs-check{background:var(--cs-surface);border-color:rgba(245,192,79,.32)}
[data-theme="dark"] .cs:not(.lp) .cs-included{background:var(--cs-raised);border:1px solid var(--ln);color:#F5EEDC}
[data-theme="dark"] .cs:not(.lp) .cs-node{background:var(--cs-surface)}
[data-theme="dark"] .cs:not(.lp) .cs-pt.on .cs-node,[data-theme="dark"] .cs:not(.lp) .cs-badge,[data-theme="dark"] .cs:not(.lp) .cs-db-list li>i{color:#14100A}
[data-theme="dark"] .cs:not(.lp) .cs-sched{color:#F5EEDC}
@media (max-width:1023px){[data-theme="dark"] .cs:not(.lp) .cs-wr__s{border-top-color:rgba(245,192,79,.25)}}

/* "Before you enroll" card, dark */
[data-theme="dark"] .fq{background:#0E0D09}
[data-theme="dark"] .fq-card{background:#12100B;border-color:rgba(245,192,79,.3);box-shadow:0 24px 60px -30px rgba(0,0,0,.9)}
[data-theme="dark"] .fq-side{border-bottom:1px solid rgba(245,192,79,.18)}
[data-theme="dark"] .fq-chat{background:#12100B}
[data-theme="dark"] .fq-chat__bar{background:#17150E;border-bottom-color:rgba(245,192,79,.18)}
[data-theme="dark"] .fq-av{box-shadow:0 0 0 2px #17150E,0 0 0 4px #F5C04F}
[data-theme="dark"] .fq-chat__bar b{color:#fff}
[data-theme="dark"] .fq-chat__bar small{color:#B9AE92}
[data-theme="dark"] .fq-r--bot .fq-m{background:rgba(255,255,255,.07);color:#F5EEDC;border-color:rgba(245,192,79,.2)}
[data-theme="dark"] .fq-r--typing i{background:#B9AE92}
[data-theme="dark"] .fq-nojs dt{color:#F5C04F}
[data-theme="dark"] .fq-nojs dd{color:#F5EEDC}
[data-theme="dark"] .fq-quick{background:#0F0E0A;border-top-color:rgba(245,192,79,.18)}
[data-theme="dark"] .fq-tabs button{color:#B9AE92}
[data-theme="dark"] .fq-tabs button:hover{color:#fff}
[data-theme="dark"] .fq-tabs button[aria-pressed="true"]{background:rgba(245,192,79,.16);color:#F5C04F}
[data-theme="dark"] .fq-q{background:transparent;color:#F5C04F;border-color:rgba(245,192,79,.5)}
[data-theme="dark"] .fq-q:hover,[data-theme="dark"] .fq-q.used:hover{background:#F5C04F;border-color:#F5C04F;color:#0A0A0A}
[data-theme="dark"] .fq-q.used{background:transparent;color:#B9AE92;border-color:rgba(245,192,79,.2)}
[data-theme="dark"] .fq-q:focus-visible,[data-theme="dark"] .fq-tabs button:focus-visible{outline-color:#F5C04F}
[data-theme="dark"] .fq-chat__foot{background:#12100B;border-top-color:rgba(245,192,79,.18);color:#B9AE92}
[data-theme="dark"] .fq-chat__foot a{color:#F5C04F}
