/* IELTS AI Speaking Studio — Full-Width Zoom Video Call & Fullscreen CSS */
.speaking-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.speaking-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

/* Mode Switcher Bar */
.speaking-mode-bar {
  display: flex;
  gap: 8px;
  background: #ffffff;
  padding: 5px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}
html[data-theme="dark"] .speaking-mode-bar {
  background: #0b1728;
  border-color: #1b2d45;
}

.speaking-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  border: 0;
  background: transparent;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.18s ease;
}
html[data-theme="dark"] .speaking-mode-btn {
  color: #94a3b8;
}
.speaking-mode-btn.active {
  background: #1468f3;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(20, 104, 243, 0.25);
}
.speaking-mode-btn .material-symbols-outlined {
  font-size: 17px;
}

/* Stage Indicator */
.speaking-stage-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.stage-pill {
  padding: 6px 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
html[data-theme="dark"] .stage-pill {
  background: #0b1728;
  border-color: #1b2d45;
}
.stage-pill.active {
  background: #1468f3;
  color: #ffffff;
  border-color: #1468f3;
}
.stage-sep {
  color: #94a3b8;
  font-size: 14px;
}

/* ZOOM FULL-WIDTH STAGE */
.zoom-main-container {
  width: 100%;
}

.zoom-conference-stage {
  background: #070e1b;
  border: 1px solid #1e293b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

/* FULLSCREEN ZOOM MODE */
.zoom-conference-stage.fullscreen-mode,
.zoom-conference-stage:fullscreen {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  z-index: 999999 !important;
  border: 0 !important;
}
.zoom-conference-stage.fullscreen-mode .zoom-video-screen,
.zoom-conference-stage:fullscreen .zoom-video-screen {
  height: calc(100vh - 130px) !important;
  max-height: none !important;
  aspect-ratio: auto !important;
}

/* Top Bar */
.zoom-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  background: #0c1424;
  border-bottom: 1px solid #1a2538;
  color: #ffffff;
}
.zoom-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.45);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #f87171;
}
.live-blink-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse 1s infinite;
}
.zoom-center-info {
  text-align: center;
}
.zoom-room-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.zoom-room-sub {
  display: block;
  font-size: 11px;
  color: #94a3b8;
}
.zoom-right-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}
.zoom-badge-btn {
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s ease;
}
.zoom-badge-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}
.zoom-badge-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.zoom-badge-pill.secure {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.3);
}

/* Video Stage Area */
.zoom-video-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 520px;
  max-height: 640px;
  background: #030712;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.examiner-vector-view {
  width: 100%;
  height: 100%;
}
.examiner-scene-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.examiner-photo-view {
  width: 100%;
  height: 100%;
}
.examiner-photo-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Active Speaker Waveform */
.zoom-speaker-wave {
  position: absolute;
  top: 16px;
  left: 16px;
  display: none;
  align-items: flex-end;
  gap: 4px;
  height: 22px;
  background: rgba(15, 23, 42, 0.85);
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 20;
}
.zoom-speaker-wave.active {
  display: inline-flex;
}
.v-bar {
  width: 3px;
  height: 5px;
  background: #38bdf8;
  border-radius: 2px;
  animation: waveAnim 0.75s ease-in-out infinite alternate;
}
.zoom-speaker-wave.speaking .v-bar { background: #38bdf8; }
.zoom-speaker-wave.listening .v-bar { background: #10b981; }
.v-bar:nth-child(2) { animation-delay: 0.15s; }
.v-bar:nth-child(3) { animation-delay: 0.3s; }
.v-bar:nth-child(4) { animation-delay: 0.45s; }
.v-bar:nth-child(5) { animation-delay: 0.6s; }

/* Examiner Name Tag */
.zoom-examiner-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 20;
}

/* Picture-in-Picture Candidate Video */
.zoom-pip-box {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 170px;
  aspect-ratio: 4 / 3;
  background: #111e33;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 25;
}
.pip-video-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}
.pip-fallback-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #0b1320;
  color: #94a3b8;
  gap: 2px;
}
.pip-fallback-avatar span {
  font-size: 10px;
  font-weight: 800;
  color: #38bdf8;
}
.pip-tag {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Live Candidate Speech HUD (Visual Feedback that AI hears you!) */
.zoom-candidate-live-hud {
  position: absolute;
  top: 160px;
  right: 16px;
  max-width: 260px;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(16, 185, 129, 0.5);
  border-radius: 12px;
  padding: 10px 14px;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 25;
  animation: fadeIn 0.2s ease;
}
.candidate-hud-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #34d399;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.candidate-wave-meter {
  display: flex;
  align-items: center;
  gap: 2.5px;
  margin-left: auto;
}
.candidate-wave-meter .wave-bar {
  width: 3px;
  height: 6px;
  background: #10b981;
  border-radius: 2px;
  transition: height 0.1s ease;
}
.candidate-wave-meter.speaking-active .wave-bar {
  animation: wavePulse 0.4s infinite alternate ease-in-out;
}
.candidate-wave-meter.speaking-active .wave-bar.w1 { animation-delay: 0.0s; }
.candidate-wave-meter.speaking-active .wave-bar.w2 { animation-delay: 0.1s; }
.candidate-wave-meter.speaking-active .wave-bar.w3 { animation-delay: 0.2s; }
.candidate-wave-meter.speaking-active .wave-bar.w4 { animation-delay: 0.15s; }

