/* INSURA VAULT — CSS Variables & Design Tokens */

:root {
  /* Brand Colors */
  --brand-primary: #1e2746;
  --brand-primary-light: #2d3a6e;
  --brand-primary-dark: #141a32;
  --brand-accent: #4f6ef7;
  --brand-accent-2: #7c3aed;
  --brand-gold: #f59e0b;
  --brand-gold-light: #fbbf24;

  /* Semantic Colors */
  --color-success: #10b981;
  --color-success-light: #d1fae5;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-danger: #ef4444;
  --color-danger-light: #fee2e2;
  --color-info: #3b82f6;
  --color-info-light: #dbeafe;

  /* Category Colors */
  --color-motor: #3b82f6;
  --color-motor-light: #eff6ff;
  --color-health: #10b981;
  --color-health-light: #ecfdf5;
  --color-property: #f59e0b;
  --color-property-light: #fffbeb;
  --color-transit: #8b5cf6;
  --color-transit-light: #f5f3ff;
  --color-business: #ef4444;
  --color-business-light: #fef2f2;

  /* Neutral Palette */
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.8125rem;
  --text-base: 0.9375rem;
  --text-lg: 1.0625rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;

  /* 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;

  /* Layout */
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;
  --header-height: 64px;
  --bottom-nav-height: 64px;
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 20px;
  --border-radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 48px rgba(0,0,0,0.16), 0 8px 16px rgba(0,0,0,0.10);
  --shadow-glow: 0 0 20px rgba(79,110,247,0.3);

  /* Transitions */
  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Glass */
  --glass-bg: rgba(255,255,255,0.08);
  --glass-border: rgba(255,255,255,0.15);
  --glass-blur: blur(12px);

  /* Admin Colors */
  --admin-bg: #f1f4f8;
  --admin-surface: #ffffff;
  --admin-sidebar-bg: #1e2746;
  --admin-sidebar-text: rgba(255,255,255,0.85);
  --admin-sidebar-active: #4f6ef7;
  --admin-header-bg: #ffffff;
  --admin-border: #e2e8f0;
  --admin-text: #1e293b;
  --admin-text-muted: #64748b;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    --admin-bg: #0f172a;
    --admin-surface: #1e293b;
    --admin-border: #334155;
    --admin-text: #f1f5f9;
    --admin-text-muted: #94a3b8;
    --admin-header-bg: #1e293b;
  }
}
