.control-btn {
  pointer-events: auto;
  background: #ec4899;
  border: none;
  color: white;
  padding: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-btn:hover {
  background: #db2777;
}

.control-btn.active {
  background: #ec4899;
}

.control-btn.active:hover {
  background: #db2777;
}

.control-btn .icon {
  width: 24px;
  height: 24px;
}

.mic-btn {
  background: #ec4899 !important;
  padding: 12px !important;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mic-btn:hover {
  background: #db2777 !important;
}

.mic-btn .icon {
  width: 20px;
  height: 20px;
}

.mic-btn.recording {
  background: #ef4444 !important;
  color: white;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.mic-btn.processing {
  background: #fbbf24 !important;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.1);
  }
}

.waveform-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 44px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
}

.waveform-bar {
  width: 4px;
  min-height: 8px;
  max-height: 32px;
  background: linear-gradient(180deg, #ec4899 0%, #db2777 100%);
  border-radius: 2px;
  transition: height 0.1s ease;
}

.waveform-bar:nth-child(2) {
  animation-delay: 0.1s;
}

.waveform-bar:nth-child(3) {
  animation-delay: 0.2s;
}

.waveform-bar:nth-child(4) {
  animation-delay: 0.3s;
}

.waveform-bar:nth-child(5) {
  animation-delay: 0.4s;
}

.waveform-bar:nth-child(6) {
  animation-delay: 0.5s;
}

.waveform-bar:nth-child(7) {
  animation-delay: 0.6s;
}

.waveform-bar:nth-child(8) {
  animation-delay: 0.7s;
}

.live-btn {
  background: #8b5cf6 !important;
  padding: 12px !important;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.live-btn:hover {
  background: #7c3aed !important;
}

.live-btn .icon {
  width: 20px;
  height: 20px;
}

.live-btn.active {
  background: #ef4444 !important;
  animation: livePulse 1s ease-in-out infinite;
}

@keyframes livePulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}

.generate-report-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  margin: 0 16px 12px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: auto;
  z-index: 3;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.generate-report-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.6);
}

.generate-report-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.generate-report-btn .icon {
  width: 18px;
  height: 18px;
}

.generate-report-btn .spinning {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 16px;
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #999;
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {

  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}
