.input-field {
  @apply w-full h-11 rounded-xl border border-slate-200 px-3 text-sm
         focus:ring-4 focus:ring-blue-200 focus:border-blue-500 outline-none;
}

.btn-primary {
  @apply bg-primary text-white py-3 rounded-xl font-semibold hover:bg-blue-800
         transition-all shadow-sm;
}

/* Toast Animations */
@keyframes slideInRight {
  0% { transform: translateX(100%); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  0% { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

/* Toast Styling */
.toast {
  @apply flex items-center justify-between min-w-[260px] max-w-[340px]
         px-4 py-3 rounded-xl shadow-lg text-white text-sm font-medium
         backdrop-blur-md bg-opacity-90 transition-all duration-300;
  animation: slideInRight 0.5s ease forwards;
}
.toast.success { background-color: rgba(16, 185, 129, 0.95); }  /* emerald-500 */
.toast.error { background-color: rgba(239, 68, 68, 0.95); }    /* red-500 */
.toast.info { background-color: rgba(37, 99, 235, 0.95); }     /* blue-600 */
.toast.fadeOut { animation: fadeOut 0.6s ease forwards; }

#sidebar {
    will-change: transform;
  }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 0.6s ease-out;
}

@keyframes ping {
  0% { transform: scale(1); opacity: 1; }
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping {
  animation: ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.fa-solid {
  transition: transform 0.2s ease, color 0.2s ease;
}
.fa-solid:hover {
  transform: scale(1.2);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slow Spin */
@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.animate-spin-slow {
  animation: spin-slow 3s linear infinite;
}

/* Soft Bounce */
@keyframes soft-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.animate-soft-bounce {
  animation: soft-bounce 2.5s ease-in-out infinite;
}

/* Pulse Slow */
@keyframes pulse-slow {
  0% { opacity: .7; }
  50% { opacity: 1; }
  100% { opacity: .7; }
}
.animate-pulse-slow {
  animation: pulse-slow 2.4s ease-in-out infinite;
}

/* Orbiting particles */
@keyframes orbit {
  0% { transform: rotate(0deg) translateX(30px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(30px) rotate(-360deg); }
}
.animate-orbit {
  animation: orbit 2.8s linear infinite;
}

@keyframes orbit2 {
  0% { transform: rotate(0deg) translateX(40px) rotate(0deg); }
  100% { transform: rotate(-360deg) translateX(40px) rotate(360deg); }
}
.animate-orbit2 {
  animation: orbit2 3.6s linear infinite;
}

@keyframes orbit3 {
  0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
  100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}
.animate-orbit3 {
  animation: orbit3 4.2s linear infinite;
}

/* Shimmer bar */
@keyframes loaderbar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}
.animate-loaderbar {
  animation: loaderbar 1.4s ease-in-out infinite;
}

/* Fade-In */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fadeIn {
  animation: fadeIn 1.2s ease forwards;
}

.optionItem {
    cursor: pointer;
}

.optionItem.selected {
    border-color: #2563eb !important; /* blue-600 */
    background-color: #eff6ff !important; /* blue-50 */
}

.optionItem.selected .outer-circle {
    border-color: #2563eb !important;
}

.optionItem.selected .inner-circle {
    transform: scale(1);
}

.outer-circle {
    transition: all .25s ease;
}

.inner-circle {
    transform: scale(0);
    transition: all .25s ease;
}

 input[type="text"],
        input[type="email"],
        input[type="number"],
        input[type="password"],
        textarea {
          font-size: 16px;
        }

/* Gold glow animation for the FIRST buzzer */
.winner-glow {
    background: linear-gradient(to right, #fff7d6, #ffefb0);
    border-left: 6px solid #fbbf24; /* Amber-400 */
    animation: winnerPulse 1.6s ease-in-out infinite;
}

@keyframes winnerPulse {
    0%   { box-shadow: 0 0 0px rgba(251,191,36,0.2); }
    50%  { box-shadow: 0 0 18px rgba(251,191,36,0.55); }
    100% { box-shadow: 0 0 0px rgba(251,191,36,0.2); }
}

.active-filter {
    background: #2563eb !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.38) !important;
}