/* Acctra Academy design tokens — friendly professional EdTech */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root {
  --brand-indigo: #635BDB;
  --brand-navy: #19213D;
  --brand-lavender: #F0EDFF;
  --brand-mint: #DDF7EC;
  --brand-orange: #FFB85C;
  --brand-bg: #F8FAFC;
  --brand-card: #FFFFFF;
  --brand-text: #20243A;
  --brand-muted: #64748B;
  --brand-ok: #16A34A;
  --brand-bad: #DC2626;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-soft: 0 10px 30px rgba(25, 33, 61, 0.06);
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

:root,
html[data-tema="gelap"] {
  --ink: #eef2f6;
  --muted: #a8b3c2;
  --paper: #121826;
  --card: #1c2433;
  --line: rgba(255, 255, 255, .12);
  --head: #ffffff;
  --navy: #d6e4ff;
  --gold: #FFB85C;
  --on-gold: #19213D;
  --blue: #9b95f0;
  --ghost: #9b95f0;
  --ok: #5ddea0;
  --bad: #ff8d8d;
  --ok-bg: rgba(93, 222, 160, .14);
  --bad-bg: rgba(255, 141, 141, .14);
  --pick: rgba(99, 91, 219, .22);
  --soft: rgba(255, 255, 255, .05);
  --input: #0f1520;
  --input-line: rgba(255, 255, 255, .16);
  --bar: #0f1522;
  --bar-ink: #ffffff;
  --bar-dim: #c5d4e4;
  --flag: #f3d48a;
  --done: #635BDB;
  --accent: #635BDB;
  --accent-soft: rgba(99, 91, 219, .18);
  --hero-glow: radial-gradient(ellipse at 20% 0%, rgba(99, 91, 219, .35), transparent 55%),
    radial-gradient(ellipse at 90% 10%, rgba(255, 184, 92, .18), transparent 40%);
}

html[data-tema="terang"] {
  --ink: #20243A;
  --muted: #64748B;
  --paper: #F8FAFC;
  --card: #FFFFFF;
  --line: #e2e8f0;
  --head: #19213D;
  --navy: #19213D;
  --gold: #FFB85C;
  --on-gold: #19213D;
  --blue: #635BDB;
  --ghost: #19213D;
  --ok: #16A34A;
  --bad: #DC2626;
  --ok-bg: #DDF7EC;
  --bad-bg: #fdecec;
  --pick: #F0EDFF;
  --soft: #F0EDFF;
  --input: #ffffff;
  --input-line: #cbd5e1;
  --bar: #19213D;
  --bar-ink: #ffffff;
  --bar-dim: #c5d4e4;
  --flag: #f3d48a;
  --done: #635BDB;
  --accent: #635BDB;
  --accent-soft: #F0EDFF;
  --hero-glow: radial-gradient(ellipse at 15% 0%, rgba(99, 91, 219, .16), transparent 50%),
    radial-gradient(ellipse at 85% 5%, rgba(255, 184, 92, .14), transparent 42%);
}

html { font-family: var(--font); font-size: clamp(15px, 0.18vw + 14px, 20px); }
body, button, input, select, textarea { font-family: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.tema-tombol {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  background: transparent;
  color: var(--gold);
  border-radius: 999px;
  cursor: pointer;
}
.tema-tombol svg { width: 1.15rem; height: 1.15rem; display: block; }
.tema-tombol:hover { background: rgba(255, 255, 255, .1); }
.tema-tombol:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
