/* ============================================
   SmartKid Academy — Design Tokens
   Brand theme shared with smartkid.co.in
   (navy / cream / orange / sky / pink / yellow)
   ============================================ */

:root {
  /* ── Surfaces ── */
  --color-bg-primary: #fcf9f4;
  --color-bg-secondary: #ffffff;
  --color-bg-tertiary: #f4eee3;
  --color-bg-elevated: #ffffff;
  --color-bg-hover: #f1eadc;

  /* ── Brand ── */
  --color-brand-navy: #12265a;
  --color-brand-navy-light: #2d4073;
  --color-brand-gold: #f6941d;
  --color-brand-gold-light: #ffb44d;

  /* ── Accents ── */
  --color-accent-blue: #2d8fb8;
  --color-accent-blue-light: #46b4df;
  --color-accent-blue-dark: #1f6f92;
  --color-accent-gold: #f6941d;
  --color-accent-gold-light: #ffb44d;
  --color-accent-green: #2e9e5b;
  --color-accent-green-light: #3db56e;
  --color-accent-red: #e2504c;
  --color-accent-red-light: #ee5759;
  --color-accent-purple: #af0073;
  --color-accent-purple-light: #c9338f;
  --color-accent-cyan: #46b4df;
  --color-accent-orange: #f6941d;
  --color-accent-pink: #fa9db8;

  /* ── Text ── */
  --color-text-primary: #12265a;
  --color-text-secondary: #3d3d3d;
  --color-text-tertiary: #70747f;
  --color-text-muted: #9aa0ab;
  --color-text-inverse: #fcf9f4;

  /* ── Borders ── */
  --color-border: #e8e1d3;
  --color-border-light: #dcd4c2;
  --color-border-focus: var(--color-brand-gold);
  --color-border-gold: rgba(246, 148, 29, 0.45);

  /* ── Sidebar (brand navy) ── */
  --color-sidebar-bg: #12265a;
  --color-sidebar-text: #b9c3dd;
  --color-sidebar-text-active: #ffffff;
  --color-sidebar-border: rgba(255, 255, 255, 0.08);
  --color-sidebar-hover: rgba(255, 255, 255, 0.06);
  --color-sidebar-active: rgba(246, 148, 29, 0.22);

  /* ── Board motif ── */
  --color-board-light: #eef1f8;
  --color-board-dark: #c9d3e8;

  /* ── Surfaces ── */
  --surface-bg: var(--color-bg-secondary);
  --surface-border: var(--color-border);
  --surface-shadow: 0 1px 2px rgba(18, 38, 90, 0.05);

  --glass-bg: var(--surface-bg);
  --glass-bg-light: #ffffff;
  --glass-border: var(--surface-border);
  --glass-shadow: var(--surface-shadow);
  --glass-blur: none;

  --gradient-primary: var(--color-brand-navy);
  --gradient-gold: var(--color-accent-gold);
  --gradient-green: var(--color-accent-green);
  --gradient-red: var(--color-accent-red);
  --gradient-dark: var(--color-bg-tertiary);
  --gradient-surface: transparent;
  --gradient-card-shine: transparent;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px rgba(18, 38, 90, 0.06);
  --shadow-md: 0 3px 10px rgba(18, 38, 90, 0.08);
  --shadow-lg: 0 8px 24px rgba(18, 38, 90, 0.1);
  --shadow-xl: 0 16px 40px rgba(18, 38, 90, 0.12);
  --shadow-glow-blue: none;
  --shadow-glow-gold: none;
  --shadow-glow-green: none;

  /* ── Typography ── */
  --font-primary: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', 'JetBrains Mono', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-md: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.3125rem;
  --text-2xl: 1.625rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;

  --font-normal: 400;
  --font-medium: 600;
  --font-semibold: 700;
  --font-bold: 800;

  --leading-tight: 1.2;
  --leading-normal: 1.55;
  --leading-relaxed: 1.65;

  /* ── Spacing ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* ── Border Radius ── */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 16px;
  --radius-full: 9999px;

  /* ── Transitions ── */
  --transition-fast: 140ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 360ms cubic-bezier(0.34, 1.1, 0.64, 1);

  /* ── Z-Index ── */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal-backdrop: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-agent: 600;
  --z-tooltip: 700;

  /* ── Layout ── */
  --sidebar-width: 248px;
  --sidebar-collapsed: 72px;
  --header-height: 56px;
  --content-max-width: 1320px;
}
