@import "tailwindcss";
@import "tw-animate-css";

@custom-variant dark (&:is(.dark *));

:root {
  --background: oklch(1 0 0); /* Pure white */
  --foreground: oklch(0.35 0 0); /* Dark gray for text */
  --card: oklch(0.97 0 0); /* Light gray card background */
  --card-foreground: oklch(0.35 0 0); /* Dark gray card text */
  --popover: oklch(1 0 0); /* White popover */
  --popover-foreground: oklch(0.35 0 0); /* Dark gray popover text */
  --primary: oklch(0.55 0.15 160); /* Emerald primary */
  --primary-foreground: oklch(1 0 0); /* White text on primary */
  --secondary: oklch(0.97 0 0); /* Light gray secondary */
  --secondary-foreground: oklch(0.35 0 0); /* Dark gray secondary text */
  --muted: oklch(0.97 0 0); /* Light gray muted */
  --muted-foreground: oklch(0.5 0 0); /* Medium gray muted text */
  --accent: oklch(0.65 0.15 160); /* Bright emerald accent */
  --accent-foreground: oklch(1 0 0); /* White text on accent */
  --destructive: oklch(0.55 0.25 15); /* Red destructive */
  --destructive-foreground: oklch(1 0 0); /* White text on destructive */
  --border: oklch(0.85 0 0); /* Light border */
  --input: oklch(1 0 0); /* White input background */
  --ring: oklch(0.55 0.15 160 / 0.3); /* Emerald focus ring */
  --chart-1: oklch(0.55 0.15 160); /* Emerald chart color */
  --chart-2: oklch(0.65 0.15 160); /* Bright emerald chart color */
  --chart-3: oklch(0.65 0.25 330); /* Pink chart color */
  --chart-4: oklch(0.65 0.25 30); /* Orange chart color */
  --chart-5: oklch(0.55 0.25 15); /* Red chart color */
  --radius: 0.5rem;
  --sidebar: oklch(0.97 0 0); /* Light gray sidebar */
  --sidebar-foreground: oklch(0.35 0 0); /* Dark gray sidebar text */
  --sidebar-primary: oklch(0.55 0.15 160); /* Emerald sidebar primary */
  --sidebar-primary-foreground: oklch(1 0 0); /* White sidebar primary text */
  --sidebar-accent: oklch(0.65 0.15 160); /* Bright emerald sidebar accent */
  --sidebar-accent-foreground: oklch(1 0 0); /* White sidebar accent text */
  --sidebar-border: oklch(0.85 0 0); /* Light sidebar border */
  --sidebar-ring: oklch(0.55 0.15 160 / 0.3); /* Emerald sidebar focus ring */
}

.dark {
  --background: oklch(0.08 0 0); /* Very dark background */
  --foreground: oklch(0.95 0 0); /* Light text */
  --card: oklch(0.12 0 0); /* Dark card background */
  --card-foreground: oklch(0.95 0 0); /* Light card text */
  --popover: oklch(0.12 0 0); /* Dark popover */
  --popover-foreground: oklch(0.95 0 0); /* Light popover text */
  --primary: oklch(0.65 0.15 160); /* Bright emerald primary */
  --primary-foreground: oklch(0.08 0 0); /* Dark text on primary */
  --secondary: oklch(0.15 0 0); /* Dark secondary */
  --secondary-foreground: oklch(0.95 0 0); /* Light secondary text */
  --muted: oklch(0.15 0 0); /* Dark muted */
  --muted-foreground: oklch(0.7 0 0); /* Medium light muted text */
  --accent: oklch(0.7 0.15 160); /* Very bright emerald accent */
  --accent-foreground: oklch(0.08 0 0); /* Dark text on accent */
  --destructive: oklch(0.6 0.25 15); /* Bright red destructive */
  --destructive-foreground: oklch(0.95 0 0); /* Light text on destructive */
  --border: oklch(0.2 0 0); /* Dark border */
  --input: oklch(0.12 0 0); /* Dark input background */
  --ring: oklch(0.65 0.15 160 / 0.3); /* Bright emerald focus ring */
  --chart-1: oklch(0.65 0.15 160); /* Bright emerald chart */
  --chart-2: oklch(0.7 0.15 160); /* Very bright emerald chart */
  --chart-3: oklch(0.7 0.25 330); /* Bright pink chart */
  --chart-4: oklch(0.7 0.25 30); /* Bright orange chart */
  --chart-5: oklch(0.6 0.25 15); /* Bright red chart */
  --sidebar: oklch(0.1 0 0); /* Very dark sidebar */
  --sidebar-foreground: oklch(0.95 0 0); /* Light sidebar text */
  --sidebar-primary: oklch(0.65 0.15 160); /* Bright emerald sidebar primary */
  --sidebar-primary-foreground: oklch(0.08 0 0); /* Dark sidebar primary text */
  --sidebar-accent: oklch(0.7 0.15 160); /* Very bright emerald sidebar accent */
  --sidebar-accent-foreground: oklch(0.08 0 0); /* Dark sidebar accent text */
  --sidebar-border: oklch(0.2 0 0); /* Dark sidebar border */
  --sidebar-ring: oklch(0.65 0.15 160 / 0.3); /* Bright emerald sidebar focus ring */
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
  }
}