@keyframes wavePulse {
  0% { height: 4px; }
  100% { height: 16px; background: #34d399; }
}
.live-mic-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse 1s infinite;
}
.candidate-live-transcript {
  font-size: 12.5px;
  line-height: 1.45;
  color: #f1f5f9;
  margin: 0;
  font-weight: 500;
}

/* Presentation Slide Overlay (Part 2 Cue Card) */
.zoom-presentation-slide {
  position: absolute;
  inset: 24px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  padding: 28px 36px;
  color: #ffffff;
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Start Call Blur Overlay (Call Waiting Room) */
.zoom-start-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 29, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  border-radius: 0 0 16px 16px;
}
.zoom-start-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.start-overlay-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 440px;
  padding: 32px 28px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(20, 104, 243, 0.25);
  animation: startCardPop 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes startCardPop {
  0% { transform: scale(0.9) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.start-avatar-pulse {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.start-avatar-pulse .pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(20, 104, 243, 0.6);
  animation: pulseExpand 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}
.start-avatar-pulse .pulse-ring.r2 {
  animation-delay: 0.8s;
  border-color: rgba(56, 189, 248, 0.4);
}
@keyframes pulseExpand {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.start-call-play-btn {
  position: relative;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1468f3 0%, #0284c7 100%);
  border: 3px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(20, 104, 243, 0.5);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.start-call-play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(20, 104, 243, 0.7);
}
.start-call-play-btn:active {
  transform: scale(0.96);
}
.start-call-play-btn .start-icon {
  font-size: 36px;
}
.start-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.start-desc {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0 0 22px;
}
.start-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 12px;
  background: #1468f3;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(20, 104, 243, 0.4);
  transition: all 0.2s ease;
}
.start-action-btn:hover {
  background: #1055c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 104, 243, 0.6);
}
.start-action-btn:active {
  transform: translateY(0);
}

.slide-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #93c5fd;
  margin-bottom: 12px;
}
.slide-timer-pill {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 999px;
  background: #1e3a5f;
  color: #60a5fa;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}
.zoom-presentation-slide h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 16px;
  color: #ffffff;
}
.slide-bullets ul {
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
  margin: 0;
}

/* Closed Captions HUD */
.zoom-subtitles-hud {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 720px;
  width: calc(100% - 320px);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  z-index: 20;
}
.cc-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: #1468f3;
  color: #ffffff;
  flex-shrink: 0;
}
.cc-text {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
  color: #f8fafc;
}

/* Bottom Control Toolbar */
.zoom-bottom-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #09101d;
  border-top: 1px solid #1a2538;
}
.toolbar-group {
  display: flex;
  align-items: center;
  gap: 10px;
}
.zoom-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}
.zoom-tool-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}
.zoom-tool-btn.active {
  background: #1e293b;
  color: #38bdf8;
  border-color: #38bdf8;
}

