/**
 * AdOps Tracker — Design Tokens
 * CSS Custom Properties للواجهة الموحدة
 */

:root {
  /* ===== Colors ===== */
  --c-bg: #f4f7f8;
  --c-surface: #ffffff;
  --c-ink: #102f38;
  --c-ink-light: #75878e;
  --c-ink-dark: #082e37;
  --c-border: #e1e9eb;
  --c-border-light: #edf1f2;

  /* Primary (Green) */
  --c-primary: #16805d;
  --c-primary-dark: #12684f;
  --c-primary-light: #eaf7f2;
  --c-primary-border: #cde7de;

  /* Warning (Orange) */
  --c-warning: #c88722;
  --c-warning-light: #fff6e7;
  --c-warning-border: #efddbe;

  /* Danger (Red) */
  --c-danger: #c7463b;
  --c-danger-light: #fff0ee;
  --c-danger-border: #edcfca;

  /* Info (Blue) */
  --c-info: #287083;
  --c-info-light: #edf6f9;
  --c-info-dark: #24728a;

  /* Accent (Teal) */
  --c-accent: #54d3aa;
  --c-accent-soft: rgba(84, 211, 170, 0.12);

  /* Neutral */
  --c-muted: #75878e;
  --c-muted-light: #839399;

  /* Compatibility aliases used by reporting pages. */
  --c-line: var(--c-border);
  --c-line-2: var(--c-border-light);
  --c-card: var(--c-surface);
  --c-transit: #b7791f;
  --c-lost: #f4e8e6;
  --mono: var(--font-mono);

  /* Shell/Sidebar */
  --c-shell: #082e37;
  --c-shell-light: #0b3540;
  --c-shell-text: #cbdadd;
  --c-shell-muted: #5e7d85;

  /* ===== Typography ===== */
  --font-ar: "SF Arabic", "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-mono: "SF Mono", "IBM Plex Mono", Menlo, "DejaVu Sans Mono", monospace;

  --text-xs: 10px;
  --text-sm: 11px;
  --text-base: 12px;
  --text-md: 13px;
  --text-lg: 14px;
  --text-xl: 17px;

  /* ===== Spacing ===== */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 20px;
  --space-2xl: 24px;

  /* ===== Border Radius ===== */
  --radius-sm: 7px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* ===== Shadows ===== */
  --shadow-sm: 0 2px 8px rgba(16, 42, 51, 0.04);
  --shadow-md: 0 8px 24px rgba(16, 42, 51, 0.06);
  --shadow-lg: 0 16px 48px rgba(16, 42, 51, 0.12);
  --shadow-focus: 0 0 0 3px rgba(84, 202, 166, 0.08);

  /* ===== Layout ===== */
  --sidebar-width: 200px;
  --header-height: 64px;

  /* ===== Transitions ===== */
  --transition-fast: 0.14s ease;
  --transition-base: 0.16s ease;
}

:focus-visible {
  outline: 3px solid rgba(22, 128, 93, 0.35);
  outline-offset: 2px;
}

button,
input,
select,
textarea {
  font: inherit;
}
