/* ===================================================================
   AllUpdate247 — CSS Variables (Design Token System)
   =================================================================== */

:root {
  /* --- Brand Colors --- */
  --primary: #1a56db;
  --primary-dark: #1241aa;
  --primary-light: #e8f0fe;
  --primary-muted: #4b7cf3;

  --secondary: #f97316;
  --secondary-dark: #ea6a0a;
  --secondary-light: #fff7ed;

  /* --- Neutral Palette --- */
  --text: #111827;
  --text-secondary: #374151;
  --muted: #6b7280;
  --muted-light: #9ca3af;

  --background: #f9fafb;
  --surface: #ffffff;
  --surface-2: #f3f4f6;

  --border: #e5e7eb;
  --border-dark: #d1d5db;

  /* --- Feedback Colors --- */
  --success: #16a34a;
  --success-light: #dcfce7;
  --danger: #dc2626;
  --danger-light: #fee2e2;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --info: #0891b2;
  --info-light: #e0f2fe;

  /* --- Category Colors --- */
  --cat-tech: #6366f1;
  --cat-govt: #16a34a;
  --cat-jobs: #f97316;
  --cat-edu: #0891b2;
  --cat-exam: #9333ea;
  --cat-service: #1a56db;

  /* --- Typography --- */
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* --- Font Sizes (Fluid) --- */
  --text-xs: 0.75rem;     /* 12px */
  --text-sm: 0.875rem;    /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg: 1.125rem;    /* 18px */
  --text-xl: 1.25rem;     /* 20px */
  --text-2xl: 1.5rem;     /* 24px */
  --text-3xl: 1.875rem;   /* 30px */
  --text-4xl: 2.25rem;    /* 36px */
  --text-5xl: 3rem;       /* 48px */

  /* --- Font Weights --- */
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* --- Line Heights --- */
  --lh-tight: 1.25;
  --lh-snug: 1.375;
  --lh-normal: 1.5;
  --lh-relaxed: 1.625;
  --lh-loose: 2;

  /* --- 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: 0.25rem;
  --radius: 0.5rem;
  --radius-md: 0.625rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* --- Shadows --- */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.10), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.10), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.10), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --shadow-primary: 0 4px 14px 0 rgba(26, 86, 219, 0.25);

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition: 200ms ease;
  --transition-slow: 300ms ease;

  /* --- Layout --- */
  --container-max: 1280px;
  --container-narrow: 900px;
  --header-height: 64px;
  --sidebar-width: 300px;
  --admin-sidebar-width: 240px;

  /* --- Z-Index Scale --- */
  --z-base: 0;
  --z-above: 10;
  --z-modal: 100;
  --z-header: 200;
  --z-overlay: 300;
  --z-tooltip: 400;
}

/* Dark mode placeholder (can be enabled later) */
@media (prefers-color-scheme: dark) {
  /* Reserved for future dark mode support */
}
