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

@layer base {
  /* Dark theme - your original colors */
  .dark {
    --background: 204 50% 8%;
    --foreground: 204 5% 90%;
    --card: 204 50% 8%;
    --card-foreground: 204 5% 90%;
    --popover: 204 50% 5%;
    --popover-foreground: 204 5% 90%;
    --primary: 204 100% 31%;
    --primary-foreground: 0 0% 100%;
    --secondary: 204 30% 10%;
    --secondary-foreground: 0 0% 100%;
    --muted: 166 30% 15%;
    --muted-foreground: 204 5% 60%;
    --accent: 166 30% 15%;
    --accent-foreground: 204 5% 90%;
    --destructive: 0 100% 30%;
    --destructive-foreground: 204 5% 90%;
    --border: 204 30% 18%;
    --input: 204 30% 18%;
    --ring: 204 100% 31%;
    --radius: 0.5rem;
  }

  /* Light theme */
  .light {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 204 100% 31%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --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: 204 100% 31%;
    --radius: 0.5rem;
  }
}

@layer base {
  * {
    @apply border-border;
    scrollbar-width: thin;
    scrollbar-color: #888 #1e1e1e;
    scroll-behavior: smooth;
  }
  body {
    @apply bg-background text-foreground;
    scrollbar-face-color: #888;
    scrollbar-track-color: #1e1e1e;
    scrollbar-arrow-color: #888;
    scrollbar-shadow-color: #1e1e1e;
    max-height: 100dvh;
    overflow: hidden;
  }
}

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

::-webkit-scrollbar-track {
  background: #1e1e1e;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.float_debouncer {
  position: absolute;
  left: 0rem;
  z-index: 1000;
}