/* ==========================================================================
   Airlife Care — Design System Tokens
   Theme: Medical Emergency Red & Crisp White with Rounded Cards & Soft Shadows
   ========================================================================== */

:root {
  /* Brand Red Palette */
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-200: #fecaca;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;
  --red-800: #991b1b;
  --red-900: #7f1d1d;

  /* Neutral Surfaces & Text */
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-red-soft: #fef2f2;

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-on-red: #ffffff;

  /* Borders */
  --border-default: #e2e8f0;
  --border-strong: #cbd5e1;
  --border-red: #fecaca;

  /* Semantic Status */
  --status-live: #16a34a;
  --status-live-bg: #f0fdf4;
  --status-info: #0369a1;
  --status-info-bg: #f0f9ff;
  --status-warn: #b45309;
  --status-warn-bg: #fffbeb;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing Scale (4px / 8px grid) */
  --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;
  --space-16: 64px;
  --space-20: 80px;

  /* Rounded Box Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-card: 16px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Refined Soft Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-card-hover: 0 12px 28px -6px rgba(15, 23, 42, 0.1), 0 4px 10px -2px rgba(220, 38, 38, 0.08);
  --shadow-red: 0 8px 22px -4px rgba(220, 38, 38, 0.34);
  --shadow-header: 0 4px 20px rgba(15, 23, 42, 0.06);

  /* Layout */
  --container-max: 1200px;
  --header-height: 76px;
  --transition-fast: 160ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-base: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
