/* ==========================================================================
   Gemini Multimodal Live Voice Studio - Modern Glassmorphic Design System
   ========================================================================== */

:root {
  --bg-main: #070b12;
  --bg-card: rgba(15, 23, 42, 0.7);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-hover: rgba(30, 41, 59, 0.7);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --cyan-primary: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.25);
  --purple-primary: #c084fc;
  --purple-glow: rgba(192, 132, 252, 0.25);
  --emerald-primary: #34d399;
  --rose-primary: #fb7185;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Ambient glow accents in background */
.ambient-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.cyan-glow {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #0284c7 0%, rgba(2,132,199,0) 70%);
}

.purple-glow {
  bottom: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #7e22ce 0%, rgba(126,34,206,0) 70%);
}

.app-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(192, 132, 252, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.brand-text h1 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-live {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 2px 7px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #070b12;
}

.brand-sub {
  font-size: 12px;
  color: var(--text-secondary);
}

.nav-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.6);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--bg-card-border);
  gap: 4px;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(129, 140, 248, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.1);
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-disconnected {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border-color: rgba(148, 163, 184, 0.2);
}
.status-disconnected .status-dot { background: var(--text-muted); }

.status-connected {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.2);
}
.status-connected .status-dot {
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Tab Panel Switching
   ========================================================================== */

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* ==========================================================================
   TAB 1: Live Voice Layout
   ========================================================================== */

.live-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  height: calc(100vh - 140px);
}

@media (max-width: 1024px) {
  .live-layout {
    grid-template-columns: 1fr;
    height: auto;
  }
}

.visualizer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.orb-wrapper {
  position: relative;
  width: 340px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

#orbCanvas {
  position: absolute;
  top: 0;
  left: 0;
}

.orb-overlay {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.orb-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  margin-bottom: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.orb-label {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.wave-container {
  width: 100%;
  max-width: 460px;
  margin-bottom: 24px;
}

#waveCanvas {
  width: 100%;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   Dock Controls Bar
   ========================================================================== */

.dock-container {
  width: 100%;
  max-width: 580px;
}

.dock-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 10px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  flex-wrap: wrap;
}

.call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 16px;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-start {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #070b12;
  box-shadow: 0 0 20px var(--cyan-glow);
}
.btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}

.btn-stop {
  background: linear-gradient(135deg, #e11d48, #fb7185);
  color: #fff;
  box-shadow: 0 0 20px rgba(244, 63, 94, 0.35);
}
.btn-stop:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(244, 63, 94, 0.6);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}
.icon-btn:hover:not(:disabled) {
  background: rgba(51, 65, 85, 0.9);
  color: var(--cyan-primary);
}
.icon-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.dock-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

.dock-select-group {
  display: flex;
  flex-direction: column;
}

.dock-select-group label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.dock-select {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
  outline: none;
  cursor: pointer;
  max-width: 170px;
}

.dock-toggle-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 20px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #334155;
  transition: .3s;
  border-radius: 20px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #0284c7;
}
input:checked + .slider:before {
  transform: translateX(16px);
}

/* ==========================================================================
   Chat & Live Transcript Box
   ========================================================================== */

.chat-container {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.chat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--bg-card-border);
  background: rgba(15, 23, 42, 0.4);
}

.chat-header h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
}

.clear-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}
.clear-btn:hover {
  color: var(--rose-primary);
  border-color: rgba(251, 113, 133, 0.3);
}

.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.empty-state {
  margin: auto;
  text-align: center;
  max-width: 300px;
  color: var(--text-muted);
}
.empty-icon { font-size: 42px; margin-bottom: 12px; }
.empty-title { font-weight: 600; font-size: 16px; color: var(--text-secondary); margin-bottom: 6px; }
.empty-desc { font-size: 13px; line-height: 1.5; }

/* Message Bubbles */
.message-bubble {
  display: flex;
  flex-direction: column;
  max-width: 85%;
  animation: fadeIn 0.3s ease;
}

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

