/* Recording Modal Styles */
.recording-state {
  padding: 20px;
}

.recording-animation {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.recording-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid rgba(10, 88, 202, 0.3);
  border-radius: 50%;
  animation: recording-wave 1.5s infinite;
}

.recording-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: #dc3545;
  animation: recording-pulse 1.5s infinite alternate;
}

@keyframes recording-wave {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes recording-pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
  }
  100% {
    transform: translate(-50%, -50%) scale(1.1);
  }
}

.transcription-result {
  text-align: left;
  max-height: 150px;
  overflow-y: auto;
  word-break: break-word;
}

/* Recording button styles */
#microphoneBtn.recording,
#recordAudioButton.recording {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
  animation: recording-pulse-button 1.5s infinite alternate;
}

@keyframes recording-pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .recording-animation {
    width: 100px;
    height: 100px;
  }
  
  .recording-icon {
    font-size: 2.5rem;
  }
}