/* LivesGuide Overseas — Design System Variables */

:root {
  /* Brand - Blue-based (professional, trustworthy) */
  --brand: #2563EB;
  --brand-light: #3B82F6;
  --brand-lighter: #93C5FD;
  --brand-dark: #1D4ED8;
  --brand-gradient: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  
  /* Semantic Colors */
  --success: #10B981;
  --success-light: #D1FAE5;
  --warning: #F59E0B;
  --warning-light: #FEF3C7;
  --danger: #EF4444;
  --danger-light: #FEE2E2;
  --info: #6366F1;
  --info-light: #E0E7FF;
  
  /* Surfaces */
  --surface: #FFFFFF;
  --surface-secondary: #F8FAFC;
  --surface-tertiary: #F1F5F9;
  --surface-hover: #E2E8F0;
  
  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-inverse: #FFFFFF;
  --text-link: #2563EB;
  
  /* Borders */
  --border: #E2E8F0;
  --border-light: #F1F5F9;
  --border-focus: #2563EB;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
  
  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  
  /* Font Sizes */
  --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;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Spacing */
  --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;
  --space-16: 4rem;
  --space-20: 5rem;
  
  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  
  /* Layout */
  --sidebar-width: 260px;
  --chat-panel-width: 380px;
  --header-height: 64px;
  --max-content-width: 1200px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  
  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-modal-backdrop: 250;
  --z-tooltip: 350;
  
  /* ===== Component Aliases ===== */
  /* Brand states */
  --brand-text: var(--text-inverse);
  --brand-hover: #1D4ED8;
  --brand-active: #1E40AF;
  --brand-soft: #DBEAFE;
  
  /* Surfaces aliases */
  --surface-card: var(--surface);
  --surface-muted: var(--surface-tertiary);
  --surface-input: var(--surface);
  --surface-overlay: rgba(0, 0, 0, 0.5);
  
  /* Semantic soft backgrounds */
  --success-soft: #D1FAE5;
  --warning-soft: #FEF3C7;
  --danger-soft: #FEE2E2;
  --info-soft: #E0E7FF;
  
  /* Semantic hover states */
  --danger-hover: #DC2626;
  --success-hover: #059669;
  
  /* Text aliases */
  --text: var(--text-primary);
  
  /* Font weight */
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Line height */
  --line-height-relaxed: 1.625;
  
  /* Layout */
  --bottom-nav-height: 64px;
}

/* Dark mode (optional) */
[data-theme="dark"] {
  --surface: #0F172A;
  --surface-secondary: #1E293B;
  --surface-tertiary: #334155;
  --surface-hover: #475569;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;
  --border: #334155;
  --border-light: #1E293B;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.4);
}