/* ============================================================
   E-LEARNING PLATFORM — Design Tokens
   All CSS custom properties (variables) used across the app.
   ============================================================ */

:root {
  /* ── Navy Palette ── */
  --navy-900: #0A1628;
  --navy-800: #0F1A2E;
  --navy-700: #162340;
  --navy-600: #1E3A5F;
  --navy-500: #26507A;
  --navy-400: #3B6FA0;

  /* ── Gold Palette ── */
  --gold-600: #B8922E;
  --gold-500: #D4A843;
  --gold-400: #E8C468;
  --gold-300: #F2D88A;
  --gold-200: #F8E8B0;

  /* ── Neutral / Gray ── */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F0F4F8;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;

  /* ── Semantic Colors ── */
  --success: #22C55E;
  --success-light: #DCFCE7;
  --success-dark: #16A34A;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --warning-dark: #D97706;
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --danger-dark: #DC2626;
  --info: #3B82F6;
  --info-light: #DBEAFE;
  --info-dark: #2563EB;

  /* ── Typography ── */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.6875rem;   /* 11px */
  --font-size-sm: 0.8125rem;   /* 13px */
  --font-size-base: 0.9375rem; /* 15px */
  --font-size-md: 1.125rem;    /* 18px */
  --font-size-lg: 1.5rem;      /* 24px */
  --font-size-xl: 2rem;        /* 32px */
  --font-size-2xl: 2.5rem;     /* 40px */
  --font-size-3xl: 3rem;       /* 48px */

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* ── Spacing ── */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3rem;     /* 48px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */

  /* ── Border Radius ── */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */
  --radius-2xl: 1.5rem;   /* 24px */
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 2px 8px rgba(10, 22, 40, 0.06), 0 0 1px rgba(10, 22, 40, 0.08);
  --shadow-card-hover: 0 12px 24px rgba(10, 22, 40, 0.1), 0 0 1px rgba(10, 22, 40, 0.1);
  --shadow-sidebar: 2px 0 12px rgba(0, 0, 0, 0.08);

  /* ── Layout ── */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 72px;
  --topbar-height: 64px;
  --content-max-width: 1400px;
  --content-padding: var(--space-6);

  /* ── Transitions ── */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-sidebar: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Z-Index ── */
  --z-sidebar: 100;
  --z-topbar: 110;
  --z-dropdown: 200;
  --z-modal-backdrop: 300;
  --z-modal: 310;
  --z-toast: 400;
  --z-tooltip: 500;
}
