/* ==========================================================================
   Voice Channel Connected Status Bar (Ported from VoiceStatusBarView.swift)
   ========================================================================== */

.voice-status-bar {
  height: 52px;
  background-color: var(--bg-user-bar);
  border-top: 1px solid var(--bg-divider);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  animation: slideUp 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 3;
}

.voice-status-bar.hidden {
  display: none;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Voice Live Icon & Sound Waves */
.voice-live-indicator {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(35, 165, 90, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
  position: relative;
}

.voice-live-indicator::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--brand-green);
  opacity: 0.5;
  animation: voicePulse 1.8s infinite;
}

@keyframes voicePulse {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.1; }
  100% { transform: scale(1); opacity: 0.6; }
}

.voice-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.voice-connected-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-green);
}

.voice-channel-name {
  font-size: 12px;
  color: var(--text-muted);
}

.voice-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.voice-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-card);
  color: var(--interactive-normal);
  transition: all 0.15s ease;
}

.voice-btn:hover {
  color: var(--interactive-hover);
  background-color: var(--bg-hover-channel);
}

.voice-btn.active-muted {
  background-color: rgba(242, 63, 67, 0.15);
  color: var(--brand-red);
}

.voice-btn.disconnect-btn {
  background-color: var(--brand-red);
  color: #ffffff;
}

.voice-btn.disconnect-btn:hover {
  background-color: #da373b;
}
