/* ===== Blue Theme Design System ===== */
/* This file is served from /public/ so Tailwind v4 doesn't strip it. */

:root {
  --radius: 0.625rem;
  --background: oklch(0.98 0.005 250);
  --foreground: oklch(0.21 0.02 255);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.21 0.02 255);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.21 0.02 255);
  --primary: oklch(0.55 0.22 264);
  --primary-foreground: oklch(0.985 0 0);
  --secondary: oklch(0.96 0.01 250);
  --secondary-foreground: oklch(0.3 0.02 255);
  --muted: oklch(0.96 0.008 250);
  --muted-foreground: oklch(0.52 0.02 255);
  --accent: oklch(0.93 0.03 255);
  --accent-foreground: oklch(0.4 0.15 264);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.91 0.01 255);
  --input: oklch(0.91 0.01 255);
  --ring: oklch(0.55 0.22 264);
  --chart-1: oklch(0.55 0.22 264);
  --chart-2: oklch(0.62 0.18 230);
  --chart-3: oklch(0.7 0.13 200);
  --chart-4: oklch(0.65 0.15 280);
  --chart-5: oklch(0.6 0.2 30);
  --sidebar: oklch(0.97 0.008 250);
  --sidebar-foreground: oklch(0.21 0.02 255);
  --sidebar-primary: oklch(0.55 0.22 264);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.93 0.03 255);
  --sidebar-accent-foreground: oklch(0.4 0.15 264);
  --sidebar-border: oklch(0.91 0.01 255);
  --sidebar-ring: oklch(0.55 0.22 264);
}

.dark {
  --background: oklch(0.16 0.02 260);
  --foreground: oklch(0.92 0.01 250);
  --card: oklch(0.22 0.025 260);
  --card-foreground: oklch(0.92 0.01 250);
  --popover: oklch(0.22 0.025 260);
  --popover-foreground: oklch(0.92 0.01 250);
  --primary: oklch(0.62 0.2 264);
  --primary-foreground: oklch(0.13 0.02 260);
  --secondary: oklch(0.28 0.03 260);
  --secondary-foreground: oklch(0.92 0.01 250);
  --muted: oklch(0.28 0.025 260);
  --muted-foreground: oklch(0.68 0.02 255);
  --accent: oklch(0.32 0.05 264);
  --accent-foreground: oklch(0.85 0.08 250);
  --destructive: oklch(0.704 0.191 22.216);
  --border: oklch(0.35 0.03 260);
  --input: oklch(0.35 0.03 260);
  --ring: oklch(0.62 0.2 264);
  --chart-1: oklch(0.62 0.2 264);
  --chart-2: oklch(0.68 0.15 230);
  --chart-3: oklch(0.72 0.1 200);
  --chart-4: oklch(0.65 0.18 280);
  --chart-5: oklch(0.7 0.2 30);
  --sidebar: oklch(0.19 0.025 260);
  --sidebar-foreground: oklch(0.92 0.01 250);
  --sidebar-primary: oklch(0.62 0.2 264);
  --sidebar-primary-foreground: oklch(0.985 0 0);
  --sidebar-accent: oklch(0.28 0.04 264);
  --sidebar-accent-foreground: oklch(0.85 0.08 250);
  --sidebar-border: oklch(0.35 0.03 260);
  --sidebar-ring: oklch(0.62 0.2 264);
}

/* ===== Dark Mode Global Overrides ===== */
.dark { background-color: var(--background) !important; color: var(--foreground) !important; }
.dark .bg-white { background-color: var(--card) !important; }
.dark .bg-gray-50 { background-color: #1a1f2e !important; }
.dark .bg-gray-100 { background-color: #1e2433 !important; }
.dark .bg-gray-200 { background-color: #252b3b !important; }
.dark .bg-gray-50\/50 { background-color: rgba(26,31,46,0.5) !important; }
.dark .bg-gray-50\/80 { background-color: rgba(26,31,46,0.8) !important; }
.dark .bg-gray-50\/30 { background-color: rgba(26,31,46,0.3) !important; }
.dark .bg-white\/80 { background-color: rgba(30,36,51,0.8) !important; }
.dark .bg-white\/70 { background-color: rgba(30,36,51,0.7) !important; }
.dark .bg-white\/60 { background-color: rgba(30,36,51,0.6) !important; }
.dark .text-gray-900 { color: #e2e8f0 !important; }
.dark .text-gray-800 { color: #cbd5e1 !important; }
.dark .text-gray-700 { color: #94a3b8 !important; }
.dark .text-gray-600 { color: #94a3b8 !important; }
.dark .text-gray-500 { color: #64748b !important; }
.dark .text-gray-400 { color: #475569 !important; }
.dark .text-gray-300 { color: #334155 !important; }
.dark .border-gray-200 { border-color: #2a3344 !important; }
.dark .border-gray-100 { border-color: #252d3d !important; }
.dark .border-gray-50 { border-color: #1e2433 !important; }
.dark .border-gray-300 { border-color: #334155 !important; }
.dark .hover\:bg-gray-50:hover { background-color: #1e2433 !important; }
.dark .hover\:bg-gray-100:hover { background-color: #252b3b !important; }
.dark .hover\:text-gray-900:hover { color: #f1f5f9 !important; }
.dark .hover\:text-gray-700:hover { color: #e2e8f0 !important; }
.dark .hover\:text-gray-600:hover { color: #cbd5e1 !important; }
.dark .bg-emerald-600 { background-color: #2563EB !important; }
.dark .hover\:bg-emerald-700:hover { background-color: #1D4ED8 !important; }
.dark .text-emerald-700 { color: #60A5FA !important; }
.dark .text-emerald-600 { color: #3B82F6 !important; }
.dark .border-emerald-200 { border-color: #1e3a5f !important; }
.dark input { background-color: var(--card) !important; color: var(--foreground) !important; }
.dark select { background-color: var(--card) !important; color: var(--foreground) !important; }
.dark textarea { background-color: var(--card) !important; color: var(--foreground) !important; }
.dark input::placeholder { color: #64748b !important; }

/* Smooth theme transition */
*, *::before, *::after {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.15s ease;
}