.zoom-tool-btn.mic-btn {
  background: #1468f3;
  border-color: #1468f3;
  color: #ffffff;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(20, 104, 243, 0.35);
}
.zoom-tool-btn.mic-btn:hover {
  background: #0f54cb;
  transform: translateY(-1px);
}
.zoom-tool-btn.mic-btn.recording {
  background: #ef4444;
  border-color: #ef4444;
  animation: pulse 1.2s infinite;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

.zoom-tool-btn.next-q-btn {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
  padding: 10px 20px;
  font-weight: 800;
}
.zoom-tool-btn.next-q-btn:hover {
  background: #059669;
}

/* Interactive Candidate Live Chat Input Bar */
.zoom-chat-input-bar {
  position: absolute;
  bottom: 78px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 680px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 28px;
  padding: 5px 8px 5px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5);
  z-index: 25;
}
.zoom-chat-input-bar:focus-within {
  border-color: #38bdf8;
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.35);
}
.input-mic-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
}
.input-mic-indicator .pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.2s infinite;
}
.zoom-chat-text-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.zoom-chat-text-input::placeholder {
  color: #94a3b8;
  font-size: 13px;
}
.zoom-chat-send-btn {
  background: #1468f3;
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}
.zoom-chat-send-btn:hover {
  background: #2563eb;
  transform: scale(1.06);
}

/* Practice Feedback */
.practice-feedback-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 16px 20px;
  font-size: 14px;
  color: #166534;
}
html[data-theme="dark"] .practice-feedback-box {
  background: #052e16;
  border-color: #14532d;
  color: #86efac;
}
.practice-vocab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.practice-vocab-tag {
  padding: 3px 8px;
  border-radius: 6px;
  background: #ffffff;
  border: 1px solid #86efac;
  font-size: 11.5px;
  font-weight: 700;
  color: #15803d;
}

/* Audio Manager */
.speaking-audio-manager {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
}
html[data-theme="dark"] .speaking-audio-manager {
  background: #0b1728;
  border-color: #1b2d45;
}
.audio-manager-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  margin-bottom: 12px;
}
.duration-tag {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
}
.custom-audio-player {
  width: 100%;
  height: 38px;
  margin-bottom: 12px;
  outline: none;
}
.audio-actions-row {
  display: flex;
  gap: 10px;
}
.btn-compact {
  height: 36px;
  padding: 0 14px;
  font-size: 12px;
  border-radius: 8px;
}

