/* Custom styles for Queue Mystery */

/* Glassmorphism effects */
.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}

/* Toggle switch styling */
.toggle-checkbox:checked {
  right: 0;
  border-color: #8B5CF6;
}
.toggle-checkbox:checked + .toggle-label {
  background-color: #8B5CF6;
}

/* Animated rating stars */
.rating:hover .star:hover ~ .star:not(.active),
.rating:hover .star:hover,
.rating .star.active {
  transform: scale(1.2);
  color: #FBBF24;
}

.rating .star {
  transition: all 0.2s ease;
}

/* Custom audio visualizer animation */
.animate-pulse-slow {
  animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    height: 40%;
  }
  50% {
    opacity: 0.7;
    height: 80%;
  }
}

/* Toggle switch */
input:checked ~ .dot {
  transform: translateX(100%);
  background-color: #8B5CF6;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.5);
}

::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.5);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.8);
}