/* ============================================
   Design System Variables
   ============================================ */

:root {
  /* ========== Color Palette ========== */
  
  /* Primary Colors */
  --primary-blue: #0066ff;
  --primary-blue-light: #d6e4ff;
  --primary-blue-lighter: #e8f0fe;
  --primary-blue-hover: #0052cc;
  --primary-blue-active: #003d99;
  
  /* Secondary Colors */
  --secondary-blue: #2563eb;
  --secondary-blue-light: #BFDBFE;
  --secondary-blue-lighter: #dbeafe;
  
  /* Success, Warning, Error */
  --success-green: #28a745;
  --success-green-light: #4caf50;
  --warning-yellow: #ffd54f;
  --warning-yellow-dark: #e6951c;
  --error-red: #f44336;
  --error-red-dark: #d32f2f;
  --error-red-light: #ed786f;
  
  /* Neutral Grays */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-150: #f0f0f0;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #c1c2c5;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Dark Colors */
  --dark-900: #23272f;
  --dark-800: #39404d;
  --dark-700: #1c1d1f;
  
  /* Text Colors */
  --text-primary: #333;
  --text-secondary: #6b7280;
  --text-tertiary: #888;
  --text-light: #a0a0a0;
  --text-white: #fff;
  --text-black: #000;
  
  /* Background Colors */
  --bg-primary: #fdfdfd;
  --bg-secondary: #f9fafb;
  --bg-white: #ffffff;
  --bg-sidebar: #f9fbff;
  --bg-light: #f7f7f7;
  --bg-light-alt: #f9f9f9;
  --bg-code: #f5f5f5;
  --bg-code-alt: #f1f1f1;
  --bg-hover: #f4f4f4;
  --bg-hover-dark: #bbb;
  --bg-modal: rgba(0, 0, 0, 0.6);
  --bg-modal-light: rgba(0, 0, 0, 0.5);
  --bg-feedback: #fffbe9;
  --bg-appstore: #e2dbb5;
  --qaqc-brand: #284b85;
  --qaqc-brand-hover: #1f3a5f;
  --qaqc-brand-light: #3a5f99;
  --qaqc-gradient-end: #00cc88;

  /* Dashboard preview surfaces */
  --dashboard-canvas: #f5f7fa;
  --dashboard-ink: #17212b;
  --dashboard-muted: #667481;
  --dashboard-soft: #8b98a5;
  --dashboard-line: #dfe5ea;
  --dashboard-line-strong: #cfd8df;
  --dashboard-accent: #1268d8;
  --dashboard-accent-soft: #eaf3ff;
  --dashboard-series-2: #6f94ba;
  --dashboard-series-3: #b1c4d7;
  --dashboard-series-4: #d7e1ea;
  
  /* Border Colors */
  --border-light: #e0e0e0;
  --border-medium: #ddd;
  --border-dark: #ccc;
  
  /* Scrollbar Colors */
  --scrollbar-thumb: #c4c4c4;
  --scrollbar-track: #f9f9f9;
  
  /* ========== Spacing Scale ========== */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-2xl: 24px;
  --spacing-3xl: 30px;
  --spacing-4xl: 40px;
  --spacing-5xl: 48px;
  
  /* ========== Border Radius ========== */
  --radius-xs: 4px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 15px;
  --radius-3xl: 20px;
  --radius-4xl: 25px;
  --radius-full: 50%;
  --radius-pill: 9999px;
  
  /* ========== Typography ========== */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-mono: 'DM Mono', 'Courier New', Courier, monospace;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  --line-height-loose: 1.8;
  
  /* ========== Z-Index Scale ========== */
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-fixed: 1000;
  --z-modal: 2000;
  --z-tooltip: 3000;
  --z-notification: 4000;
  --z-max: 9999;
  
  /* ========== Shadows ========== */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-2xl: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-focus: 0 4px 10px rgba(0, 123, 255, 0.25);
  
  /* ========== Transitions ========== */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-all: all 0.3s ease;
  
  /* ========== Breakpoints ========== */
  /* Use in media queries: @media (max-width: 768px) */
  --breakpoint-mobile: 480px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 1024px;
  --breakpoint-wide: 1440px;
  
  /* ========== Layout ========== */
  --sidebar-width: 250px;
  --sidebar-collapsed: 70px;
  --input-max-width: 800px;
  --modal-max-width: 90vw;
  --modal-max-height: 90vh;
  
}
