@import "tailwindcss";

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

:root {
  --background: hsl(40 18% 97%);
  --foreground: hsl(0 0% 6%);
  
  --card: hsl(0 0% 100%);
  --card-foreground: hsl(0 0% 6%);
  
  --popover: hsl(0 0% 100%);
  --popover-foreground: hsl(0 0% 6%);
  
  --primary: hsl(0 69% 36%);
  --primary-foreground: hsl(40 18% 97%);
  
  --secondary: hsl(40 10% 92%);
  --secondary-foreground: hsl(0 0% 6%);
  
  --muted: hsl(40 10% 92%);
  --muted-foreground: hsl(0 0% 36%);
  
  --accent: hsl(40 10% 92%);
  --accent-foreground: hsl(0 0% 6%);
  
  --destructive: hsl(0 84% 60%);
  --destructive-foreground: hsl(40 18% 97%);
  
  --border: hsl(0 0% 6% / 0.08);
  --input: hsl(0 0% 6% / 0.08);
  --ring: hsl(0 69% 36%);
  --radius: 1.25rem;
}

@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);
}

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