/* Custom styles for AI Telephony Hub */

.tab-btn.active {
  background-color: rgb(79 70 229) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.mob-tab-btn.active {
  color: #818cf8 !important;
}

.mob-tab-btn.active i {
  color: #818cf8 !important;
  transform: translateY(-2px);
}

.wave-bar {
  animation: wavePulse 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(2) { animation-delay: 0.15s; }
.wave-bar:nth-child(3) { animation-delay: 0.3s; }
.wave-bar:nth-child(4) { animation-delay: 0.45s; }
.wave-bar:nth-child(5) { animation-delay: 0.2s; }
.wave-bar:nth-child(6) { animation-delay: 0.35s; }
.wave-bar:nth-child(7) { animation-delay: 0.5s; }
.wave-bar:nth-child(8) { animation-delay: 0.25s; }

@keyframes wavePulse {
  0%, 100% {
    transform: scaleY(0.4);
    background-color: #374151;
  }
  50% {
    transform: scaleY(1.3);
    background-color: #6366f1;
  }
}

.speaking-agent .wave-bar {
  background-color: #6366f1 !important;
}

.speaking-caller .wave-bar {
  background-color: #10b981 !important;
}

/* Keypad button */
.keypad-btn {
  background-color: rgba(31, 41, 55, 0.7);
  border: 1px solid rgba(55, 65, 81, 0.8);
  border-radius: 0.75rem;
  padding: 0.6rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.keypad-btn:active {
  background-color: rgb(79, 70, 229);
  transform: scale(0.95);
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #0b0f19;
}

::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}

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

/* Mobile tap improvements */
button, select, input, textarea {
  touch-action: manipulation;
}
