#audio-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--gradient-accent);
  border-radius: var(--border-radius);
  padding: 14px 16px;
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(10px);
  gap: 8px;
}

#audio-controls button {
  padding: 12px;
  background: rgba(0, 0, 0, 0.245);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

#audio-controls button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

#audio-controls button:active {
  transform: scale(0.95);
}

#audio-controls button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

#audio-controls button.active {
  background: rgba(76, 175, 80, 0.5);
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
}

#audio-controls button.active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  animation: pulseActive 2s infinite;
}

#audio-controls button img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  position: relative;
  z-index: 1;
}

/* Call button specific styles */
#call-btn {
  background: rgba(76, 175, 80, 0.6);
}

#call-btn:hover {
  background: rgba(76, 175, 80, 0.8);
}

#call-btn.in-call {
  background: rgba(244, 67, 54, 0.6);
}

#call-btn.in-call:hover {
  background: rgba(244, 67, 54, 0.8);
}

/* Call status indicator */
.call-status {
  position: absolute;
  bottom: 90px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 14px 18px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.call-status.visible {
  opacity: 1;
  transform: translateY(0);
}

.call-status-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-size: 14px;
  font-weight: 500;
}

.call-indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.call-indicator.active {
  background: #4CAF50;
  box-shadow: 0 0 12px rgba(76, 175, 80, 0.6);
  animation: pulseGreen 1.5s infinite;
}

.call-indicator.waiting {
  background: #FFC107;
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.6);
  animation: pulseYellow 1.5s infinite;
}

.call-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Audio playback prompt */
.audio-prompt-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.audio-prompt-content p {
  margin: 0;
  font-weight: 500;
}

.audio-prompt-content button {
  background: white;
  color: #667eea;
  border: none;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.audio-prompt-content button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes pulseActive {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.5);
  }
}

@keyframes pulseGreen {

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

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

@keyframes pulseYellow {

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

  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }

  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 480px) {
  #audio-controls {
    padding: 10px 12px;
    bottom: 15px;
    left: 15px;
    right: 15px;
  }

  #audio-controls button {
    width: 44px;
    height: 44px;
    padding: 10px;
  }

  #audio-controls button img {
    width: 22px;
    height: 22px;
  }

  .call-status {
    bottom: 80px;
    left: 15px;
    right: 15px;
    padding: 10px 14px;
  }

  .call-status-content {
    font-size: 12px;
    gap: 8px;
  }

  .call-indicator {
    width: 10px;
    height: 10px;
  }
}