.user-bubble {
  align-self: flex-end;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(56, 189, 248, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 18px 18px 4px 18px;
  padding: 12px 18px;
  color: #f0fdf4;
}

.gemini-bubble {
  align-self: flex-start;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px 18px 18px 4px;
  padding: 14px 18px;
  color: var(--text-primary);
}

.bubble-sender {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.user-bubble .bubble-sender { color: var(--emerald-primary); }
.gemini-bubble .bubble-sender { color: var(--purple-primary); }

.bubble-text {
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

/* Grounding Search Card */
.search-card {
  align-self: flex-start;
  width: 95%;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin: 4px 0;
}

.search-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan-primary);
  margin-bottom: 6px;
}

.search-queries {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 8px;
}

.search-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.source-chip {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 12px;
  padding: 3px 10px;
  font-size: 11px;
  color: #7dd3fc;
  text-decoration: none;
  transition: 0.2s;
}
.source-chip:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #fff;
}

.interruption-notice {
  align-self: center;
  font-size: 12px;
  color: #facc15;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.2);
  border-radius: 20px;
  padding: 4px 14px;
  margin: 4px 0;
}

/* ==========================================================================
   TABS 2 & 3: Studio Cards (TTS & STT)
   ========================================================================== */

.studio-card {
  max-width: 800px;
  margin: 20px auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.studio-header {
  margin-bottom: 24px;
}
.studio-header h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan-primary);
  margin-bottom: 6px;
}
.studio-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-row {
  display: flex;
  gap: 16px;
}

.flex-1 { flex: 1; }

textarea, .input-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--bg-card-border);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea:focus, .input-control:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.action-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #070b12;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 20px var(--cyan-glow);
  transition: all 0.25s ease;
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
}
.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: 0.2s;
}
.btn-secondary:hover {
  background: rgba(51, 65, 85, 0.9);
  color: var(--cyan-primary);
}

.btn-sm {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--cyan-primary);
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.btn-sm:hover {
  background: rgba(56, 189, 248, 0.1);
}

/* Templates dropdown */
.templates-dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 6px;
  background: #1e293b;
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  min-width: 200px;
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}
.dropdown-menu.show { display: block; }
.dropdown-menu a {
  display: block;
  padding: 8px 14px;
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: 0.2s;
}
.dropdown-menu a:hover {
  background: #334155;
  color: var(--cyan-primary);
}

/* Output cards */
.output-card {
  margin-top: 24px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.output-card h4 {
  font-size: 15px;
  color: var(--cyan-primary);
  margin-bottom: 12px;
}
.full-width-player {
  width: 100%;
  margin-bottom: 12px;
}
.output-actions {
  display: flex;
  justify-content: flex-end;
}

/* STT Mode Switcher */
.stt-mode-switcher {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  background: rgba(15, 23, 42, 0.6);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  width: fit-content;
}

.mode-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.mode-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(192, 132, 252, 0.2));
  color: #fff;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.15);
}

.stt-mode-panel {
  display: none;
}

.stt-mode-panel.active {
  display: block;
}

/* STT Live Record Card */
.stt-record-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 20px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.record-pulse-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.mic-record-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px solid rgba(56, 189, 248, 0.4);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.2));
  color: var(--cyan-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.2);
}

.mic-record-btn:hover {
  transform: scale(1.06);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.4);
}

.mic-record-btn.recording {
  background: linear-gradient(135deg, #e11d48, #f43f5e);
  color: #fff;
  border-color: #fb7185;
  box-shadow: 0 0 35px rgba(244, 63, 94, 0.6);
  animation: rec-pulse 1.2s infinite;
}

@keyframes rec-pulse {
  0% { transform: scale(1); box-shadow: 0 0 25px rgba(244, 63, 94, 0.6); }
  50% { transform: scale(1.08); box-shadow: 0 0 45px rgba(244, 63, 94, 0.85); }
  100% { transform: scale(1); box-shadow: 0 0 25px rgba(244, 63, 94, 0.6); }
}

.recording-timer {
  font-family: 'Outfit', monospace;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.record-status-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.stt-preview-wrapper {
  width: 100%;
  max-width: 480px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 14px;
  margin-bottom: 20px;
}

.preview-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* STT Drop zone */
.drop-zone {
  border: 2px dashed rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  background: rgba(15, 23, 42, 0.5);
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.drop-zone:hover {
  border-color: var(--cyan-primary);
  background: rgba(56, 189, 248, 0.05);
}
.drop-icon { font-size: 40px; margin-bottom: 10px; }
.drop-title { font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.drop-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.file-input { display: none; }
.selected-file {
  margin-top: 14px;
  font-size: 13px;
  color: var(--emerald-primary);
  font-weight: 600;
}

.transcript-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius-sm);
  padding: 14px;
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-wrap;
  color: var(--text-primary);
}

.hidden { display: none !important; }

