/* ============================================
   MOBTAKER - Design Tokens
   ============================================ */

:root {
  /* Brand Colors (LOCKED) */
  --color-primary: #1A3F51;
  --color-accent: #F28E1F;
  --color-secondary: #047267;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'IBM Plex Sans Arabic', 'Noto Sans Arabic', sans-serif;

  /* Font Sizes (increased for readability) */
  --text-xs: 0.875rem;    /* was 0.75 */
  --text-sm: 1rem;        /* was 0.875 */
  --text-base: 1.125rem;  /* was 1 */
  --text-lg: 1.25rem;     /* was 1.125 */
  --text-xl: 1.375rem;    /* was 1.25 */
  --text-2xl: 1.75rem;    /* was 1.5 */
  --text-3xl: 2.125rem;   /* was 1.875 */
  --text-4xl: 2.5rem;     /* was 2.25 */
  --text-5xl: 3.5rem;     /* was 3 */

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* Spacing */
  --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;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;

  /* Container */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1400px;
}

/* Dark Theme (Default) */
[data-theme="dark"] {
  --bg: #0B0F14;
  --surface: #111827;
  --border: #1F2937;
  --text: #E5E7EB;
  --text-muted: #9CA3AF;
  --text-heading: #FFFFFF;

  /* Adjusted brand colors for dark */
  --primary-hover: #245a73;
  --accent-hover: #f9a03f;
  --secondary-hover: #058a7d;

  /* Card & Component specific */
  --card-bg: #111827;
  --input-bg: #1F2937;
  --input-border: #374151;
  --input-focus: var(--color-accent);

  /* Overlay */
  --overlay: rgba(0, 0, 0, 0.7);
}

/* Light Theme */
[data-theme="light"] {
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --border: #E5E7EB;
  --text: #0B1220;
  --text-muted: #6B7280;
  --text-heading: #0B1220;

  /* Adjusted brand colors for light */
  --primary-hover: #153344;
  --accent-hover: #e07d0e;
  --secondary-hover: #035c53;

  /* Card & Component specific */
  --card-bg: #FFFFFF;
  --input-bg: #F9FAFB;
  --input-border: #D1D5DB;
  --input-focus: var(--color-accent);

  /* Overlay */
  --overlay: rgba(0, 0, 0, 0.5);
}
