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

@layer base {
  :root {
    --background: 194 92% 94%;
    --foreground: 210 20% 20%;
    --card: 0 0% 100%;
    --card-foreground: 210 20% 20%;
    --popover: 0 0% 100%;
    --popover-foreground: 210 20% 20%;
    --primary: 207 90% 61%;
    --primary-foreground: 0 0% 100%;
    --secondary: 194 50% 90%;
    --secondary-foreground: 210 20% 20%;
    --muted: 194 50% 90%;
    --muted-foreground: 210 20% 45%;
    --accent: 207 79% 44%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 207 90% 80%;
    --input: 207 90% 80%;
    --ring: 207 90% 61%;
    --radius: 0.75rem;
    --chart-1: 207 90% 61%;
    --chart-2: 340 82% 56%;
    --chart-3: 162 73% 46%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
  }

  .dark {
    --background: 210 20% 10%;
    --foreground: 194 92% 94%;
    --card: 210 20% 12%;
    --card-foreground: 194 92% 94%;
    --popover: 210 20% 10%;
    --popover-foreground: 194 92% 94%;
    --primary: 207 90% 61%;
    --primary-foreground: 210 20% 10%;
    --secondary: 210 20% 15%;
    --secondary-foreground: 194 92% 94%;
    --muted: 210 20% 15%;
    --muted-foreground: 194 92% 70%;
    --accent: 207 79% 54%;
    --accent-foreground: 210 20% 10%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 210 20% 25%;
    --input: 210 20% 25%;
    --ring: 207 90% 61%;
    --radius: 0.75rem;
    --chart-1: 207 90% 61%;
    --chart-2: 340 82% 56%;
    --chart-3: 162 73% 46%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

@layer utilities {
  @keyframes value-change {
    0% {
      background-color: hsl(var(--primary) / 0.15);
      transform: scale(1.05);
    }
    100% {
      background-color: transparent;
      transform: scale(1);
    }
  }
  .animate-value-change {
    animation: value-change 0.5s ease-out;
  }
}
