/* ============================================================
   AI PERSONAL VOICE ASSISTANT (KHUSHI & SONU) STYLES
   ============================================================ */

.chat-mode-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface2);
  padding: 6px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.chat-persona-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  outline: none;
}

.chat-voice-action-box {
  background: linear-gradient(135deg, rgba(45,107,228,0.08), rgba(16,185,129,0.06));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.chat-voice-btn {
  width: 100%;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.chat-voice-btn.listening {
  background: var(--red);
  animation: pulseMic 1.2s infinite;
}

@keyframes pulseMic {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.chat-voice-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
}

.chat-wave-bar {
  width: 3px;
  height: 100%;
  background: #10B981;
  border-radius: 2px;
  animation: waveAnim 0.8s ease-in-out infinite alternate;
}

.chat-wave-bar:nth-child(2) { animation-delay: 0.15s; }
.chat-wave-bar:nth-child(3) { animation-delay: 0.3s; }
.chat-wave-bar:nth-child(4) { animation-delay: 0.45s; }
.chat-wave-bar:nth-child(5) { animation-delay: 0.6s; }

@keyframes waveAnim {
  0% { height: 4px; }
  100% { height: 18px; }
}

.chat-equalizer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--accent);
  font-weight: 600;
  margin-top: 4px;
}

/* NATIVE CALL VIEW & VISUALIZER STYLES */
.assistant-call-card {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin-top: 10px;
  box-shadow: var(--shadow);
}

.assistant-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 20px rgba(45, 107, 228, 0.3);
}

.assistant-avatar.active-call {
  animation: callGlow 1.8s infinite alternate;
}

@keyframes callGlow {
  0% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); transform: scale(1); }
  100% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.8); transform: scale(1.05); }
}

.assistant-call-timer {
  font-size: 22px;
  font-weight: 700;
  font-family: monospace;
  color: var(--accent);
  letter-spacing: 1px;
}

.visualizer-orb {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0%, rgba(16,185,129,0.3) 70%, transparent 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px 0;
  transition: all 0.3s ease;
}

.visualizer-orb.speaking {
  animation: orbPulse 0.8s infinite alternate;
}

.visualizer-orb.listening {
  animation: orbListen 1.2s infinite alternate;
}

@keyframes orbPulse {
  0% { transform: scale(0.85); opacity: 0.7; background: radial-gradient(circle, #10B981 0%, rgba(16,185,129,0.4) 70%, transparent 100%); }
  100% { transform: scale(1.2); opacity: 1; background: radial-gradient(circle, #2D6BE4 0%, rgba(45,107,228,0.5) 70%, transparent 100%); }
}

@keyframes orbListen {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.08); opacity: 1; }
}

.soundscape-pill-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}

.soundscape-pill {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  cursor: pointer;
  transition: all 0.2s ease;
}

.soundscape-pill.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
