/* Design tokens. Components use only these variables (no hardcoded colors) and logical CSS properties (RTL/LTR). */
:root {
  --font-sans: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Sans", system-ui, -apple-system, sans-serif;

  --color-bg: #f6f7f9;
  --color-surface: #ffffff;
  --color-surface-2: #eef0f4;
  --color-border: #d5d9e0;
  --color-text: #1b2230;
  --color-text-muted: #566074;
  --color-primary: #1f4e8c;
  --color-primary-contrast: #ffffff;
  --color-danger: #b3261e;
  --color-success: #1e7b45;
  --color-warning: #8a5a00;
  --color-focus: #1f4e8c;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;

  --radius: 0.5rem;
  --shadow: 0 1px 3px rgb(0 0 0 / 0.12);
  --header-height: 3.5rem;
}

:root[data-theme="dark"] {
  --color-bg: #11151c;
  --color-surface: #1a2029;
  --color-surface-2: #232b37;
  --color-border: #343e4d;
  --color-text: #e8ecf2;
  --color-text-muted: #a3adbd;
  --color-primary: #6ea3e6;
  --color-primary-contrast: #0c1320;
  --color-danger: #ff8a80;
  --color-success: #6fd19a;
  --color-warning: #f0c063;
  --color-focus: #6ea3e6;
  --shadow: 0 1px 3px rgb(0 0 0 / 0.5);
}
