body.light-mode,body.light{
  background:#f5f7f5 !important;
  color:#0f172a !important;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
body.light-mode :root,body.light :root{
  --bg:#f5f7f5;--card-bg:#fff;--text:#0f172a;--muted:#475569;--border:rgba(0,0,0,.1);
  --acc:#059669;--acc-light:#10b981;
  --input-bg:#f8fafc;--input-text:#0f172a;--input-ph:#94a3b8;
}
body.light-mode .nav,body.light .nav,
body.light-mode .m-nav,body.light .m-nav,
body.light-mode .s-nav,body.light .s-nav,
body.light-mode .lat-nav,body.light .lat-nav{
  background:rgba(255,255,255,.96) !important;
  border-bottom-color:rgba(0,0,0,.08) !important;
  box-shadow:0 1px 8px rgba(0,0,0,.06) !important;
  backdrop-filter:blur(16px) !important;
}
body.light-mode .nav *,body.light .nav *{color:#1a2e1f !important;}
body.light-mode .nav .nav-btn.outline{border-color:rgba(0,0,0,.15) !important;color:#5a7060 !important;}

body.light-mode .hero,body.light .hero{background:linear-gradient(135deg,#e8f5e9,#f5f7f5) !important;}
body.light-mode .hero *{color:#1a2e1f !important;}

body.light-mode .card,body.light .card,
body.light-mode .test-card,body.light .test-card,
body.light-mode .stat-card,body.light .stat-card,
body.light-mode .stat-box,body.light .stat-box,
body.light-mode .q-card,body.light .q-card,
body.light-mode .fb-card,body.light .fb-card,
body.light-mode [class*="-card"],body.light [class*="-card"]{
  background:#fff !important;
  border-color:rgba(0,0,0,.08) !important;
  color:#1a2e1f !important;
  box-shadow:0 1px 6px rgba(0,0,0,.05) !important;
}

body.light-mode .q-panel,body.light .q-panel,
body.light-mode .q-sidebar,body.light .q-sidebar,
body.light-mode .question-map,body.light .question-map,
body.light-mode .sidebar,body.light .sidebar{
  background:#fff !important;
  border-color:rgba(0,0,0,.08) !important;
}

body.light-mode h1,body.light-mode h2,body.light-mode h3,body.light-mode h4,
body.light h1,body.light h2,body.light h3,body.light h4{
  color:#0f172a !important;
}

body.light-mode p,body.light-mode li,body.light-mode label,
body.light p,body.light li,body.light label{
  color:#1e293b !important;
}
body.light-mode span,body.light span{color:#334155 !important;}
body.light-mode td,body.light td{color:#1e293b !important;}
body.light-mode th,body.light th{color:#475569 !important;}

body.light-mode .q-text,body.light .q-text,
body.light-mode .question-text,body.light .question-text{
  color:#1a2e1f !important;
}

body.light-mode .q-opt,body.light .q-opt,
body.light-mode .option,body.light .option,
body.light-mode .opt-row,body.light .opt-row{
  background:rgba(0,0,0,.02) !important;
  border-color:rgba(0,0,0,.1) !important;
  color:#2d4a35 !important;
}
body.light-mode .q-opt:hover,body.light .q-opt:hover,
body.light-mode .option:hover,body.light .option:hover{
  background:rgba(16,185,129,.06) !important;
}

body.light-mode input,body.light-mode select,body.light-mode textarea,
body.light input,body.light select,body.light textarea{
  background:#fff !important;
  color:#1a2e1f !important;
  border-color:rgba(0,0,0,.12) !important;
}
body.light-mode input::placeholder,body.light input::placeholder{color:#94a3b8 !important;}

body.light-mode .footer,body.light .footer,
body.light-mode footer,body.light footer{
  background:rgba(0,0,0,.02) !important;
  color:#6b7c71 !important;
  border-top-color:rgba(0,0,0,.06) !important;
}

body.light-mode .badge,body.light .badge,
body.light-mode .pill,body.light .pill{
  color:#059669 !important;
}

body.light-mode table,body.light table{border-color:rgba(0,0,0,.06) !important;}
body.light-mode table th{color:#6b7c71 !important;border-color:rgba(0,0,0,.08) !important;}
body.light-mode table td{color:#2d4a35 !important;border-color:rgba(0,0,0,.04) !important;}
body.light-mode table tr:hover td{background:rgba(0,0,0,.02) !important;}

body.light-mode .score-ring-inner,body.light .score-ring-inner{background:#f5f7f5 !important;}

body.light-mode .progress-bar,body.light .progress-bar{background:rgba(0,0,0,.06) !important;}

body.light-mode .modal,body.light .modal,
body.light-mode .overlay-content,body.light .overlay-content{
  background:#fff !important;
  color:#1a2e1f !important;
}

body.light-mode .submit-bar,body.light .submit-bar,
body.light-mode .q-submit-bar,body.light .q-submit-bar{
  background:rgba(245,247,245,.96) !important;
  border-color:rgba(0,0,0,.08) !important;
}

body.light-mode .timer,body.light .timer{color:#1a2e1f !important;}

body.light-mode .empty-state,body.light .empty-state{color:#6b7c71 !important;}

body.light-mode a:not([class*="btn"]):not([class*="nav"]){color:#059669 !important;}

body.light-mode .section-title,body.light .section-title,
body.light-mode .heading,body.light .heading{color:#0d1f12 !important;}

body.light-mode .stat-label,body.light .stat-label,
body.light-mode .stat-sub,body.light .stat-sub{color:#6b7c71 !important;}
body.light-mode .stat-val,body.light .stat-val,
body.light-mode .stat-num,body.light .stat-num{color:#0d1f12 !important;}

body.light-mode .tab,body.light .tab,
body.light-mode .filter-btn,body.light .filter-btn{
  background:rgba(0,0,0,.04) !important;
  color:#5a7060 !important;
  border-color:rgba(0,0,0,.08) !important;
}
body.light-mode .tab.active,body.light .tab.active,
body.light-mode .filter-btn.active,body.light .filter-btn.active{
  background:#059669 !important;
  color:#fff !important;
}

body.light-mode .podium-block,body.light .podium-block{background:#fff !important;}
body.light-mode .rank-row,body.light .rank-row{
  background:#fff !important;
  border-color:rgba(0,0,0,.06) !important;
  color:#2d4a35 !important;
}
body.light-mode .rank-row:hover{background:rgba(0,0,0,.02) !important;}

body.light-mode .ans-block,body.light .ans-block{
  background:#fff !important;
  border-color:rgba(0,0,0,.08) !important;
}
body.light-mode .ans-q,body.light .ans-q{color:#1a2e1f !important;}

body.light-mode .welcome-box,body.light .welcome-box{
  background:#fff !important;
  border-color:rgba(0,0,0,.08) !important;
}

body.light-mode .fb-nav,body.light .fb-nav{
  background:rgba(255,255,255,.97) !important;
  border-bottom-color:rgba(0,0,0,.08) !important;
}
body.light-mode .fb-logo-text{color:#0d1f12 !important;}
body.light-mode .fb-back{color:#6b7c71 !important;border-color:rgba(0,0,0,.12) !important;}
body.light-mode .fb-back:hover{color:#059669 !important;border-color:rgba(5,150,105,.3) !important;}
body.light-mode .fb-hero p{color:#6b7c71 !important;}
body.light-mode .fb-stat{background:#fff !important;border-color:rgba(0,0,0,.08) !important;box-shadow:0 1px 4px rgba(0,0,0,.04) !important;}
body.light-mode .fb-stat-num{color:#0d1f12 !important;}
body.light-mode .fb-stat-lbl{color:#6b7c71 !important;}
body.light-mode .fb-tab{background:rgba(0,0,0,.03) !important;border-color:rgba(0,0,0,.08) !important;color:#6b7c71 !important;}
body.light-mode .fb-tab:hover{border-color:rgba(5,150,105,.3) !important;color:#1a2e1f !important;}
body.light-mode .fb-tab.active{background:rgba(5,150,105,.1) !important;border-color:rgba(5,150,105,.25) !important;color:#059669 !important;}
body.light-mode .fb-toggle-label{color:#6b7c71 !important;}
body.light-mode .fb-toggle-label strong{color:#1a2e1f !important;}
body.light-mode .fb-resolve-toggle{background:rgba(0,0,0,.03) !important;border-color:rgba(0,0,0,.08) !important;color:#6b7c71 !important;}
body.light-mode .fb-mcq{background:#fff !important;border-color:rgba(0,0,0,.08) !important;box-shadow:0 1px 4px rgba(0,0,0,.04) !important;}
body.light-mode .fb-mcq-q{color:#1a2e1f !important;}
body.light-mode .fb-mcq-test{color:#6b7c71 !important;}
body.light-mode .fb-mcq-date{color:#94a3b8 !important;}
body.light-mode .fb-mcq-subj{background:rgba(0,0,0,.04) !important;color:#5a7060 !important;}
body.light-mode .fb-opt{border-color:rgba(0,0,0,.06) !important;background:rgba(0,0,0,.01) !important;}
body.light-mode .fb-opt-text{color:#2d4a35 !important;}
body.light-mode .fb-opt.is-correct{background:rgba(34,197,94,.06) !important;border-color:rgba(34,197,94,.15) !important;}
body.light-mode .fb-opt.is-correct .fb-opt-text{color:#065f46 !important;}
body.light-mode .fb-opt.is-wrong{background:rgba(239,68,68,.04) !important;border-color:rgba(239,68,68,.12) !important;}
body.light-mode .fb-opt.is-wrong .fb-opt-text{color:#991b1b !important;}
body.light-mode .fb-opt-letter{border-color:rgba(0,0,0,.12) !important;color:#5a7060 !important;}
body.light-mode .fb-opt.is-correct .fb-opt-letter{background:rgba(34,197,94,.12) !important;border-color:#16a34a !important;color:#065f46 !important;}
body.light-mode .fb-opt.is-wrong .fb-opt-letter{background:rgba(239,68,68,.12) !important;border-color:#dc2626 !important;color:#991b1b !important;}
body.light-mode .fb-mcq-explain{color:#5a7060 !important;background:rgba(5,150,105,.04) !important;border-left-color:rgba(5,150,105,.2) !important;}
body.light-mode .fb-practice-bar{background:rgba(255,255,255,.96) !important;border-top-color:rgba(0,0,0,.08) !important;}
body.light-mode .fb-practice-count{color:#6b7c71 !important;}
body.light-mode .fb-practice-count strong{color:#059669 !important;}
body.light-mode .fb-empty-icon{color:rgba(0,0,0,.1) !important;}
body.light-mode .fb-empty p{color:#6b7c71 !important;}

body.light-mode .nav-logo,body.light .nav-logo{color:#0d1f12 !important;}
body.light-mode .nav-links .nav-btn.outline{border-color:rgba(0,0,0,.12) !important;color:#5a7060 !important;}
body.light-mode .test-grid,body.light .test-grid{color:#1a2e1f !important;}
body.light-mode .q-progress,body.light .q-progress{background:rgba(0,0,0,.06) !important;}
body.light-mode .q-num,body.light .q-num{color:#1a2e1f !important;}
body.light-mode .q-body,body.light .q-body{background:#fff !important;color:#1a2e1f !important;}
body.light-mode .q-dot,body.light .q-dot{background:rgba(0,0,0,.1) !important;border-color:rgba(0,0,0,.15) !important;}
body.light-mode .q-dot.answered{background:#059669 !important;border-color:#059669 !important;}
body.light-mode .q-dot.current{border-color:#0891b2 !important;}

body.light-mode .result-box,body.light .result-box,
body.light-mode .result-card,body.light .result-card{
  background:#fff !important;
  border-color:rgba(0,0,0,.08) !important;
  color:#1a2e1f !important;
  box-shadow:0 2px 8px rgba(0,0,0,.05) !important;
}
body.light-mode .result-stat,body.light .result-stat{color:#1a2e1f !important;}
body.light-mode .result-label,body.light .result-label{color:#6b7c71 !important;}

body.light-mode .subj-bar,body.light .subj-bar,
body.light-mode .subject-bar,body.light .subject-bar{
  background:rgba(0,0,0,.04) !important;
}

body.light-mode .pay-card,body.light .pay-card{
  background:#fff !important;
  border-color:rgba(0,0,0,.08) !important;
  color:#1a2e1f !important;
}

body.light-mode .chapter-card,body.light .chapter-card,
body.light-mode .math-card,body.light .math-card{
  background:#fff !important;
  border-color:rgba(0,0,0,.08) !important;
  color:#1a2e1f !important;
}

body.light-mode .note-card,body.light .note-card{
  background:#fff !important;
  border-color:rgba(0,0,0,.08) !important;
  color:#1a2e1f !important;
}
body.light-mode .note-title,body.light .note-title{color:#0d1f12 !important;}
body.light-mode .note-desc,body.light .note-desc{color:#6b7c71 !important;}

body.light-mode .paper-card,body.light .paper-card{
  background:#fff !important;
  border-color:rgba(0,0,0,.08) !important;
  color:#1a2e1f !important;
}

body.light-mode .cpn-card,body.light .cpn-card{
  background:#fff !important;
  border-color:rgba(0,0,0,.08) !important;
  color:#1a2e1f !important;
}

body.light-mode .vip-badge,body.light .vip-badge{color:#b45309 !important;}
body.light-mode .free-badge,body.light .free-badge{color:#059669 !important;}
