/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.8);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(100, 116, 139, 1);
}

/* Pulse Glow Effect for Questions */
@keyframes questionGlow {
  0%, 100% {
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25), inset 0 0 10px rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.7);
  }
  50% {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.45), inset 0 0 15px rgba(245, 158, 11, 0.2);
    border-color: rgba(251, 191, 36, 1);
  }
}

.question-detected-card {
  animation: questionGlow 2s infinite ease-in-out;
}

/* Card Entry Animation */
@keyframes fadeInSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-entry {
  animation: fadeInSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Audio wave bars */
.wave-bar {
  display: inline-block;
  width: 3px;
  background-color: #38bdf8;
  border-radius: 2px;
  margin: 0 1px;
  animation: soundBars 1.2s ease-in-out infinite;
}

@keyframes soundBars {
  0%, 100% {
    height: 4px;
  }
  50% {
    height: 18px;
  }
}
