/* Design tokens */
:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f0f2f7;
  --surface-3: #e8ecf4;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-soft: #94a3b8;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #6366f1;
  --accent-2: #8b5cf6;
  --accent-soft: #eef2ff;
  --accent-grad: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --success: #10b981;
  --danger: #ef4444;
  --shadow-xs: 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --radius-xs: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, Arial, sans-serif;
  --transition: 180ms ease;
}

[data-theme="dark"] {
  --bg: #0b1020;
  --surface: #12182b;
  --surface-2: #1a2238;
  --surface-3: #222c46;
  --text: #e6eaf2;
  --text-muted: #9aa6bd;
  --text-soft: #6b7a99;
  --border: #26304a;
  --border-strong: #33405f;
  --accent: #818cf8;
  --accent-2: #a78bfa;
  --accent-soft: #1e2444;
  --accent-grad: linear-gradient(135deg, #818cf8 0%, #a78bfa 100%);
  --shadow-xs: 0 1px 1px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.55);
}
