/**
 * CSS Variables for Theming and Consistency
 * Centralized design tokens for easy customization
 */

:root {
  /* Colors - Primary */
  --color-primary-500: #3b82f6;
  --color-primary-600: #2563eb;
  --color-primary-700: #1d4ed8;
  
  /* Colors - Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-ai: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  
  /* Colors - Grays */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-800: #1f2937;
  --color-gray-900: #111827;
  
  /* Colors - Status */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;
  
  /* Layout - Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Layout - Header & Footer */
  --header-height: 64px; /* Standard header height, ensures consistent layout */
  --header-height-mobile: 56px; /* Smaller on mobile for more screen space */
  --footer-height: 15px;
  
  /* Touch Targets - WCAG 2.1 Level AAA requires 44x44px minimum */
  --touch-target-min: 44px;
  --touch-target-comfortable: 48px;
  
  /* Layout - Panels */
  --panel-min-width: 100px;
  --panel-max-width: 800px;
  --panel-default-left: 250px;
  --panel-default-right: 300px;
  --panel-default-bottom: 200px;
  
  /* Layout - Z-Index */
  --z-header: 200;
  --z-panels: 100;
  --z-footer: 1000;
  --z-modal: 2000;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
  --transition-slow: 0.3s ease;
  
  /* 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);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
  
  /* Typography */
  --font-family-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-family-mono: 'Courier New', Courier, monospace;
  
  /* Breakpoints (for JS use) */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* Dark mode support (future) */
@media (prefers-color-scheme: dark) {
  :root {
    /* Dark mode variables can be added here */
  }
}

