/* ==========================================================================
   AUDITSHIELD AI - VOICE HOTLINE & AUDIO SIMULATOR STYLING
   ========================================================================== */

.hotline-main-container {
  max-width: 1280px;
  margin: 28px auto 80px;
  padding: 0 24px;
}

.hotline-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hotline-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.hotline-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 760px;
  margin-top: 4px;
}

.hotline-badges-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hotline-pill {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  backdrop-filter: blur(20px);
}

/* Scenario Selector */
.scenario-selector-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  backdrop-filter: blur(20px);
}

.scenario-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
}

.scenario-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.scenario-btn:hover {
  background: var(--bg-surface-hover);
  color: #fff;
}

.scenario-btn.active {
  background: rgba(2, 132, 199, 0.2);
  border-color: var(--cyan-bright);
  color: #fff;
}

/* Grid Layout */
.hotline-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
}

.auditor-inquiry-card, .user-response-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 24px;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Auditor Card */
.inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-glass);
}

.auditor-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auditor-avatar { font-size: 28px; }
.auditor-name { font-size: 15px; font-weight: 800; color: #fff; }
.auditor-title { font-size: 11px; color: var(--text-muted); display: block; }

.inquiry-quote {
  font-size: 15px;
  color: #e2e8f0;
  line-height: 1.6;
  font-weight: 500;
  background: var(--bg-surface-raised);
  border-left: 4px solid var(--cyan-bright);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.audio-control-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
}

.audio-waveform-bars {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
}

.wave-bar {
  width: 4px;
  height: 8px;
  background: var(--cyan-bright);
  border-radius: 2px;
  transition: height 0.2s ease;
}

.audio-waveform-bars.playing .wave-bar {
  animation: soundWave 0.8s ease-in-out infinite alternate;
}

.audio-waveform-bars.playing .wave-bar:nth-child(2) { animation-delay: 0.1s; }
.audio-waveform-bars.playing .wave-bar:nth-child(3) { animation-delay: 0.2s; }
.audio-waveform-bars.playing .wave-bar:nth-child(4) { animation-delay: 0.3s; }
.audio-waveform-bars.playing .wave-bar:nth-child(5) { animation-delay: 0.4s; }
.audio-waveform-bars.playing .wave-bar:nth-child(6) { animation-delay: 0.5s; }
.audio-waveform-bars.playing .wave-bar:nth-child(7) { animation-delay: 0.6s; }

@keyframes soundWave {
  0% { height: 6px; }
  100% { height: 22px; }
}

.playbook-tip-box {
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid var(--emerald-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.tip-header {
  font-size: 11px;
  font-weight: 800;
  color: var(--emerald-bright);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tip-body {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* User Response Card */
.response-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.card-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.status-indicator {
  font-size: 11px;
  color: var(--emerald-bright);
  font-weight: 700;
}

.status-indicator.recording {
  color: #ef4444;
  animation: pulseRecording 1s infinite alternate;
}

@keyframes pulseRecording {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.transcript-editor {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  padding: 14px;
  outline: none;
  resize: vertical;
}

.voice-actions-row {
  display: flex;
  gap: 12px;
  margin: 14px 0;
}

/* Evaluation Card */
.evaluation-result-box {
  background: var(--bg-surface-raised);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.eval-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eval-score-badge {
  font-size: 18px;
  font-weight: 800;
  color: var(--cyan-bright);
}

.eval-verdict-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.eval-feedback-text {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.eval-keywords-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.keyword-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.keyword-pill.matched {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-bright);
}

.keyword-pill.missing {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber-bright);
}

@media (max-width: 992px) {
  .hotline-grid-layout { grid-template-columns: 1fr; }
}
