/* GateWatch design tokens (PRD section 8).
   Light is the default; dark applies via [data-bs-theme="dark"] on <html>.
   Schools override --gw-brand / --gw-brand-2 with an inline style on <html>. */
:root {
  --gw-brand: #4F46E5;
  --gw-brand-2: #06B6D4;

  --gw-bg: linear-gradient(135deg, #EEF2FF, #E0F2FE);
  --gw-bg-solid: #E7EEFD;
  --gw-glass: rgba(255, 255, 255, 0.55);
  --gw-glass-solid: #F8FAFF;
  --gw-glass-border: rgba(255, 255, 255, 0.7);
  --gw-blur: 16px;
  --gw-shadow: 0 10px 30px rgba(30, 41, 90, 0.12);
  --gw-shadow-hover: 0 16px 40px rgba(30, 41, 90, 0.18);

  --gw-ok: #16A34A;
  --gw-warn: #F59E0B;
  --gw-bad: #DC2626;

  --gw-text: #0F172A;
  --gw-text-muted: #475569;

  --gw-radius-card: 18px;
  --gw-radius-input: 12px;
  --gw-radius-pill: 999px;

  --gw-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gw-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

[data-bs-theme="dark"] {
  --gw-bg: linear-gradient(135deg, #0B1020, #111A33);
  --gw-bg-solid: #0E1529;
  --gw-glass: rgba(17, 25, 51, 0.55);
  --gw-glass-solid: #151F3D;
  --gw-glass-border: rgba(255, 255, 255, 0.08);
  --gw-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --gw-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.45);

  --gw-ok: #22C55E;
  --gw-warn: #FBBF24;
  --gw-bad: #F87171;

  --gw-text: #E2E8F0;
  --gw-text-muted: #94A3B8;
}
