@import "tailwindcss";

@theme {
  --color-border: hsl(var(--border));
  --color-input: hsl(var(--input));
  --color-ring: hsl(var(--ring));
  --color-background: hsl(var(--background));
  --color-foreground: hsl(var(--foreground));

  --color-primary: hsl(var(--primary));
  --color-primary-foreground: hsl(var(--primary-foreground));

  --color-secondary: hsl(var(--secondary));
  --color-secondary-foreground: hsl(var(--secondary-foreground));

  --color-destructive: hsl(var(--destructive));
  --color-destructive-foreground: hsl(var(--destructive-foreground));

  --color-muted: hsl(var(--muted));
  --color-muted-foreground: hsl(var(--muted-foreground));

  --color-accent: hsl(var(--accent));
  --color-accent-foreground: hsl(var(--accent-foreground));

  --color-popover: hsl(var(--popover));
  --color-popover-foreground: hsl(var(--popover-foreground));

  --color-card: hsl(var(--card));
  --color-card-foreground: hsl(var(--card-foreground));

  --radius-lg: var(--radius);
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);
}

@layer base {
  /* Yellow Theme - Light Mode */
  :root {
    --background: 60 9% 98%;
    --foreground: 20 14% 4%;
    --card: 60 9% 98%;
    --card-foreground: 20 14% 4%;
    --popover: 60 9% 98%;
    --popover-foreground: 20 14% 4%;
    --primary: 47 96% 53%;
    --primary-foreground: 26 83% 14%;
    --secondary: 60 5% 90%;
    --secondary-foreground: 24 10% 10%;
    --muted: 60 5% 90%;
    --muted-foreground: 25 5% 45%;
    --accent: 60 5% 90%;
    --accent-foreground: 24 10% 10%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    --border: 20 6% 90%;
    --input: 20 6% 90%;
    --ring: 47 96% 53%;
    --radius: 0.625rem;
  }

  /* Yellow Theme - Dark Mode */
  .dark {
    --background: 20 14% 4%;
    --foreground: 60 9% 98%;
    --card: 24 10% 8%;
    --card-foreground: 60 9% 98%;
    --popover: 24 10% 8%;
    --popover-foreground: 60 9% 98%;
    --primary: 47 96% 53%;
    --primary-foreground: 26 83% 14%;
    --secondary: 24 10% 14%;
    --secondary-foreground: 60 9% 98%;
    --muted: 24 10% 14%;
    --muted-foreground: 25 5% 55%;
    --accent: 24 10% 14%;
    --accent-foreground: 60 9% 98%;
    --destructive: 0 62% 30%;
    --destructive-foreground: 60 9% 98%;
    --border: 24 10% 14%;
    --input: 24 10% 14%;
    --ring: 47 96% 53%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
    font-feature-settings: "rlig" 1, "calt" 1;
  }
}
