/* =============================================
   MOTARIO — Design Tokens / Variables
   Source: design-tokens.json (approved by user)
   =============================================
   DO NOT edit colors here directly.
   Edit design-tokens.json and regenerate.
   ============================================= */

:root {
  /* ---- Primary (Orange) ---- */
  --primary: #FF7433;
  --primary-dark: #e55a1a;
  --primary-light: #ff9560;
  --primary-bg: #fff3ed;
  --primary-rgb: 255, 116, 51;

  /* ---- Secondary (Dark Navy) ---- */
  --secondary: #1e293b;
  --secondary-light: #475569;
  --sidebar-bg: #112546;

  /* ---- Status Colors ---- */
  --success: #16a34a;
  --success-bg: #f0fdf4;
  --success-rgb: 22, 163, 74;

  --warning: #d97706;
  --warning-bg: #fffbeb;
  --warning-rgb: 217, 119, 6;

  --danger: #dc2626;
  --danger-bg: #fef2f2;
  --danger-rgb: 220, 38, 38;

  --info: #2563eb;
  --info-bg: #eff6ff;
  --info-rgb: 37, 99, 235;

  /* ---- Neutrals ---- */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* ---- Background & Surface ---- */
  --bg-page: #f1f5f9;
  --bg-card: #ffffff;
  --bg-header: #ffffff;
  --bg-input: #ffffff;

  /* ---- Text ---- */
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --text-on-primary: #ffffff;
  --text-on-dark: #e5e7eb;
  --text-on-sidebar: rgba(255, 255, 255, 0.85);

  /* ---- Borders ---- */
  --border: #e2e8f0;
  --border-input: #b6c2cf;
  --border-focus: var(--primary);

  /* ---- Shadows ---- */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);

  /* ---- Typography ---- */
  --font-body: 'Cairo', sans-serif;
  --font-heading: 'Cairo', sans-serif;
  --font-mono: 'Courier New', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;

  --leading-tight: 1.25;
  --leading-normal: 1.6;
  --leading-loose: 1.8;

  /* ---- Spacing (8px base) ---- */
  --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;

  /* ---- Border Radius ---- */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  /* ---- Sidebar ---- */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 0px;

  /* ---- Header ---- */
  --header-height: 60px;

  /* ---- Z-Index Scale ---- */
  --z-sidebar: 1000;
  --z-header: 900;
  --z-modal: 2000;
  --z-overlay: 1500;
  --z-toast: 3000;
}
