/* ============================================================
   Design Tokens — Marceau FitAI
   Single source of truth for colors, spacing, typography, shadows
   ============================================================ */

:root {
  /* Brand Colors */
  --primary: #22c55e;
  --primary-dark: #16a34a;
  --primary-light: #4ade80;
  --primary-dim: rgba(34, 197, 94, 0.12);

  --secondary: #3b82f6;
  --secondary-dark: #2563eb;
  --secondary-light: #60a5fa;
  --secondary-dim: rgba(59, 130, 246, 0.12);

  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-light: #fbbf24;
  --accent-dim: rgba(245, 158, 11, 0.12);

  /* Backgrounds */
  --bg-base: #020617;
  --bg-surface: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #263548;
  --bg-input: #0f172a;
  --bg-overlay: rgba(2, 6, 23, 0.8);

  /* Borders */
  --border: #334155;
  --border-light: #475569;
  --border-focus: var(--primary);

  /* Text */
  --text: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --text-inverse: #020617;

  /* Status */
  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --success-dim: rgba(34, 197, 94, 0.12);
  --error-dim: rgba(239, 68, 68, 0.12);
  --warning-dim: rgba(245, 158, 11, 0.12);
  --info-dim: rgba(59, 130, 246, 0.12);

  /* Typography */
  --font-heading: 'Montserrat', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;    /* 12px */
  --text-sm: 0.8125rem;  /* 13px */
  --text-base: 0.875rem; /* 14px */
  --text-md: 1rem;       /* 16px */
  --text-lg: 1.125rem;   /* 18px */
  --text-xl: 1.5rem;     /* 24px */
  --text-2xl: 1.875rem;  /* 30px */

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

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

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow-primary: 0 0 20px rgba(34, 197, 94, 0.15);
  --shadow-glow-secondary: 0 0 20px rgba(59, 130, 246, 0.15);
  --shadow-glow-accent: 0 0 20px rgba(245, 158, 11, 0.15);

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

  /* Layout */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 0px;
  --topbar-height: 56px;
  --jobbar-height: 44px;
  --content-max-width: 1200px;
}
