// LLM UI Design Tokens
// This file contains all color, spacing, border, and typography tokens for the Bluefly LLM UI system.
// Import this file in all projects to ensure design consistency.

:root {
  // Colors
  --llm-primary-color: #667eea;
  --llm-primary-hover: #5a67d8;
  --llm-primary-light: #eef2ff;
  --llm-secondary-color: #764ba2;
  --llm-secondary-hover: #6b46c1;
  --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
  --llm-text-color: #4b5563;
  --llm-heading-color: #1f2937;
  --llm-muted-color: #6b7280;
  --llm-label-color: #374151;
  // Backgrounds
  --llm-bg-color: #ffffff;
  --llm-bg-alt: #f9fafb;
  --llm-header-bg: #ffffff;
  --llm-footer-bg: #f9fafb;
  --llm-nav-hover-bg: #f3f4f6;
  --llm-help-bg: #eff6ff;
  // Borders
  --llm-border-color: #e5e7eb;
  --llm-input-border: #d1d5db;
  --llm-help-border: #bfdbfe;
  // Layout
  --llm-max-width: 1200px;
  --llm-sidebar-width: 300px;
  // Spacing
  --llm-spacing-xs: 0.25rem;
  --llm-spacing-sm: 0.5rem;
  --llm-spacing-md: 1rem;
  --llm-spacing-lg: 2rem;
  --llm-spacing-xl: 3rem;
  // Border radius
  --llm-border-radius: 0.5rem;
  --llm-border-radius-sm: 0.375rem;
  --llm-border-radius-lg: 0.75rem;
  --llm-border-radius-xl: 1rem;
  // Button
  --llm-btn-padding: 0.75rem 1.5rem;
  // Typography
  --llm-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --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: 2rem;
  --llm-font-size-4xl: 2.5rem;
  --llm-line-height: 1.6;
  // Shadows
  --llm-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --llm-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --llm-shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
  // Transitions
  --llm-transition-fast: 0.2s ease;
  --llm-transition-base: 0.3s ease;
  // Z-index
  --llm-z-header: 100;
  --llm-z-modal: 1000;
  --llm-z-notification: 1100;
  // Miscellaneous
  --llm-spinner-bg: #e5e7eb;
  --llm-overlay-bg: rgba(0, 0, 0, 0.5);
}

// Dark mode support
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    --llm-bg-color: #1f2937;
    --llm-bg-alt: #111827;
    --llm-text-color: #d1d5db;
    --llm-heading-color: #f3f4f6;
    --llm-border-color: #374151;
    --llm-input-border: #4b5563;
    --llm-header-bg: #111827;
    --llm-footer-bg: #111827;
    --llm-nav-hover-bg: #374151;
  }
}

:root[data-theme="dark"] {
  --llm-bg-color: #1f2937;
  --llm-bg-alt: #111827;
  --llm-text-color: #d1d5db;
  --llm-heading-color: #f3f4f6;
  --llm-border-color: #374151;
  --llm-input-border: #4b5563;
  --llm-header-bg: #111827;
  --llm-footer-bg: #111827;
  --llm-nav-hover-bg: #374151;
} 