@layer base {
  :root {
    --background: 232 21% 7%;
    --foreground: 222.2 84% 4.9%;
    --card: 232 21% 7%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 232 21% 7%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 79 100% 52%;
    --primary-foreground: 210 40% 98%;
    --secondary: 230 18% 7%;
    --secondary-foreground: 222.2 84% 4.9%;
    --muted: 233 25% 13%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 233 25% 13%;
    --accent-foreground: 222.2 84% 4.9%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;
    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 79 100% 52%;
    --radius: 0.5rem;
    --gray: 0 0% 60%;
  }
  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 217.2 91.2% 59.8%;
    --primary-foreground: 222.2 84% 4.9%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 224.3 76.3% 94.1%;
    --gray: 0 0% 60%;
  }
}
* {
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--muted));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--border));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--muted-foreground));
}

.scrollbar-hide {
  -ms-overflow-style: none; /* Internet Explorer 10+ */
  scrollbar-width: none; /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.container {
  max-width: 1920px;
}

.btn {
  @apply inline-flex items-center justify-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-offset-2 transition-colors duration-200;
}
.btn--primary {
  @apply text-primary-foreground bg-primary hover:bg-primary/90 focus:ring-primary;
}
.btn--secondary {
  @apply text-secondary-foreground bg-secondary hover:bg-secondary/80 focus:ring-primary;
}
.btn--danger {
  @apply text-destructive-foreground bg-destructive hover:bg-destructive/90 focus:ring-destructive;
}
.btn--disabled {
  @apply opacity-50 cursor-not-allowed;
}

.form-input {
  @apply block w-full px-3 py-2 border border-input rounded-md shadow-sm placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:border-ring;
}

.form-label {
  @apply block text-sm font-medium text-foreground mb-1;
}

.card {
  @apply bg-card text-card-foreground rounded-lg shadow-md border border-border p-6;
}

.bg-linear-gray-00 {
  background: linear-gradient(180deg, #181a28 0%, #353956 100%);
}

.hamburger-toggle {
  @apply [&>div]:h-0 [&>div]:bg-transparent [&>div]:before:translate-y-0 [&>div]:before:rotate-45 [&>div]:after:translate-y-0 [&>div]:after:-rotate-45;
}
