/* Custom styles that go beyond Tailwind's utility classes (animations, scrollbar, nav state). */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.25);
}
.dark ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
}
.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-active {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(234, 179, 8, 0.06));
  color: #111827;
  box-shadow: inset 3px 0 0 0 #10b981;
}
.dark .nav-active {
  color: #fff;
}

.toast-enter {
  animation: toast-in 0.25s ease-out;
}
.toast-exit {
  animation: toast-out 0.25s ease-in forwards;
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes toast-out {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
}

/* Station card play overlay + hover lift already handled by Tailwind utilities in ui.js markup. */

input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 9999px;
}
.dark input[type='range'] {
  background: rgba(255, 255, 255, 0.15);
}
input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: #10b981;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
input[type='range']::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 9999px;
  background: #10b981;
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}
