/* ═══════════════════════════════════════════════════════════════
   NEXORA Enterprise — Design Tokens
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand Colors ── */
  --primary: #1E3A8A;
  --primary-dark: #152a63;
  --primary-light: #2563EB;
  --primary-bg: #eaf0fc;
  --primary-bg-light: #f4f7fd;
  --gold: #D4AF37;
  --gold-light: #fbf6e4;
  --gold-dark: #8a6c14;

  /* ── Semantic Colors ── */
  --success: #22C55E;
  --success-light: #dcfce7;
  --success-dark: #16a34a;
  --danger: #EF4444;
  --danger-light: #fee2e2;
  --danger-dark: #b91c1c;
  --warning: #F59E0B;
  --warning-light: #fef3c7;
  --warning-dark: #92400e;
  --info: #3B82F6;
  --info-light: #dbeafe;

  /* ── Surface Colors ── */
  --bg: #FAFBFD;
  --bg-secondary: #F1F5F9;
  --surface: #ffffff;
  --surface-hover: #f8fafc;
  --border: #eaedf4;
  --border-strong: #d1d5db;

  /* ── Text Colors ── */
  --text: #161e2e;
  --text-secondary: #5b6680;
  --text-muted: #9aa3b6;
  --text-inverse: #ffffff;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(20,30,60,.03);
  --shadow-sm: 0 1px 3px rgba(20,30,60,.04), 0 2px 8px rgba(20,30,60,.04);
  --shadow-md: 0 4px 12px rgba(20,30,60,.06), 0 1px 4px rgba(20,30,60,.04);
  --shadow-lg: 0 8px 32px rgba(20,30,60,.08), 0 2px 8px rgba(20,30,60,.04);
  --shadow-xl: 0 16px 48px rgba(20,30,60,.12), 0 4px 16px rgba(20,30,60,.06);

  /* ── Border Radius ── */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* ── Spacing Scale (4px base) ── */
  --sp-0: 0;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;

  /* ── Font Sizes ── */
  --text-xs: 11px;
  --text-sm: 12px;
  --text-base: 13px;
  --text-md: 14px;
  --text-lg: 15px;
  --text-xl: 18px;
  --text-2xl: 22px;
  --text-3xl: 28px;
  --text-4xl: 36px;

  /* ── Font Weights ── */
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* ── Line Heights ── */
  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-normal: 1.55;
  --lh-relaxed: 1.7;

  /* ── Transitions ── */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-in: cubic-bezier(.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --duration-fast: 120ms;
  --duration-normal: 200ms;
  --duration-slow: 350ms;

  /* ── Z-Index Scale ── */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
  --z-tooltip: 600;

  /* ── Layout ── */
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;
  --header-height: 64px;
  --content-max: 1280px;

  /* ── Typography ── */
  --font-family: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