/* Gemini AI Token Modal */
.zoom-gemini-modal {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.gemini-modal-box {
  background: #202124;
  border: 1px solid #1e293b;
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 24px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  color: #ffffff;
}
.gemini-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.modal-close-x {
  background: transparent;
  border: 0;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.gemini-input-row {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.gemini-input-row input {
  flex: 1;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 10px 14px;
  color: #ffffff;
  font-size: 13.5px;
}
.gemini-feedback-msg {
  font-size: 12.5px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 8px;
}
.gemini-feedback-msg.success {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.gemini-modal-footer a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #38bdf8;
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
}
.zoom-badge-btn.gemini-btn.connected {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}

/* ==========================================
   CAMBRIDGE OFFICIAL SCORE CARD MODAL STYLES
   ========================================== */
.zoom-score-modal {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 26, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInScore 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScore {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.score-card-container {
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #131d31 0%, #0c1322 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.15);
  display: flex;
  flex-direction: column;
}

.score-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.score-card-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.score-brand-icon {
  color: #f59e0b;
  font-size: 32px;
}
.score-main-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}
.score-sub-title {
  font-size: 12px;
  color: #94a3b8;
  margin: 2px 0 0;
}
.score-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.score-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.score-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.overall-band-banner {
  display: flex;
  align-items: stretch;
  gap: 18px;
  background: linear-gradient(135deg, rgba(20, 104, 243, 0.2) 0%, rgba(14, 165, 233, 0.1) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 16px;
  padding: 18px;
}

.band-number-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #202124;
  border: 1px solid rgba(56, 189, 248, 0.5);
  border-radius: 14px;
  padding: 14px 22px;
  min-width: 140px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.band-label {
  font-size: 10px;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.08em;
}
.band-huge {
  font-size: 44px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  font-family: 'JetBrains Mono', monospace;
  background: linear-gradient(180deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.examiner-verdict-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.examiner-avatar-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 6px;
}
.examiner-avatar-chip .material-symbols-outlined {
  font-size: 16px;
  color: #38bdf8;
}
.examiner-summary-text {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}

.criteria-score-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.criterion-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
}
.crit-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
}
.crit-badge {
  font-size: 12px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  font-family: 'JetBrains Mono', monospace;
}
.crit-bar-track {
  width: 100%;
  height: 6px;
  background: #1e293b;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.crit-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1468f3, #38bdf8);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.crit-desc {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.feedback-columns-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.feedback-col {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px;
}
.feedback-col h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 800;
  margin: 0 0 10px;
}
.col-strengths h4 {
  color: #34d399;
}
.col-improvements h4 {
  color: #fbbf24;
}
.feedback-col ul {
  margin: 0;
  padding-left: 18px;
  font-size: 12.5px;
  color: #cbd5e1;
  line-height: 1.5;
}

.score-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.4);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

@media (max-width: 820px) {
  .app-container {
    padding: 8px !important;
  }
  .speaking-studio-container {
    border-radius: 12px;
    margin-bottom: 20px;
  }
  .speaking-studio-header {
    padding: 12px 14px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .speaking-mode-selector {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .mode-pill-btn {
    padding: 6px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
  .zoom-speaking-layout {
    min-height: 480px;
    max-height: calc(100vh - 160px);
  }
  .examiner-main-stage {
    min-height: 280px;
  }
  .candidate-pip-tile {
    width: 96px;
    height: 72px;
    bottom: 12px;
    right: 12px;
    border-radius: 8px;
    border-width: 1.5px;
    z-index: 15;
  }
  .candidate-pip-tile video {
    border-radius: 6px;
  }
  .zoom-subtitles-hud {
    position: absolute;
    bottom: 64px;
    left: 8px;
    right: 8px;
    width: auto;
    transform: none;
    padding: 8px 12px;
    gap: 8px;
    border-radius: 10px;
  }
  .cc-text {
    font-size: 12.5px;
    line-height: 1.35;
  }
  .zoom-chat-input-bar {
    bottom: 64px;
    left: 8px;
    right: 8px;
    width: auto;
    transform: none;
    padding: 4px 6px 4px 10px;
  }
  .zoom-chat-text-input {
    font-size: 14px;
  }
  .zoom-bottom-toolbar {
    padding: 8px 10px;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }
  .toolbar-group {
    gap: 6px;
  }
  .zoom-tool-btn {
    padding: 7px 10px;
    font-size: 11.5px;
    border-radius: 8px;
  }
  .zoom-tool-btn.mic-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  .zoom-tool-btn.next-q-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Score Modal Mobile Responsiveness */
  .zoom-score-modal {
    padding: 10px;
  }
  .score-card-container {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 16px;
  }
  .score-card-header {
    padding: 14px 16px;
  }
  .score-card-header h2 {
    font-size: 16px;
  }
  .score-card-body {
    padding: 14px 16px;
    gap: 14px;
  }
  .overall-band-banner {
    flex-direction: column;
    padding: 12px;
    gap: 10px;
    text-align: center;
  }
  .band-number-wrap {
    min-width: 100%;
    padding: 10px;
  }
  .band-huge {
    font-size: 36px;
  }
  .criteria-score-grid,
  .feedback-columns-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .score-card-footer {
    padding: 12px 16px;
    flex-direction: column-reverse;
  }
  .score-card-footer .score-btn {
    width: 100%;
    justify-content: center;
  }

  /* Start Call Overlay on Mobile */
  .zoom-start-card {
    padding: 24px 18px;
    max-width: calc(100vw - 32px);
    border-radius: 18px;
  }
  .start-call-play-btn {
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
  }
  .start-call-play-btn .start-icon {
    font-size: 28px;
  }
  .start-title {
    font-size: 18px;
  }
  .start-desc {
    font-size: 12.5px;
    margin-bottom: 16px;
  }
  .start-action-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .zoom-speaking-layout {
    min-height: 420px;
  }
  .candidate-pip-tile {
    width: 80px;
    height: 60px;
    bottom: 8px;
    right: 8px;
  }
}


