/* Frontend Color Palette Integration */
:root {
    --radius: 0.65rem;
    --background: oklch(1 0 0);
    --foreground: oklch(0.141 0.005 285.823);
    --card: oklch(1 0 0);
    --card-foreground: oklch(0.141 0.005 285.823);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.141 0.005 285.823);
    --primary: oklch(0.6 0.22 137.28);
    --primary-foreground: oklch(0.985 0 0);
    --secondary: oklch(0.967 0.001 286.375);
    --secondary-foreground: oklch(0.21 0.006 285.885);
    --muted: oklch(0.967 0.001 286.375);
    --muted-foreground: oklch(0.552 0.016 285.938);
    --accent: oklch(0.967 0.001 286.375);
    --accent-foreground: oklch(0.21 0.006 285.885);
    --destructive: oklch(0.577 0.245 27.325);
    --border: oklch(0.92 0.004 286.32);
    --input: oklch(0.92 0.004 286.32);
    --ring: oklch(0.723 0.219 149.579);
    --success: oklch(0.77 0.138 148);
    --success-foreground: oklch(0.21 0.02 150);
    --info: oklch(0.66 0.17 247);
    --info-foreground: oklch(0.19 0.02 250);
    --warning: oklch(0.86 0.168 83);
    --warning-foreground: oklch(0.19 0.02 250);
}

/* Base styles using color variables */
body {
    background-color: var(--background);
    color: var(--foreground);
}

/* Dark theme overrides (aligned with frontend) */
.dark {
    --background: oklch(0.141 0.005 285.823);
    --foreground: oklch(0.985 0 0);
    --card: oklch(0.21 0.006 285.885);
    --card-foreground: oklch(0.985 0 0);
    --popover: oklch(0.21 0.006 285.885);
    --popover-foreground: oklch(0.985 0 0);
    --primary: oklch(53.306% 0.14854 149.264);
    --primary-foreground: oklch(0.985 0 0);
    --secondary: oklch(0.274 0.006 286.033);
    --secondary-foreground: oklch(0.985 0 0);
    --muted: oklch(0.274 0.006 286.033);
    --muted-foreground: oklch(0.705 0.015 286.067);
    --accent: oklch(0.274 0.006 286.033);
    --accent-foreground: oklch(0.985 0 0);
    --destructive: oklch(0.704 0.191 22.216);
    --border: oklch(1 0 0 / 10%);
    --input: oklch(1 0 0 / 15%);
    --ring: oklch(0.527 0.154 150.069);
    --success: oklch(0.63 0.15 150);
    --success-foreground: oklch(0.985 0 0);
    --info: oklch(0.63 0.18 247);
    --info-foreground: oklch(0.985 0 0);
    --warning: oklch(0.73 0.17 83);
    --warning-foreground: oklch(0.985 0 0);
}