/* Syria Oil — Design Tokens (ported from ministry-portal/css/tokens.css) */
:root {
  /* Flag-inspired palette */
  --green-900: #004d27;
  --green-800: #006633;
  --green-700: #007a3d;
  --green-600: #0a8f4a;
  --green-100: #e6f5ec;
  --green-50: #f2faf5;

  --black-900: #0f1419;
  --black-800: #1a1f26;
  --black-700: #2a323c;
  --black-600: #3d4654;

  --red-700: #b01020;
  --red-600: #ce1126;
  --red-100: #fde8ea;

  --white: #ffffff;
  --gray-50: #f7f9fb;
  --gray-100: #eef2f6;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;

  /* Semantic */
  --color-primary: var(--green-700);
  --color-primary-dark: var(--green-900);
  --color-primary-soft: var(--green-100);
  --color-accent: var(--red-600);
  --color-ink: var(--black-900);
  --color-muted: var(--gray-500);
  --color-border: var(--gray-200);
  --color-surface: var(--white);
  --color-bg: var(--gray-50);
  --color-success: var(--green-600);
  --color-warning: #d97706;
  --color-info: #0369a1;

  /* Typography */
  --font-ar: "IBM Plex Sans Arabic", "Noto Kufi Arabic", Tahoma, sans-serif;
  --font-en: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;

  --leading-tight: 1.25;
  --leading-snug: 1.4;
  --leading-normal: 1.65;
  --leading-relaxed: 1.8;

  /* Spacing — 8px system */
  --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;
  --space-24: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 20, 25, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 20, 25, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 20, 25, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 20, 25, 0.1);
  --shadow-focus: 0 0 0 3px rgba(0, 122, 61, 0.28);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --sidebar-w: 300px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 220ms;

  /* Elementor breakpoint bridge (see functions.php mapping) */
  --bp-mobile: 767px;
  --bp-tablet: 1024px;
}

[lang="en"] {
  --font-ar: var(--font-en);
  --font-display: var(--font-en);
}

[data-theme="high-contrast"] {
  --color-primary: #005c2e;
  --color-ink: #000;
  --color-border: #000;
  --color-bg: #fff;
  --shadow-sm: none;
  --shadow-md: none;
}
