@tailwind components;
@tailwind utilities;
@tailwind base;

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground;
  }

  a {
    @apply text-primary;
  }

  :root:not(.dark) {
    --background: 217 20% 96%;
    --foreground: 213 5% 8%;
    --card: 220 40% 100%;
    --card-foreground: 213deg 26% 7%;
    --popover: var(--card);
    --popover-foreground: var(--card-foreground);
    --primary: 220 58% 47%;
    --primary-foreground: 220 40% 98%;
    --secondary: 220 42% 94%;
    --secondary-foreground: 210 40% 2%;
    --muted: 220 40% 96%;
    --muted-foreground: 220 8% 44%;
    --accent: 220 40% 94%;
    --accent-foreground: 222 47% 11%;
    --destructive: 0 57% 43%;
    --destructive-foreground: 210 40% 98%;
    --border: 220 40% 90%;
    --input: var(--border);
    --ring: var(--primary);
    --radius: 0.5rem;
    --cover: 220 80% 67%;
    --cover-foreground: 210 40% 98%;

    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
  }

  .dark {
    --background: 220 11% 6%;
    --foreground: 0 0% 98%;
    --card: 225 15% 9%;
    --card-foreground: 0 0% 98%;
    --popover: var(--card);
    --popover-foreground: var(--card-foreground);
    --primary: 220 83% 60%;
    --primary-foreground: 220 40% 98%;
    --secondary: 216 10% 18%;
    --secondary-foreground: 0 0% 98%;
    --muted: 225 15% 12%;
    --muted-foreground: 216 0% 68%;
    --accent: 225 15% 14%;
    --accent-foreground: 0 0% 98%;
    --destructive: 359 78% 55%;
    --destructive-foreground: 210 40% 98%;
    --border: 228 10% 16%;
    --input: var(--border);
    --ring: var(--primary);
    --radius: 0.5rem;
    --cover: 216 64% 39%;
    --cover-foreground: 210 40% 98%;

    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
  }
}

@layer components {
  .underline-strike-through {
    text-decoration: underline line-through;
  }

  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }
}
