/**
 * Design tokens - Hospital-grade design system
 * Calm light theme default, with dark mode token structure
 */

:root {
  /* Colors - Light theme */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #f5f7fa;
  --color-bg-tertiary: #e9ecef;
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #6c757d;
  --color-text-tertiary: #adb5bd;
  --color-border: #dee2e6;
  --color-border-light: #e9ecef;
  
  /* Accent colors - Medical-safe presets */
  --color-accent-blue: #0066cc;
  --color-accent-teal: #008b8b;
  --color-accent-green: #28a745;
  --color-accent-purple: #6f42c1;
  --color-accent-orange: #fd7e14;
  --color-accent-red: #dc3545;
  --color-accent-indigo: #6610f2;
  --color-accent-pink: #e83e8c;
  
  /* Semantic colors */
  --color-success: #28a745;
  --color-warning: #ffc107;
  --color-error: #dc3545;
  --color-info: #17a2b8;
  
  /* Primary accent (defaults to blue, can be changed via theme) */
  --color-primary: var(--color-accent-blue);
  --color-primary-hover: #0052a3;
  --color-primary-active: #003d7a;
  
  /* 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), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Layout */
  --sidebar-width: 240px;
  --topbar-height: 64px;
  --border-radius: 6px;
  --border-radius-lg: 8px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
}

/* Dark mode token structure (not fully implemented in Phase 1) */
@media (prefers-color-scheme: dark) {
  :root[data-theme="dark"] {
    --color-bg-primary: #1a1a1a;
    --color-bg-secondary: #2d2d2d;
    --color-bg-tertiary: #404040;
    --color-text-primary: #ffffff;
    --color-text-secondary: #b0b0b0;
    --color-text-tertiary: #808080;
    --color-border: #404040;
    --color-border-light: #2d2d2d;
  }
}

