@import 'tailwindcss';

@config '../tailwind.config.ts';

/*
  The default border color has changed to `currentcolor` in Tailwind CSS v4,
  so we've added these compatibility styles to make sure everything still
  looks the same as it did with Tailwind CSS v3.

  If we ever want to remove these styles, we need to add an explicit border
  color utility to any element that depends on these defaults.
*/
@layer base {
  *,
  ::after,
  ::before,
  ::backdrop,
  ::file-selector-button {
    border-color: var(--color-gray-200, currentcolor);
  }
}

@layer base {
  :root {
    --background: 210 30% 98%;
    --foreground: 215 25% 15%;

    --muted: 210 20% 92%;
    --muted-foreground: 215 15% 45%;

    --popover: 210 30% 98%;
    --popover-foreground: 215 25% 15%;

    --border: 215 15% 85%;
    --input: 215 15% 88%;

    --card: 0 0% 100%;
    --card-foreground: 215 25% 15%;

    --primary: 210 65% 25%;
    --primary-foreground: 210 30% 98%;

    --secondary: 210 20% 88%;
    --secondary-foreground: 215 25% 20%;

    --accent: 200 85% 55%;
    --accent-foreground: 210 30% 98%;

    --destructive: 0 85% 50%;
    --destructive-foreground: 210 30% 98%;

    --ring: 210 65% 50%;

    --radius: 0.5rem;
  }

  .dark {
    --background: 215 35% 8%;
    --foreground: 210 25% 90%;

    --muted: 215 25% 15%;
    --muted-foreground: 210 15% 60%;

    --accent: 200 75% 45%;
    --accent-foreground: 210 25% 95%;

    --popover: 215 35% 10%;
    --popover-foreground: 210 20% 85%;

    --border: 215 25% 20%;
    --input: 215 25% 18%;

    --card: 215 35% 6%;
    --card-foreground: 210 25% 88%;

    --primary: 210 80% 65%;
    --primary-foreground: 215 35% 8%;

    --secondary: 215 25% 18%;
    --secondary-foreground: 210 25% 85%;

    --destructive: 0 75% 55%;
    --destructive-foreground: 210 25% 95%;

    --ring: 210 75% 55%;

    --radius: 0.5rem;
  }
}

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