// LLM UI CSS Custom Properties
// These provide runtime theming capabilities and dark mode support

:root {
  // Color System
  --llm-primary-color: #667eea;
  --llm-primary-hover: #5a67d8;
  --llm-primary-light: #eef2ff;
  --llm-secondary-color: #764ba2;
  --llm-secondary-hover: #6b46c1;
  
  // Semantic Colors
  --llm-success-color: #10b981;
  --llm-success-light: #ecfdf5;
  --llm-success-dark: #065f46;
  --llm-warning-color: #f59e0b;
  --llm-warning-light: #fef3c7;
  --llm-warning-dark: #92400e;
  --llm-error-color: #ef4444;
  --llm-error-light: #fee2e2;
  --llm-error-dark: #991b1b;
  --llm-info-color: #3b82f6;
  --llm-info-light: #dbeafe;
  --llm-info-dark: #1e40af;
  
  // Text Colors
  --llm-text-color: #4b5563;
  --llm-heading-color: #1f2937;
  --llm-muted-color: #6b7280;
  --llm-label-color: #374151;
  
  // Background Colors
  --llm-bg-color: #ffffff;
  --llm-bg-alt: #f9fafb;
  --llm-header-bg: #ffffff;
  --llm-footer-bg: #f9fafb;
  --llm-sidebar-bg: #f9fafb;
  
  // Border Colors
  --llm-border-color: #e5e7eb;
  --llm-border-light: #f3f4f6;
  --llm-border-dark: #d1d5db;
  
  // Typography
  --llm-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --llm-font-size-xs: 0.75rem;
  --llm-font-size-sm: 0.875rem;
  --llm-font-size-base: 1rem;
  --llm-font-size-lg: 1.125rem;
  --llm-font-size-xl: 1.25rem;
  --llm-font-size-2xl: 1.5rem;
  --llm-font-size-3xl: 1.875rem;
  --llm-line-height: 1.5;
  --llm-font-weight-normal: 400;
  --llm-font-weight-medium: 500;
  --llm-font-weight-semibold: 600;
  --llm-font-weight-bold: 700;
  
  // Spacing
  --llm-spacing-xs: 0.25rem;
  --llm-spacing-sm: 0.5rem;
  --llm-spacing-md: 1rem;
  --llm-spacing-lg: 1.5rem;
  --llm-spacing-xl: 2rem;
  --llm-spacing-2xl: 3rem;
  
  // Layout
  --llm-border-radius: 0.375rem;
  --llm-border-radius-sm: 0.25rem;
  --llm-border-radius-lg: 0.5rem;
  --llm-border-radius-xl: 0.75rem;
  --llm-border-radius-full: 9999px;
  
  // Shadows
  --llm-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --llm-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --llm-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --llm-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  // Transitions
  --llm-transition-base: all 0.15s ease-in-out;
  --llm-transition-fast: all 0.1s ease-in-out;
  --llm-transition-slow: all 0.3s ease-in-out;
  
  // Layout Dimensions
  --llm-sidebar-width: 280px;
  --llm-max-width: 1200px;
  --llm-container-padding: 1rem;
  
  // Z-Index Scale
  --llm-z-dropdown: 1000;
  --llm-z-sticky: 1020;
  --llm-z-fixed: 1030;
  --llm-z-modal-backdrop: 1040;
  --llm-z-modal: 1050;
  --llm-z-popover: 1060;
  --llm-z-tooltip: 1070;
}

// Dark Mode Support
@media (prefers-color-scheme: dark) {
  :root {
    // Dark mode color overrides
    --llm-text-color: #e5e7eb;
    --llm-heading-color: #f9fafb;
    --llm-muted-color: #9ca3af;
    --llm-label-color: #d1d5db;
    
    --llm-bg-color: #111827;
    --llm-bg-alt: #1f2937;
    --llm-header-bg: #111827;
    --llm-footer-bg: #1f2937;
    --llm-sidebar-bg: #1f2937;
    
    --llm-border-color: #374151;
    --llm-border-light: #4b5563;
    --llm-border-dark: #6b7280;
  }
}

// High Contrast Mode Support
@media (prefers-contrast: high) {
  :root {
    --llm-primary-color: #0000ff;
    --llm-secondary-color: #800080;
    --llm-success-color: #008000;
    --llm-warning-color: #ff8c00;
    --llm-error-color: #ff0000;
    --llm-info-color: #0000ff;
    
    --llm-text-color: #000000;
    --llm-heading-color: #000000;
    --llm-bg-color: #ffffff;
    --llm-border-color: #000000;
  }
}

// Reduced Motion Support
@media (prefers-reduced-motion: reduce) {
  :root {
    --llm-transition-base: none;
    --llm-transition-fast: none;
    --llm-transition-slow: none;
  }
} 