/**
 * Tawthiqi Design Tokens - توثيقي
 * Unified design system tokens shared across all layouts
 * Version: 1.0
 */

:root {
  /* Brand Colors - ألوان العلامة التجارية */
  --brand-primary: #059669;
  --brand-primary-light: #10b981;
  --brand-primary-dark: #047857;
  --brand-primary-50: #ecfdf5;
  --brand-primary-100: #d1fae5;
  --brand-primary-200: #a7f3d0;
  --brand-primary-300: #6ee7b7;
  --brand-primary-400: #34d399;
  --brand-primary-500: #10b981;
  --brand-primary-600: #059669;
  --brand-primary-700: #047857;
  --brand-primary-800: #065f46;
  --brand-primary-900: #064e3b;

  /* Semantic Colors - ألوان دلالية */
  --color-success: #22c55e;
  --color-success-light: #f0fdf4;
  --color-warning: #f59e0b;
  --color-warning-light: #fffbeb;
  --color-error: #ef4444;
  --color-error-light: #fef2f2;
  --color-info: #3b82f6;
  --color-info-light: #eff6ff;

  /* Neutral Colors - Zinc scale */
  --neutral-50: #fafafa;
  --neutral-100: #f4f4f5;
  --neutral-200: #e4e4e7;
  --neutral-300: #d4d4d8;
  --neutral-400: #a1a1aa;
  --neutral-500: #737373; /* Fixed from #71717a for WCAG AA compliance (4.65:1) */
  --neutral-600: #52525b;
  --neutral-700: #3f3f46;
  --neutral-800: #27272a;
  --neutral-900: #18181b;

  /* Typography */
  --font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 300ms ease;
  --transition-slow: 500ms ease;
}
