/* HOSPITAL THEME - Main color: #2e37a4 */
@layer z-theme {
  :root[z-theme='hospital'] {
    --radius: 0.65rem;
    --background: oklch(1 0 0);
    --foreground: oklch(0.2 0.05 264);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.2 0.05 264);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.2 0.05 264);
    /* Primary: #2e37a4 converted to oklch */
    --primary: oklch(0.35 0.18 264);
    --primary-foreground: oklch(0.98 0 0);
    /* Secondary: darker blue-tinted surfaces for better visibility */
    --secondary: oklch(0.93 0.035 264);
    --secondary-foreground: oklch(0.2 0.1 264);
    --muted: oklch(0.945 0.018 264);
    --muted-foreground: oklch(0.42 0.045 264);
    --accent: oklch(0.93 0.035 264);
    --accent-foreground: oklch(0.2 0.1 264);
    --destructive: oklch(0.577 0.245 27.325);
    --destructive-foreground: oklch(0.985 0 0);
    --border: oklch(0.86 0.04 264);
    --input: oklch(0.88 0.035 264);
    --input-autofill: oklch(1 0 0);
    --ring: oklch(0.45 0.15 264);
    /* Chart colors - hospital blue palette */
    --chart-1: oklch(0.75 0.12 264);
    --chart-2: oklch(0.55 0.16 264);
    --chart-3: oklch(0.35 0.18 264);
    --chart-4: oklch(0.3 0.15 264);
    --chart-5: oklch(0.25 0.12 264);
    /* Sidebar - uses primary color */
    --sidebar: oklch(0.35 0.18 264);
    --sidebar-foreground: oklch(0.98 0 0);
    /* Active state: white background with primary text */
    --sidebar-primary: oklch(1 0 0);
    --sidebar-primary-foreground: oklch(0.35 0.18 264);
    /* Hover state: semi-transparent white */
    --sidebar-accent: oklch(1 0 0 / 20%);
    --sidebar-accent-foreground: oklch(0.98 0 0);
    --sidebar-border: oklch(0.4 0.16 264);
    --sidebar-ring: oklch(0.55 0.18 264);
    --shadow-card: 0 0 5px 0 rgba(0, 0, 0, 0.1), 0 0 1px 0 rgba(0, 0, 0, 0.1);
    --shadow-card-md: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-card-lg: 0 4px 8px -2px rgba(9, 30, 66, 0.25), 0 0 0 1px rgba(9, 30, 66, 0.08);
    --shadow-card-soft: 0 0 0.25em rgba(67, 71, 85, 0.27), 0 0.25em 1em rgba(90, 125, 188, 0.05);
  }

  :root[z-theme='hospital'].dark {
    --background: oklch(0.15 0.03 264);
    --foreground: oklch(0.98 0 0);
    --card: oklch(0.2 0.04 264);
    --card-foreground: oklch(0.98 0 0);
    --popover: oklch(0.2 0.04 264);
    --popover-foreground: oklch(0.98 0 0);
    --primary: oklch(0.5 0.2 264);
    --primary-foreground: oklch(0.98 0 0);
    --secondary: oklch(0.25 0.05 264);
    --secondary-foreground: oklch(0.98 0 0);
    --muted: oklch(0.25 0.05 264);
    --muted-foreground: oklch(0.7 0.04 264);
    --accent: oklch(0.25 0.05 264);
    --accent-foreground: oklch(0.98 0 0);
    --destructive: oklch(0.704 0.191 22.216);
    --destructive-foreground: oklch(0.985 0 0);
    --border: oklch(1 0 0 / 10%);
    --input: oklch(1 0 0 / 15%);
    --input-autofill: oklch(0.19 0 0);
    --ring: oklch(0.45 0.18 264);
    --chart-1: oklch(0.75 0.12 264);
    --chart-2: oklch(0.55 0.16 264);
    --chart-3: oklch(0.4 0.18 264);
    --chart-4: oklch(0.35 0.15 264);
    --chart-5: oklch(0.3 0.12 264);
    --sidebar: oklch(0.25 0.1 264);
    --sidebar-foreground: oklch(0.98 0 0);
    --sidebar-primary: oklch(0.5 0.2 264);
    --sidebar-primary-foreground: oklch(0.98 0 0);
    --sidebar-accent: oklch(0.3 0.08 264);
    --sidebar-accent-foreground: oklch(0.98 0 0);
    --sidebar-border: oklch(1 0 0 / 10%);
    --sidebar-ring: oklch(0.45 0.18 264);
    --shadow-card: 0 0 5px 0 rgba(0, 0, 0, 0.3), 0 0 1px 0 rgba(0, 0, 0, 0.2);
    --shadow-card-md: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-card-lg: 0 4px 8px -2px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
    --shadow-card-soft: 0 0 0.25em rgba(0, 0, 0, 0.4), 0 0.25em 1em rgba(0, 0, 0, 0.15);
  }
}
