/* ==========================================================================
   CV DOST — AI MOCK INTERVIEW ROOM STYLESHEET
   Clean, modern, distraction-free voice interview experience
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ── Page Layout ── */
.interview-page {
  background-color: var(--bg-page, #F5F6FA);
  color: var(--text-primary, #1A1D23);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Navigation ── */
.interview-nav {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light, #E5E7EB);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.interview-nav .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.interview-nav .logo-mark {
  background: var(--text-primary, #1A1D23);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 6px;
}

.interview-nav .logo-text {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading, #0F1419);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary, #5F6368);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-blue, #1A56DB);
  font-weight: 600;
}

/* ── Main Canvas ── */
.interview-main {
  flex: 1;
  max-width: 900px;
  width: 100%;
  margin: 36px auto;
  padding: 0 20px;
}

/* ── Stages ── */
.stage-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card, #E8EAED);
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EEF2FF;
  color: #3730A3;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.badge-pill.success-pill {
  background: #ECFDF5;
  color: #065F46;
}

.stage-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-heading, #0F1419);
  margin: 0 0 12px 0;
  line-height: 1.25;
}

.stage-title em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--accent-blue, #1A56DB);
  font-size: 38px;
}

.stage-subtitle {
  font-size: 16px;
  color: var(--text-secondary, #5F6368);
  line-height: 1.6;
  margin: 0 0 32px 0;
}

/* ── Role Selection Box ── */
.role-selection-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

/* ── Resume Upload Box ── */
.resume-upload-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 32px;
}

.upload-label-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.pill-recommended {
  background: #ECFDF5;
  color: #065F46;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.upload-hint {
  font-size: 13px;
  color: var(--text-secondary, #5F6368);
  margin: 0 0 14px 0;
  line-height: 1.45;
}

.resume-dropzone {
  border: 2px dashed #CBD5E1;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.resume-dropzone:hover,
.resume-dropzone.dragover {
  border-color: var(--accent-blue, #1A56DB);
  background: #F0F5FF;
}

.dropzone-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.dropzone-icon {
  font-size: 32px;
}

.dropzone-text {
  text-align: left;
}

.dropzone-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary, #1A1D23);
  margin-bottom: 4px;
}

.dropzone-text .browse-link {
  color: var(--accent-blue, #1A56DB);
  text-decoration: underline;
}

.dropzone-text p {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary, #5F6368);
}

.dropzone-file-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
  border-radius: 8px;
  padding: 10px 16px;
}

.dropzone-file-info .file-icon {
  font-size: 24px;
}

.dropzone-file-info .file-details {
  flex: 1;
  text-align: left;
  margin-left: 12px;
}

.dropzone-file-info .file-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1E1B4B;
  word-break: break-all;
}

.dropzone-file-info .file-size {
  display: block;
  font-size: 12px;
  color: #6366F1;
}

.remove-file-btn {
  background: none;
  border: none;
  color: #4B5563;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.remove-file-btn:hover {
  background: #E0E7FF;
  color: #DC2626;
}

.input-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #5F6368);
  margin-bottom: 8px;
}

/* ── Role Combobox Dropdown ── */
.role-combobox-wrapper {
  position: relative;
  width: 100%;
}

.role-input-row {
  display: flex;
  align-items: center;
  position: relative;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.role-combobox-wrapper.is-open .role-input-row,
.role-input-row:focus-within {
  border-color: var(--accent-blue, #1A56DB);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.15);
}

.role-search-icon {
  padding-left: 14px;
  font-size: 15px;
  color: #94A3B8;
  pointer-events: none;
}

.role-input-row input {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 13px 12px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-primary, #1A1D23);
}

.role-dropdown-toggle {
  background: transparent;
  border: none;
  padding: 0 16px;
  height: 100%;
  cursor: pointer;
  font-size: 14px;
  color: #64748B;
  transition: transform 0.2s ease, color 0.2s;
}

.role-combobox-wrapper.is-open .role-dropdown-toggle {
  transform: rotate(180deg);
  color: #1A56DB;
}

.roles-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
  max-height: 290px;
  overflow-y: auto;
  z-index: 1000;
  padding: 8px 0;
}

.role-category-header {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748B;
  background: #F8FAFC;
  padding: 6px 16px;
  margin-top: 6px;
}

.role-category-header:first-child {
  margin-top: 0;
}

.role-option-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1E293B;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s;
}

.role-option-item:hover,
.role-option-item.active-item {
  background: #EEF2FF;
  color: #1A56DB;
  font-weight: 600;
}

.role-no-results {
  padding: 16px;
  text-align: center;
  font-size: 13px;
  color: #64748B;
}

.role-no-results em {
  color: #1A56DB;
  font-style: normal;
  font-weight: 600;
}

.role-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.chip {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary, #5F6368);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.chip:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}

.chip.active {
  background: #1A56DB;
  border-color: #1A56DB;
  color: #FFFFFF;
  font-weight: 600;
}

/* ── Perks Grid ── */
.setup-perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}

.perk-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
}

.perk-icon {
  font-size: 24px;
}

.perk-item strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary, #1A1D23);
  margin-bottom: 4px;
}

.perk-item p {
  margin: 0;
  font-size: 12px;
  color: var(--text-secondary, #5F6368);
  line-height: 1.4;
}

.setup-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.quota-note {
  font-size: 13px;
  color: var(--text-tertiary, #9AA0A6);
}

/* ── Active Room Header ── */
.room-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 32px;
}

.room-role-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary, #5F6368);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.round-progress-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #EEF2FF;
  color: #3730A3;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid #C7D2FE;
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  color: #475569;
  font-family: 'JetBrains Mono', monospace;
  font-size: 15px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid #E2E8F0;
}

/* ── The Voice Orb ── */
.voice-orb-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 220px;
  margin: 10px 0 30px;
}

.voice-orb {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A56DB, #4F46E5);
  box-shadow: 0 8px 32px rgba(26, 86, 219, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.orb-core {
  font-size: 36px;
  color: #FFFFFF;
}

/* Orb Pulsing States */
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(26, 86, 219, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
}

.ring-1 {
  width: 130px;
  height: 130px;
}

.ring-2 {
  width: 170px;
  height: 170px;
}

.ring-3 {
  width: 210px;
  height: 210px;
}

/* Speaking animation */
.voice-orb-container.is-speaking .voice-orb {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(26, 86, 219, 0.55);
}

.voice-orb-container.is-speaking .pulse-ring {
  animation: orbWave 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.voice-orb-container.is-speaking .ring-1 {
  animation-delay: 0s;
}

.voice-orb-container.is-speaking .ring-2 {
  animation-delay: 0.4s;
}

.voice-orb-container.is-speaking .ring-3 {
  animation-delay: 0.8s;
}

/* Listening animation */
.voice-orb-container.is-listening .voice-orb {
  background: linear-gradient(135deg, #10B981, #059669);
  box-shadow: 0 12px 40px rgba(16, 185, 129, 0.55);
  transform: scale(1.08);
}

.voice-orb-container.is-listening .pulse-ring {
  border-color: rgba(16, 185, 129, 0.25);
  animation: orbWave 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes orbWave {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.8;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.35);
    opacity: 0;
  }
}

.orb-status-text {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary, #5F6368);
}

/* ── Dialogue Area ── */
.dialogue-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.bubble-card {
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.maya-bubble {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-left: 4px solid var(--accent-blue, #1A56DB);
}

.candidate-bubble {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-left: 4px solid #10B981;
}

.candidate-input {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 12px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary, #1A1D23);
  resize: vertical;
  background: #FAFAFA;
  box-sizing: border-box;
  margin-top: 6px;
  transition: border-color 0.2s, background 0.2s;
}

.candidate-input:focus {
  outline: none;
  border-color: #10B981;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.candidate-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.edit-hint {
  font-size: 12px;
  color: var(--text-tertiary, #9AA0A6);
}

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

.speaker-name {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-tertiary, #9AA0A6);
}

.bubble-content {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary, #1A1D23);
}

.live-tag {
  font-size: 11px;
  background: #DCFCE7;
  color: #166534;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px 6px;
  border-radius: 6px;
  transition: background 0.2s;
}

.icon-btn:hover {
  background: #E2E8F0;
}

/* ── Room Controls ── */
.room-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.mic-btn {
  background: #1A56DB;
  color: #FFFFFF;
  border: none;
  border-radius: 100px;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(26, 86, 219, 0.3);
  transition: all 0.2s;
}

.mic-btn:hover {
  background: #1347C4;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.4);
}

.mic-btn.is-active {
  background: #DC2626;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.4);
  animation: pulseRed 1.5s infinite;
}

@keyframes pulseRed {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.03);
  }

  100% {
    transform: scale(1);
  }
}

.text-toggle-btn {
  background: none;
  border: none;
  color: var(--text-secondary, #5F6368);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
}

.type-box {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.type-box textarea {
  flex: 1;
  padding: 12px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  resize: vertical;
}

/* ── Transcript Drawer ── */
.transcript-drawer {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 18px;
  margin-top: 20px;
}

.transcript-drawer summary {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary, #5F6368);
  cursor: pointer;
}

.transcript-body {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 240px;
  overflow-y: auto;
  font-size: 13px;
  color: var(--text-secondary, #5F6368);
}

.t-turn {
  padding: 8px 12px;
  border-radius: 6px;
}

.t-turn.maya {
  background: #EEF2FF;
}

.t-turn.user {
  background: #ECFDF5;
}

/* ── Report Card Styles ── */
.report-score-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 28px;
}

.score-ring-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.score-ring-svg {
  transform: rotate(-90deg);
  width: 100px;
  height: 100px;
}

.score-ring-bg {
  fill: none;
  stroke: #E2E8F0;
  stroke-width: 10;
}

.score-ring-fill {
  fill: none;
  stroke: #10B981;
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 314;
  transition: stroke-dashoffset 1s ease-out;
}

.score-ring-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: baseline;
}

.score-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-heading, #0F1419);
}

.score-max {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-tertiary, #9AA0A6);
}

.readiness-badge {
  display: inline-block;
  background: #DCFCE7;
  color: #166534;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 6px;
}

.score-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary, #5F6368);
  line-height: 1.5;
}

/* Breakdown Grid */
.breakdown-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.b-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.b-label {
  display: block;
  font-size: 12px;
  color: var(--text-tertiary, #9AA0A6);
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.b-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary, #1A1D23);
}

/* Findings & Tips */
.findings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

@media (max-width: 700px) {
  .findings-grid {
    grid-template-columns: 1fr;
  }
}

.findings-box,
.tips-box {
  padding: 22px;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
}

.strengths-box {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.gaps-box {
  background: #FEF2F2;
  border-color: #FECACA;
}

.tips-box {
  background: #F8FAFC;
  margin-bottom: 32px;
}

.findings-box h3,
.tips-box h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: var(--text-heading, #0F1419);
}

.findings-box ul,
.tips-box ul {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  color: var(--text-primary, #1A1D23);
  line-height: 1.6;
}

.report-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* ── Generic Buttons ── */
.btn-primary {
  background: #1A56DB;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-primary:hover {
  background: #1347C4;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-primary, #1A1D23);
  border: 1px solid var(--border-light, #E5E7EB);
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #F8FAFC;
}

.btn-outline-danger {
  background: #FFFFFF;
  color: #DC2626;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline-danger:hover {
  background: #FEF2F2;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: 12px;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-full {
  width: 100%;
}

/* ── Modals ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 25, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-card {
  background: #FFFFFF !important;
  color: #1F2937 !important;
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 36px;
  position: relative;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
  animation: popIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

/* Modal Artwork Header */
.modal-art-banner {
  margin: -36px -36px 20px -36px;
  height: 140px;
  position: relative;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-art-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.modal-art-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.75) 85%, #FFFFFF 100%);
  pointer-events: none;
}

.upgrade-card .modal-close-btn {
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 14px;
  right: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  color: #64748B !important;
  cursor: pointer;
  line-height: 1;
  transition: color 0.15s ease;
}

.modal-close-btn:hover {
  color: #0F172A !important;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.modal-form label {
  font-size: 13px;
  font-weight: 600;
  color: #4B5563 !important;
}

.modal-form input {
  padding: 12px 14px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: #0F172A !important;
  background: #FFFFFF !important;
}

.modal-badge-gold {
  display: inline-block;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: #B45309 !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.upgrade-card {
  color: #1F2937 !important;
}

.upgrade-card h2 {
  font-size: 24px;
  font-weight: 800;
  color: #0F172A !important;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.upgrade-subtitle {
  font-size: 14px;
  color: #4B5563 !important;
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.upgrade-subtitle strong {
  color: #0F172A !important;
  font-weight: 700;
}

.upgrade-perks-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}

.upgrade-perks-list li {
  color: #4B5563 !important;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.upgrade-perks-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.upgrade-perks-list li strong {
  color: #111827 !important;
  font-weight: 700;
}

.upgrade-price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 24px;
}

.old-price {
  font-size: 16px;
  color: #94A3B8 !important;
  text-decoration: line-through;
}

.new-price {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A !important;
}

.price-note {
  font-size: 13px;
  color: #64748B !important;
}

/* User pill */
.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 13px;
}

.plan-badge {
  background: #FEF3C7;
  color: #92400E;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
}

.logout-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary, #9AA0A6);
  font-size: 12px;
}

.logout-btn:hover {
  color: var(--text-primary, #1A1D23);
}

/* ==========================================================================
   GOOGLE MEET INTERVIEW ROOM EXPERIENCE
   Authentic Google Meet dark theme, video tiles, closed captions, and dock
   ========================================================================== */

/* ==========================================================================
   CV DOST — AUTHENTIC GOOGLE MEET LOBBY & PRE-JOIN SETUP STYLES
   Dark Slate #202124, 16:9 Mirror Video, Circular Controls & Wave Meter
   ========================================================================== */

/* Dark page theme */
.interview-page.meet-dark-theme {
  background-color: #202124 !important;
  color: #E8EAED !important;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.meet-dark-theme .interview-main {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 40px;
  box-sizing: border-box;
}

/* ── Google Meet Pre-Call Lobby Topbar ── */
.meet-lobby-topbar {
  background: #202124;
  border-bottom: none;
  height: 64px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
}

.meet-topbar-container {
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.meet-topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.meet-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9AA0A6;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.meet-back-link:hover {
  color: #E8EAED;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.topbar-divider {
  width: 1px;
  height: 20px;
  background: #3c4043;
  flex-shrink: 0;
}

.meet-brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.meet-brand-logo .brand-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.4px;
  white-space: nowrap;
}

.meet-meeting-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(60, 64, 67, 0.6);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  color: #BDC1C6;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pulse-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34A853;
  box-shadow: 0 0 0 2px rgba(52, 168, 83, 0.3);
  animation: liveDotPulse 1.8s infinite;
}

@keyframes liveDotPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.meet-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meet-dark-pill {
  background: #28292c !important;
  border: 1px solid #3c4043 !important;
  color: #E8EAED !important;
}

.btn-meet-ghost {
  background: transparent;
  border: 1px solid #3c4043;
  color: #E8EAED;
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-meet-ghost:hover {
  background: #3c4043;
}

@media (max-width: 768px) {
  .meet-lobby-topbar {
    height: 54px;
  }

  .meet-topbar-container {
    padding: 0 12px;
    gap: 8px;
  }

  .meet-topbar-left {
    gap: 8px;
    flex-shrink: 0;
  }

  .meet-back-link {
    padding: 6px 8px;
    gap: 4px;
  }

  .meet-back-link .back-text {
    display: none;
  }

  .topbar-divider {
    height: 16px;
  }

  .meet-brand-logo .brand-title {
    font-size: 1.05rem;
  }

  .meet-topbar-right {
    min-width: 0;
    flex-shrink: 1;
    justify-content: flex-end;
  }

  .meet-dark-pill {
    padding: 4px 8px !important;
    gap: 6px !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .meet-dark-pill .user-email-text {
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.75rem;
    display: inline-block;
  }

  .meet-dark-pill .plan-badge {
    font-size: 0.65rem;
    padding: 2px 6px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .meet-dark-pill .logout-btn {
    font-size: 1rem;
    padding: 0 2px;
    line-height: 1;
  }
}

/* ── Greenroom Stage (Ready to Join Google Meet Lobby) ── */
.meet-greenroom-stage {
  width: 100%;
  padding-top: 24px;
}

.meet-greenroom-container {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

@media (max-width: 940px) {
  .meet-greenroom-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ── Video Tile Preview Column ── */
.greenroom-preview-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.greenroom-cam-card {
  background: #000000;
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #3c4043;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  width: 100%;
}

.greenroom-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  /* Mirror camera preview like a real mirror/Google Meet */
  display: block;
}

.greenroom-avatar-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: absolute;
  inset: 0;
  background: #202124;
}

.greenroom-avatar-circle {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A73E8, #7C3AED);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.4);
}

.greenroom-avatar-label {
  font-size: 14px;
  color: #9AA0A6;
  font-weight: 500;
}

/* Google Meet Overlaid Floating Bottom Action Bar */
.greenroom-preview-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.preview-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: #E8EAED;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: auto;
}

.status-live-dot {
  display: none !important;
}

.preview-controls-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(32, 33, 36, 0.88);
  backdrop-filter: blur(14px);
  border-radius: 9999px;
  padding: 4px 10px 4px 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

/* Circular Buttons (Google Meet Style) */
.meet-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #3c4043;
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.meet-circle-btn:hover {
  background: #4a4e52;
  transform: scale(1.05);
}

.meet-circle-btn.is-muted,
.meet-circle-btn.is-off {
  background: #EA4335 !important;
  color: #FFFFFF !important;
}

.meet-circle-btn.is-muted:hover,
.meet-circle-btn.is-off:hover {
  background: #d93025 !important;
}

/* Real-Time Audio Level Meter */
.greenroom-audio-meter {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  max-height: 18px;
  overflow: hidden;
  padding: 0 6px 0 2px;
}

.meter-bar {
  width: 3.5px;
  height: 18px;
  max-height: 18px;
  background: #34A853;
  border-radius: 2px;
  transform-origin: bottom;
  transform: scaleY(0.2);
  transition: transform 0.08s ease-out;
}

/* Device check pill underneath video */
.greenroom-device-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.device-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #BDC1C6;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.greenroom-tips-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.greenroom-mic-tip {
  font-size: 12px;
  color: #9AA0A6;
  line-height: 1.5;
  margin: 0;
}

/* ── Right Column: Ready to Join Details ── */
.greenroom-details-col {
  display: flex;
  flex-direction: column;
}

.meet-host-indicator {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px 6px 8px;
  border-radius: 9999px;
  margin-bottom: 18px;
  align-self: flex-start;
}

.host-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1A73E8, #7C3AED);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.host-info {
  display: flex;
  flex-direction: column;
}

.host-name {
  font-size: 13px;
  font-weight: 700;
  color: #E8EAED;
}

.host-sub {
  font-size: 11px;
  color: #9AA0A6;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.host-sub .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34A853;
}

.meet-stage-title {
  font-size: 34px;
  font-weight: 700;
  color: #E8EAED;
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}

.meet-stage-subtitle {
  font-size: 14px;
  color: #9AA0A6;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

/* Dark-themed form components in Greenroom */
.meet-dark-theme .role-selection-box,
.meet-dark-theme .resume-upload-box {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px;
  padding: 20px 22px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.meet-dark-theme .input-label {
  color: #E8EAED !important;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.2px;
}

.meet-dark-theme .upload-hint {
  color: #9AA0A6 !important;
  font-size: 13px;
  line-height: 1.5;
  margin: 6px 0 14px 0;
}

.meet-dark-theme .role-input-row {
  background: #1e1f21 !important;
  border: 1px solid #3c4043 !important;
  border-radius: 10px;
}

.meet-dark-theme .role-input-row:focus-within {
  border-color: #1a73e8 !important;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.25) !important;
}

.meet-dark-theme #role-input {
  background: transparent !important;
  color: #E8EAED !important;
  font-size: 14px;
}

.meet-dark-theme #role-input::placeholder {
  color: #80868B !important;
}

.meet-dark-theme .role-search-icon svg {
  stroke: #9AA0A6 !important;
}

.meet-dark-theme .role-dropdown-toggle {
  color: #BDC1C6;
  background: transparent;
  border-left: 1px solid #3c4043;
}

.meet-dark-theme .roles-dropdown-menu {
  background: #202124 !important;
  border: 1px solid #3c4043 !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65) !important;
  color: #E8EAED !important;
}

/* Category header in dark dropdown */
.meet-dark-theme .role-category-header {
  background: #28292c !important;
  color: #8AB4F8 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.8px !important;
  padding: 8px 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.meet-dark-theme .role-category-header:first-child {
  border-top: none;
}

/* Role Option Item in dark dropdown */
.meet-dark-theme .role-option-item {
  color: #E8EAED !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 10px 16px !important;
  transition: all 0.15s ease !important;
}

.meet-dark-theme .role-option-item:hover,
.meet-dark-theme .role-option-item.active-item {
  background: #3c4043 !important;
  color: #FFFFFF !important;
}

.meet-dark-theme .role-option-item svg {
  stroke: #8AB4F8 !important;
}

.meet-dark-theme .role-option-item.active-item {
  background: rgba(26, 115, 232, 0.2) !important;
  color: #8AB4F8 !important;
  font-weight: 600 !important;
}

/* Custom dark scrollbar for dropdown */
.meet-dark-theme .roles-dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.meet-dark-theme .roles-dropdown-menu::-webkit-scrollbar-track {
  background: #202124;
}

.meet-dark-theme .roles-dropdown-menu::-webkit-scrollbar-thumb {
  background: #3c4043;
  border-radius: 4px;
}

.meet-dark-theme .roles-dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #5f6368;
}

/* No results state in dark theme */
.meet-dark-theme .role-no-results {
  color: #9AA0A6 !important;
  padding: 16px;
}

.meet-dark-theme .role-no-results em {
  color: #8AB4F8 !important;
}

.meet-dark-theme .role-option-special {
  background: rgba(26, 115, 232, 0.15) !important;
  color: #8AB4F8 !important;
  border: 1px solid rgba(138, 180, 248, 0.3) !important;
}

.meet-dark-theme .role-option-special:hover {
  background: #1a73e8 !important;
  color: #FFFFFF !important;
}

/* Custom role 1-click option */
.role-option-custom {
  background: rgba(26, 115, 232, 0.16) !important;
  border: 1px solid rgba(138, 180, 248, 0.35) !important;
  color: #8AB4F8 !important;
  font-weight: 500 !important;
  margin: 6px 12px 10px 12px !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  display: flex !important;
  align-items: center !important;
}

.role-option-custom strong {
  color: #FFFFFF !important;
  font-weight: 700 !important;
}

.role-option-custom:hover {
  background: #1a73e8 !important;
  border-color: #1a73e8 !important;
  color: #FFFFFF !important;
}

.role-option-custom:hover strong {
  color: #FFFFFF !important;
}

/* Invalid role warning card */
.role-option-invalid {
  background: rgba(239, 68, 68, 0.14) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #F87171 !important;
  font-weight: 500 !important;
  margin: 6px 12px 10px 12px !important;
  border-radius: 8px !important;
  padding: 10px 14px !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  display: flex !important;
  align-items: center !important;
}

/* Resume Dropzone in Dark Theme */
.meet-dark-theme .resume-dropzone {
  background: #1e1f21 !important;
  border: 1.5px dashed #5f6368 !important;
  border-radius: 12px;
  padding: 16px 20px;
  transition: all 0.2s;
}

.meet-dark-theme .resume-dropzone:hover,
.meet-dark-theme .resume-dropzone.dragover {
  border-color: #1a73e8 !important;
  background: rgba(26, 115, 232, 0.08) !important;
}

.meet-dark-theme .dropzone-icon svg {
  stroke: #8AB4F8 !important;
}

.meet-dark-theme .dropzone-text strong {
  color: #E8EAED !important;
  font-size: 13px;
}

.meet-dark-theme .dropzone-text p {
  color: #9AA0A6 !important;
  font-size: 12px;
}

.meet-dark-theme .browse-link {
  color: #8AB4F8 !important;
}

.meet-dark-theme .dropzone-file-info {
  background: #1e1f21 !important;
  border: 1px solid #3c4043 !important;
  color: #E8EAED !important;
}

.meet-dark-theme .pill-recommended {
  background: rgba(138, 180, 248, 0.15) !important;
  color: #8AB4F8 !important;
  border: 1px solid rgba(138, 180, 248, 0.3) !important;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 600;
  margin-left: 8px;
}

/* ── The Google Meet "Ready to Join" Primary Pill Button ── */
.btn-meet-ready-join {
  width: 100%;
  padding: 15px 36px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 9999px;
  background: #1a73e8;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(26, 115, 232, 0.35);
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
}

.btn-meet-ready-join:hover {
  background: #1b66c9;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(26, 115, 232, 0.45);
}

.btn-meet-ready-join:active {
  background: #1557b0;
  transform: translateY(0);
}

.btn-meet-ready-join:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  animation: btnSpinnerAnim 0.8s linear infinite;
}

@keyframes btnSpinnerAnim {
  to {
    transform: rotate(360deg);
  }
}

.setup-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.meet-dark-theme .quota-note {
  color: #9AA0A6 !important;
  font-size: 12px;
  text-align: center;
}

/* ── 2. Active Google Meet Room Stage ── */
.meet-room-stage {
  background: #202124 !important;
  color: #E8EAED !important;
  border: 1px solid #3c4043 !important;
  border-radius: 20px;
  padding: 18px 20px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* Meet Top Bar */
.meet-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.meet-top-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meet-code-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #282a2d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 13px;
  color: #E8EAED;
}

.meet-rec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EA4335;
  box-shadow: 0 0 0 2px rgba(234, 67, 53, 0.3);
  animation: meetRecBlink 1.4s infinite;
}

@keyframes meetRecBlink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.meet-rec-label {
  font-size: 11px;
  font-weight: 800;
  color: #EA4335;
  letter-spacing: 0.5px;
}

.meet-code-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: #9AA0A6;
}

.meet-top-center {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meet-room-stage .room-role-tag {
  color: #E8EAED;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meet-room-stage .round-progress-box {
  background: rgba(26, 115, 232, 0.15);
  color: #8AB4F8;
  border-color: rgba(138, 180, 248, 0.3);
  padding: 5px 14px;
  font-size: 13px;
}

.meet-room-stage .timer-box {
  background: #282a2d;
  color: #E8EAED;
  border-color: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  font-size: 13px;
}

.meet-secure-badge {
  font-size: 12px;
  color: #81C995;
  background: rgba(52, 168, 83, 0.12);
  border: 1px solid rgba(52, 168, 83, 0.25);
  padding: 4px 10px;
  border-radius: 9999px;
  font-weight: 500;
}

/* ── 3. Main Video Grid Stage ── */
.meet-video-stage {
  display: flex;
  gap: 14px;
  position: relative;
  margin-top: 14px;
  min-height: 480px;
  height: 58vh;
  max-height: 640px;
}

/* Tile 1: Maya */
.meet-video-tile.maya-tile {
  flex: 1;
  background: radial-gradient(circle at center, #2e3136 0%, #1c1d20 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tile-top-overlay {
  position: absolute;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.tile-hd-badge {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  color: #E8EAED;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tile-top-actions {
  display: flex;
  gap: 8px;
}

.meet-tile-action-btn {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E8EAED;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}

.meet-tile-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.maya-avatar-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.meet-room-stage .voice-orb-container {
  height: 200px;
  margin: 0;
}

.meet-room-stage .voice-orb {
  width: 96px;
  height: 96px;
  background: linear-gradient(135deg, #1A73E8, #8AB4F8);
  box-shadow: 0 0 32px rgba(26, 115, 232, 0.45);
}

.meet-room-stage .voice-orb-container.is-speaking .voice-orb {
  box-shadow: 0 0 48px rgba(26, 115, 232, 0.75), 0 0 0 6px rgba(138, 180, 248, 0.3);
}

.meet-room-stage .pulse-ring {
  border-color: rgba(138, 180, 248, 0.35);
}

.meet-room-stage .orb-status-text {
  color: #BDC1C6;
  font-size: 13px;
  margin-top: 14px;
}

/* Bottom Left Participant Tag */
.tile-participant-tag {
  position: absolute;
  bottom: 14px;
  left: 16px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.speaking-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.speaking-wave-bars span {
  width: 2.5px;
  height: 100%;
  background: #8AB4F8;
  border-radius: 1px;
}

.meet-room-stage .voice-orb-container.is-speaking~.tile-participant-tag .speaking-wave-bars span,
.voice-orb-container.is-speaking~* .speaking-wave-bars span {
  animation: speakingWave 0.9s infinite ease-in-out alternate;
}

.speaking-wave-bars span:nth-child(2) {
  animation-delay: 0.2s;
}

.speaking-wave-bars span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes speakingWave {
  0% {
    height: 3px;
  }

  100% {
    height: 12px;
  }
}

/* ── 4. Google Meet Closed Captions (CC) & Movie Subtitles Banner ── */
.meet-cc-banner {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 76%;
  width: max-content;
  z-index: 6;
  background: rgba(15, 17, 21, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.meet-cc-banner.movie-subtitle-container {
  padding: 6px 14px;
  border-radius: 9px;
  background: rgba(15, 17, 21, 0.88);
}

.movie-subtitle-text,
#maya-spoken-text {
  font-size: 13px !important;
  font-weight: 450 !important;
  line-height: 1.42 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  letter-spacing: 0.1px !important;
  text-align: center;
  margin: 0 !important;
  transition: opacity 0.12s ease-in-out;
}

.meet-cc-banner.is-hidden {
  display: none !important;
}

.cc-badge {
  background: #3c4043;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.cc-content {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
}

.cc-speaker {
  color: #8AB4F8;
  margin-right: 6px;
}

/* ── 5. Candidate / Self-View Tile (Picture-in-Picture) ── */
.meet-video-tile.candidate-tile {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 210px;
  height: 135px;
  border-radius: 12px;
  overflow: hidden;
  background: #202124;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  z-index: 10;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meet-video-tile.candidate-tile:hover {
  transform: scale(1.02);
}

.meet-video-tile.candidate-tile.is-active-speaker {
  border-color: #34A853 !important;
  box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.4), 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}

.self-camera-stream {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  /* Mirror camera */
}

.self-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #2d2f34;
}

.candidate-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #059669, #10B981);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.tile-cam-status {
  font-size: 10px;
  color: #9AA0A6;
  background: rgba(0, 0, 0, 0.6);
  padding: 2px 6px;
  border-radius: 4px;
}

.candidate-tile .tile-participant-tag {
  bottom: 8px;
  left: 8px;
  font-size: 11px;
  padding: 3px 8px;
}

/* ── 6. Google Meet Right-Side Drawer (In-Call Messages) ── */
.meet-side-panel {
  width: 340px;
  background: #282a2d;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 12;
  overflow: hidden;
  animation: meetDrawerSlideIn 0.25s ease-out;
}

@keyframes meetDrawerSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-header h3 {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  margin: 0;
}

.close-panel-btn {
  background: none;
  border: none;
  color: #9AA0A6;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.close-panel-btn:hover {
  color: #FFFFFF;
}

.panel-notice {
  font-size: 11px;
  color: #9AA0A6;
  line-height: 1.4;
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px 10px;
  border-radius: 6px;
}

.panel-dialogue-area {
  margin-bottom: 0;
}

.meet-side-panel .bubble-card {
  background: #202124;
  border: 1px solid #3c4043;
  color: #E8EAED;
  padding: 14px;
}

.meet-side-panel .candidate-input {
  background: #282a2d;
  border: 1px solid #3c4043;
  color: #FFFFFF;
  font-size: 13px;
}

.meet-side-panel .candidate-input:focus {
  border-color: #8AB4F8;
  outline: none;
}

.panel-transcript-box {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #202124;
  border: 1px solid #3c4043;
  border-radius: 12px;
  overflow: hidden;
  min-height: 180px;
}

.panel-transcript-header {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #9AA0A6;
  border-bottom: 1px solid #3c4043;
}

.meet-side-panel .transcript-body {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  max-height: 220px;
}

.meet-side-panel .t-turn {
  font-size: 12px;
  line-height: 1.45;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 8px;
}

.meet-side-panel .t-turn.maya {
  background: rgba(26, 115, 232, 0.15);
  color: #E8EAED;
  border-left: 3px solid #8AB4F8;
}

.meet-side-panel .t-turn.candidate {
  background: rgba(52, 168, 83, 0.15);
  color: #E8EAED;
  border-left: 3px solid #34A853;
}

/* ── 7. Meet Floating Bottom Control Dock ── */
.meet-bottom-dock {
  background: #202124;
  border: 1px solid #3c4043;
  border-radius: 9999px;
  padding: 10px 24px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.dock-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 160px;
}

.dock-call-info {
  display: flex;
  flex-direction: column;
}

.dock-call-title {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.dock-call-sub {
  font-size: 11px;
  color: #9AA0A6;
}

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

.meet-dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #3c4043;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  position: relative;
}

.meet-dock-btn:hover {
  background: #474a4d;
  transform: scale(1.05);
}

/* Mic button in meet dock */
.meet-dock-btn.mic-btn {
  background: #EA4335;
  width: auto;
  border-radius: 9999px;
  padding: 0 18px;
  gap: 8px;
}

.meet-dock-btn.mic-btn.is-active {
  background: #34A853 !important;
  animation: meetMicPulse 1.4s infinite;
}

@keyframes meetMicPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 168, 83, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(52, 168, 83, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(52, 168, 83, 0);
  }
}

.dock-btn-label {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

/* Cam button */
.meet-dock-btn.cam-btn.is-on {
  background: #34A853;
}

/* CC button */
.meet-dock-btn.cc-btn {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.meet-dock-btn.cc-btn.is-active {
  background: #8AB4F8;
  color: #202124;
}

.cc-text-tag {
  font-size: 13px;
  font-weight: 800;
}

/* Leave Call Pill */
.meet-dock-btn.leave-call-btn {
  background: #EA4335;
  border-radius: 9999px;
  width: auto;
  padding: 0 20px;
  gap: 8px;
}

.meet-dock-btn.leave-call-btn:hover {
  background: #D93025;
}

.leave-text {
  font-size: 13px;
  font-weight: 600;
  color: #FFFFFF;
}

.dock-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 160px;
}

.meet-icon-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E8EAED;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}

.meet-icon-circle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .meet-room-stage {
    padding: 12px;
  }

  .meet-video-stage {
    height: 420px;
  }

  .candidate-tile {
    width: 140px;
    height: 95px;
    right: 10px;
    bottom: 10px;
  }

  .meet-bottom-dock {
    padding: 8px 12px;
  }

  .dock-left,
  .dock-right {
    display: none;
  }

  .meet-bottom-dock {
    justify-content: center;
  }

  .meet-cc-banner {
    max-width: 92%;
    padding: 8px 12px;
  }

  .dock-btn-label {
    display: none;
  }

  .meet-dock-btn.mic-btn {
    width: 48px;
    padding: 0;
  }
}

/* ── 8. Active Modern 1:1 Video Call Screen (Exact Match to Reference UI) ── */
body.meet-mode-active {
  background: #111214 !important;
  color: #E8EAED !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  overflow: hidden !important;
}

/* Video call container hidden by default until candidate clicks Ready to Join */
.videocall-app-container {
  display: none !important;
}

body.meet-mode-active .meet-lobby-topbar,
body.meet-mode-active .interview-nav,
body.meet-mode-active #setup-stage {
  display: none !important;
}

body.meet-mode-active .interview-main {
  max-width: 100vw !important;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
  background: #111214 !important;
  border: none !important;
  border-radius: 0 !important;
}

/* Edge-to-Edge Container */
body.meet-mode-active .videocall-app-container {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  background: #111214 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 9999;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  animation: vcallFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 16px 24px 20px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@keyframes vcallFadeIn {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Top Navigation Bar: Brand + Timer + Fullscreen */
.vcall-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 40px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.vcall-header-brand {
  display: flex;
  align-items: center;
}

.vcall-brand-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.4px;
}

.vcall-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vcall-timer-pill {
  background: #1E2024;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #E8EAED;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.fullscreen-btn {
  background: transparent;
  border: none;
  color: #9AA0A6;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

/* Main Split View: Left Video Canvas + Right Conversation Panel */
.vcall-main-content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  transition: grid-template-columns 0.25s ease;
}

.vcall-main-content.chat-collapsed {
  grid-template-columns: 1fr 0px;
  gap: 0;
}

.vcall-main-content.chat-collapsed .vcall-conversation-drawer {
  display: none !important;
}

/* Left Video Canvas & Controls Column */
.vcall-stage-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box !important;
  overflow: hidden;
}

.vcall-stage-meta {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.vcall-participants-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #9AA0A6;
  font-weight: 500;
}

/* Video Stage Area */
.vcall-video-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box !important;
}

/* Host Main Voice Screen: Dark Radial Canvas (Voice Reactive Orb) */
.vcall-main-video-card {
  flex: 1;
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: radial-gradient(circle at 50% 50%, #15181e 0%, #0a0b0d 100%);
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box !important;
}

.vcall-main-video-card.is-speaking {
  border-color: #84CC16 !important;
  box-shadow: 0 0 28px rgba(132, 204, 22, 0.28), 0 12px 36px rgba(0, 0, 0, 0.7) !important;
}

/* Ambient Aura Glow & Radial Tech Grid Behind Orb */
.orb-ambient-aura {
  position: absolute;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(99, 102, 241, 0.08) 45%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  animation: auraBreathe 7s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes auraBreathe {
  0% {
    transform: scale(0.9) translate(-5px, -5px);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.15) translate(5px, 5px);
    opacity: 0.95;
  }
}

.orb-grid-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.7;
  z-index: 1;
}

/* Voice Orb Center Visualizer Stage */
.voice-orb-stage {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.voice-orb-container {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
  height: auto;
}

/* Concentric Soundwave Pulse Rings (Gemini Live / GPT Advanced Voice) */
.voice-orb-stage .pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s;
}

.voice-orb-stage .ring-1 {
  width: 180px;
  height: 180px;
}

.voice-orb-stage .ring-2 {
  width: 230px;
  height: 230px;
}

.voice-orb-stage .ring-3 {
  width: 290px;
  height: 290px;
}

.voice-orb-stage .ring-4 {
  width: 360px;
  height: 360px;
}

/* The Core Voice Reactive Orb */
.live-voice-orb {
  width: 136px;
  height: 136px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #7dd3fc 0%, #38bdf8 25%, #3b82f6 50%, #4f46e5 75%, #0f172a 100%);
  box-shadow: 0 0 55px rgba(56, 189, 248, 0.45), 0 0 100px rgba(79, 70, 229, 0.25), inset 0 0 25px rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: orbIdleFloat 3.8s ease-in-out infinite alternate;
}

@keyframes orbIdleFloat {
  0% {
    transform: translateY(0) scale(1);
    filter: brightness(1);
  }

  100% {
    transform: translateY(-7px) scale(1.03);
    filter: brightness(1.08);
  }
}

.orb-fluid-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.orb-chroma-swirl {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%, #38bdf8, #818cf8, #a855f7, #ec4899, #38bdf8);
  opacity: 0.35;
  filter: blur(12px);
  animation: chromaRotate 10s linear infinite;
}

@keyframes chromaRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.orb-inner-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

/* Frequency Spectrum Equalizer Bars */
.orb-freq-bars {
  display: flex;
  align-items: center;
  gap: 3.5px;
  height: 38px;
  z-index: 3;
}

.orb-freq-bars span {
  width: 3.5px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.85);
  transition: height 0.15s ease;
}

/* Orb Status Chip - Hidden for clean minimalist meeting view */
.orb-status-chip,
#orb-status-text {
  display: none !important;
}

/* Top Left Overlay: Speaking Pill - Hidden for clean Google Meet view */
.video-overlay-pill.top-left.speaking-pill,
#host-speaking-pill {
  display: none !important;
}

/* SPEAKING STATE: Live Voice Pulsing Dynamics */
.voice-orb-container.is-speaking .live-voice-orb {
  animation: orbSpeakingVoice 1.1s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  box-shadow: 0 0 75px rgba(56, 189, 248, 0.75), 0 0 140px rgba(79, 70, 229, 0.45), inset 0 0 35px rgba(255, 255, 255, 0.65);
}

@keyframes orbSpeakingVoice {
  0% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.12);
    filter: brightness(1.25);
  }

  100% {
    transform: scale(1.05);
    filter: brightness(1.12);
  }
}

.voice-orb-container.is-speaking .orb-status-chip {
  color: #7dd3fc;
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(14, 116, 144, 0.25);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
}

.voice-orb-container.is-speaking .pulse-ring {
  animation: orbRippleRing 2.2s cubic-bezier(0.1, 0.8, 0.2, 1) infinite;
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.3);
}

.voice-orb-container.is-speaking .ring-1 {
  animation-delay: 0s;
}

.voice-orb-container.is-speaking .ring-2 {
  animation-delay: 0.45s;
}

.voice-orb-container.is-speaking .ring-3 {
  animation-delay: 0.9s;
}

.voice-orb-container.is-speaking .ring-4 {
  animation-delay: 1.35s;
}

@keyframes orbRippleRing {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.9;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

/* Equalizer Bars Dynamic Wave while Maya is speaking */
.voice-orb-container.is-speaking .orb-freq-bars span:nth-child(1) {
  animation: freqDance 0.6s infinite alternate;
}

.voice-orb-container.is-speaking .orb-freq-bars span:nth-child(2) {
  animation: freqDance 0.8s infinite alternate 0.1s;
}

.voice-orb-container.is-speaking .orb-freq-bars span:nth-child(3) {
  animation: freqDance 0.5s infinite alternate 0.25s;
}

.voice-orb-container.is-speaking .orb-freq-bars span:nth-child(4) {
  animation: freqDance 0.9s infinite alternate 0.15s;
}

.voice-orb-container.is-speaking .orb-freq-bars span:nth-child(5) {
  animation: freqDance 0.55s infinite alternate 0.3s;
}

.voice-orb-container.is-speaking .orb-freq-bars span:nth-child(6) {
  animation: freqDance 0.75s infinite alternate 0.05s;
}

.voice-orb-container.is-speaking .orb-freq-bars span:nth-child(7) {
  animation: freqDance 0.65s infinite alternate 0.2s;
}

@keyframes freqDance {
  0% {
    height: 6px;
  }

  50% {
    height: 32px;
  }

  100% {
    height: 16px;
  }
}

/* LISTENING STATE: Candidate is speaking */
.voice-orb-container.is-listening .live-voice-orb {
  background: radial-gradient(circle at 32% 28%, #a7f3d0 0%, #34d399 28%, #059669 65%, #064e3b 100%);
  box-shadow: 0 0 70px rgba(52, 211, 153, 0.65), inset 0 0 25px rgba(255, 255, 255, 0.5);
  animation: orbListeningPulse 1.4s ease-in-out infinite alternate;
}

@keyframes orbListeningPulse {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.voice-orb-container.is-listening .pulse-ring {
  border-color: rgba(52, 211, 153, 0.4);
  animation: orbRippleRing 1.8s cubic-bezier(0.1, 0.8, 0.2, 1) infinite;
}

.voice-orb-container.is-listening .orb-status-chip {
  color: #6ee7b7;
  border-color: rgba(52, 211, 153, 0.45);
  background: rgba(6, 78, 59, 0.35);
}

/* ── CONDUCT VIOLATION & TERMINATION: Glowing Red Orb ── */
.voice-orb-container.is-danger .live-voice-orb {
  background: radial-gradient(circle at 30% 25%, #fca5a5 0%, #ef4444 32%, #dc2626 65%, #7f1d1d 100%) !important;
  box-shadow: 0 0 85px rgba(239, 68, 68, 0.9), 0 0 160px rgba(185, 28, 28, 0.65), inset 0 0 35px rgba(255, 255, 255, 0.75) !important;
  animation: orbDangerVoice 0.85s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate !important;
}

@keyframes orbDangerVoice {
  0% {
    transform: scale(1);
    filter: brightness(1) drop-shadow(0 0 20px rgba(239, 68, 68, 0.6));
  }

  50% {
    transform: scale(1.15);
    filter: brightness(1.3) drop-shadow(0 0 40px rgba(239, 68, 68, 0.95));
  }

  100% {
    transform: scale(1.08);
    filter: brightness(1.15) drop-shadow(0 0 25px rgba(239, 68, 68, 0.75));
  }
}

.voice-orb-container.is-danger .pulse-ring {
  animation: orbDangerRipple 1.6s cubic-bezier(0.1, 0.8, 0.2, 1) infinite !important;
  border-color: rgba(239, 68, 68, 0.7) !important;
  box-shadow: 0 0 22px rgba(239, 68, 68, 0.5) !important;
}

@keyframes orbDangerRipple {
  0% {
    transform: translate(-50%, -50%) scale(0.85);
    opacity: 0.95;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.45);
    opacity: 0;
  }
}

.voice-orb-container.is-danger .orb-status-chip {
  color: #fca5a5 !important;
  border-color: rgba(239, 68, 68, 0.7) !important;
  background: rgba(127, 29, 29, 0.6) !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.4) !important;
}

.voice-orb-container.is-danger .orb-freq-bars span {
  background: #fca5a5 !important;
  box-shadow: 0 0 8px #ef4444 !important;
  animation: freqDance 0.4s infinite alternate !important;
}

/* TERMINATED STATE: Deep Cold Blood-Red Locked Orb */
.voice-orb-container.is-danger-terminated .live-voice-orb {
  background: radial-gradient(circle at 30% 25%, #ef4444 0%, #991b1b 45%, #450a0a 100%) !important;
  box-shadow: 0 0 95px rgba(220, 38, 38, 0.95), 0 0 180px rgba(127, 29, 29, 0.9), inset 0 0 25px rgba(0, 0, 0, 0.85) !important;
  animation: orbTerminatedPulse 1.8s ease-in-out infinite alternate !important;
}

@keyframes orbTerminatedPulse {
  0% {
    transform: scale(1);
    filter: brightness(0.95);
  }

  100% {
    transform: scale(1.05);
    filter: brightness(1.2);
  }
}

.voice-orb-container.is-danger-terminated .pulse-ring {
  border-color: rgba(185, 28, 28, 0.45) !important;
  animation: orbDangerRipple 2.5s cubic-bezier(0.1, 0.8, 0.2, 1) infinite !important;
}

.voice-orb-container.is-danger-terminated .orb-status-chip {
  color: #fecaca !important;
  border-color: rgba(220, 38, 38, 0.8) !important;
  background: rgba(69, 10, 10, 0.85) !important;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.5) !important;
}

/* Top Left Overlay: Speaking Pill */
.video-overlay-pill.top-left.speaking-pill {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 10;
  background: rgba(20, 22, 25, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all 0.2s;
}

.video-overlay-pill.top-left.speaking-pill .speaking-wave-bars {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 12px;
}

.video-overlay-pill.top-left.speaking-pill .speaking-wave-bars span {
  width: 2.5px;
  height: 10px;
  background: #84CC16;
  border-radius: 2px;
  animation: waveBarBounce 0.8s ease-in-out infinite alternate;
}

.video-overlay-pill.top-left.speaking-pill .speaking-wave-bars span:nth-child(2) {
  animation-delay: 0.2s;
}

.video-overlay-pill.top-left.speaking-pill .speaking-wave-bars span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes waveBarBounce {
  0% {
    height: 4px;
  }

  100% {
    height: 12px;
  }
}

/* Top Right Overlay: Pin Video Button */
.video-overlay-btn.top-right.pin-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 10;
  background: rgba(20, 22, 25, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9AA0A6;
  cursor: pointer;
  transition: all 0.2s;
}

.video-overlay-btn.top-right.pin-btn:hover {
  background: #282A2E;
  color: #FFFFFF;
}

.video-overlay-btn.top-right.pin-btn.is-pinned {
  color: #84CC16;
  border-color: rgba(132, 204, 22, 0.4);
}

/* Bottom Left Overlay: Maya Profile & Host Badge */
.video-overlay-pill.bottom-left.host-profile-pill {
  position: absolute;
  bottom: 18px;
  left: 18px;
  z-index: 10;
  background: rgba(20, 22, 25, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.host-text-meta {
  display: flex;
  flex-direction: column;
}

.host-name {
  font-size: 13.5px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  text-transform: capitalize;
}

.host-role {
  font-size: 11px;
  color: #9AA0A6;
  line-height: 1.2;
  margin-top: 1px;
}

/* Candidate Secondary Video Tile (underneath Maya on the left) */
.candidate-bottom-tile {
  width: 220px;
  height: 135px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #181A1D;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: all 0.2s ease;
}

.candidate-bottom-tile:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.candidate-bottom-tile.is-active-speaker {
  border-color: #10B981 !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.45) !important;
}

.candidate-bottom-tile .self-camera-stream {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
  display: block;
}

.candidate-bottom-tile .self-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #202226;
}

.candidate-bottom-tile .candidate-avatar-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #204B37;
  color: #84CC16;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.candidate-tile-footer {
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.candidate-tile-name {
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.candidate-tile-mic {
  background: rgba(20, 22, 26, 0.85);
  backdrop-filter: blur(6px);
  padding: 4px 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9AA0A6;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  min-width: 24px;
  min-height: 22px;
}

.candidate-tile-mic.is-muted {
  background: rgba(234, 67, 53, 0.22);
  color: #EA4335;
  border-color: rgba(234, 67, 53, 0.45);
}

.candidate-tile-mic.is-unmuted,
.candidate-tile-mic.is-active {
  background: rgba(16, 185, 129, 0.25);
  color: #10B981;
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.candidate-tile-mic svg {
  display: block;
  flex-shrink: 0;
}

/* Bottom Controls Bar */
.vcall-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  flex-shrink: 0;
}

.vcall-connection-meta {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #9AA0A6;
  line-height: 1.4;
  min-width: 170px;
}

.vcall-connection-meta .conn-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #E8EAED;
}

/* Center Controls Dock */
.vcall-controls-center {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.control-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vcall-control-pill {
  background: #282A2E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  height: 48px;
  padding: 0 18px;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.vcall-control-pill:hover {
  background: #34373C;
  transform: translateY(-1px);
}

.vcall-control-pill.is-active,
.vcall-control-pill.is-on {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: #10B981 !important;
  color: #10B981 !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35) !important;
}

.vcall-control-pill.is-active .control-icon,
.vcall-control-pill.is-on .control-icon {
  stroke: #10B981 !important;
}

/* Dedicated Active Twinkle for Mic Pill */
.vcall-control-pill.mic-pill.is-active,
#mic-toggle-btn.is-active {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: #10B981 !important;
  color: #10B981 !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.35) !important;
  animation: micActiveTwinkle 2s infinite ease-in-out !important;
}

.vcall-control-pill.mic-pill.is-active .control-icon,
#mic-toggle-btn.is-active .control-icon {
  stroke: #10B981 !important;
  filter: drop-shadow(0 0 5px rgba(16, 185, 129, 0.65));
}

.vcall-control-pill.mic-pill.is-active .caret-icon,
#mic-toggle-btn.is-active .caret-icon {
  stroke: #10B981 !important;
}

@keyframes micActiveTwinkle {
  0%, 100% {
    background: rgba(16, 185, 129, 0.16);
    border-color: #10B981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3), 0 0 0 0 rgba(16, 185, 129, 0.35);
    filter: brightness(1);
    transform: scale(1);
  }
  40% {
    background: rgba(16, 185, 129, 0.24);
    border-color: #34D399;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.6), 0 0 0 4px rgba(16, 185, 129, 0.2);
    filter: brightness(1.15);
    transform: scale(1.02);
  }
  75% {
    background: rgba(16, 185, 129, 0.18);
    border-color: #059669;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.4), 0 0 0 2px rgba(16, 185, 129, 0.1);
    filter: brightness(1.05);
    transform: scale(1.005);
  }
}

.vcall-control-pill.is-muted,
.vcall-control-pill.is-off {
  background: #232529;
  border-color: rgba(234, 67, 53, 0.35);
  color: #EA4335;
}

.vcall-control-pill.is-muted .control-icon,
.vcall-control-pill.is-off .control-icon {
  stroke: #EA4335 !important;
}

/* Deactivated / Locked Red Mic while Maya is speaking */
.vcall-control-pill.is-maya-speaking {
  background: #EA4335 !important;
  border-color: #EA4335 !important;
  color: #FFFFFF !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: 0 0 14px rgba(234, 67, 53, 0.45) !important;
  animation: pulseLockedRed 1.8s infinite ease-in-out !important;
}

.vcall-control-pill.is-maya-speaking .control-icon {
  stroke: #FFFFFF !important;
}

.vcall-control-pill.is-maya-speaking .caret-icon {
  stroke: rgba(255, 255, 255, 0.7) !important;
}

@keyframes pulseLockedRed {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.55);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(234, 67, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(234, 67, 53, 0);
  }
}

.vcall-control-pill.chat-pill {
  background: #282A2E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
}

.vcall-control-pill.chat-pill:hover {
  background: #34373C;
}

.vcall-control-pill.chat-pill.is-active {
  background: rgba(59, 130, 246, 0.22) !important;
  border-color: #3B82F6 !important;
  color: #60A5FA !important;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.35) !important;
}

.vcall-control-pill.chat-pill.is-active .control-icon {
  stroke: #60A5FA !important;
}

.vcall-control-pill .control-icon {
  flex-shrink: 0;
}

.vcall-control-pill .caret-icon {
  color: #9AA0A6;
  flex-shrink: 0;
}

.control-label {
  font-size: 11.5px;
  color: #9AA0A6;
  margin-top: 6px;
  font-weight: 500;
}

/* Leave Button */
.vcall-leave-pill {
  background: #F87171;
  border: none;
  border-radius: 12px;
  height: 48px;
  padding: 0 22px;
  color: #1E2024;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(248, 113, 113, 0.3);
}

.vcall-leave-pill:hover {
  background: #EF4444;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.control-label.subtext {
  font-size: 11px;
  color: #71767B;
  margin-top: 6px;
}

/* Bottom Right Controls */
.vcall-controls-right {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  justify-content: flex-end;
}

.vcall-secondary-action {
  background: #282A2E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  height: 48px;
  padding: 0 16px;
  color: #9AA0A6;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s;
}

.vcall-secondary-action:hover {
  background: #34373C;
  color: #FFFFFF;
}

.vcall-secondary-action.is-active {
  background: #34373C;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.2);
}

/* Right Section: Conversation Drawer */
.vcall-conversation-drawer {
  background: #181A1D;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.drawer-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.drawer-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0;
}

.drawer-badge {
  background: #84CC16;
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.drawer-dock-btn {
  background: transparent;
  border: none;
  color: #9AA0A6;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s;
}

.drawer-dock-btn:hover {
  color: #FFFFFF;
}

/* Pinned 1:1 Box */
.drawer-pinned-card {
  margin: 14px 16px 10px;
  padding: 13px 15px;
  background: #202227;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pinned-header {
  font-size: 11.5px;
  font-weight: 600;
  color: #84CC16;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 9px;
  letter-spacing: 0.15px;
  text-transform: none;
}

.pinned-header svg {
  color: #84CC16;
  flex-shrink: 0;
}

.pinned-current-round {
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.45;
  margin-bottom: 10px;
  letter-spacing: -0.1px;
  text-transform: none;
}

.pinned-upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.upcoming-item {
  font-size: 12px;
  color: #9AA0A6;
  font-weight: 450;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  letter-spacing: 0.05px;
  text-transform: none;
}

.upcoming-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: #80868B;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 5px;
  border-radius: 4px;
  min-width: 22px;
  text-align: center;
  display: inline-block;
  letter-spacing: 0;
}

.upcoming-title {
  color: #9AA0A6;
  font-weight: 450;
  text-transform: none;
}

/* Messages Timeline */
.drawer-messages-stream {
  flex: 1;
  overflow-y: auto;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
}

.drawer-messages-stream::-webkit-scrollbar {
  width: 4px;
}

.drawer-messages-stream::-webkit-scrollbar-thumb {
  background: #34373C;
  border-radius: 4px;
}

.timeline-divider {
  text-align: center;
  font-size: 11.5px;
  color: #71767B;
  margin: 6px 0;
}

.chat-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  animation: chatItemPop 0.2s ease-out;
}

@keyframes chatItemPop {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-avatar-chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-avatar-chip.host-avatar {
  background: #2D3139;
  color: #FFFFFF;
}

.chat-avatar-chip.candidate-avatar {
  background: #204B37;
  color: #84CC16;
}

.chat-content-wrap {
  flex: 1;
  min-width: 0;
}

.chat-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}

.chat-sender-name {
  font-size: 13px;
  font-weight: 600;
  color: #E8EAED;
}

.chat-timestamp {
  font-size: 11px;
  color: #71767B;
}

.chat-message-text {
  font-size: 13px;
  line-height: 1.45;
  color: #9AA0A6;
  margin: 0;
  word-break: break-word;
}

/* Typing Indicator */
.drawer-typing-indicator {
  padding: 0 18px 8px;
  font-size: 12px;
  font-style: italic;
  color: #84CC16;
  flex-shrink: 0;
}

/* Bottom Message Input */
.drawer-input-area {
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.drawer-input-pill {
  background: #22252A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 4px 6px 4px 14px;
  gap: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.drawer-input-pill:focus-within {
  border-color: #84CC16;
  box-shadow: 0 0 0 2px rgba(132, 204, 22, 0.2);
}

.drawer-text-input {
  flex: 1;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 13px;
  outline: none;
  padding: 6px 0;
}

.drawer-text-input::placeholder {
  color: #71767B;
}

.drawer-input-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.input-icon-btn {
  background: transparent;
  border: none;
  color: #9AA0A6;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.input-icon-btn:hover {
  color: #FFFFFF;
}

.drawer-send-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #84CC16;
  color: #000000;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.drawer-send-btn:hover {
  background: #65A30D;
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .vcall-main-content {
    grid-template-columns: 1fr 320px;
    gap: 14px;
  }
}

@media (max-width: 860px) {
  .vcall-main-content {
    grid-template-columns: 1fr;
    gap: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 768px) {
  body.meet-mode-active .videocall-app-container {
    width: 100% !important;
    max-width: 100vw !important;
    padding: 12px 12px 14px 12px !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .vcall-main-content {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }

  .vcall-header {
    height: 36px;
    margin-bottom: 6px;
  }

  .vcall-brand-title {
    font-size: 1.1rem;
  }

  .vcall-timer-pill {
    padding: 4px 10px;
    font-size: 12px;
  }

  .vcall-stage-meta {
    margin-bottom: 6px;
  }

  .vcall-participants-chip {
    font-size: 12px;
  }

  .vcall-stage-column {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .vcall-video-grid {
    position: relative !important;
    flex: 1 !important;
    min-height: 0 !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    padding: 2px !important;
  }

  .vcall-main-video-card {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }

  .orb-ambient-aura {
    width: 280px;
    height: 280px;
  }

  .live-voice-orb {
    width: 110px;
    height: 110px;
  }

  /* Candidate Tile on Mobile: Picture-in-Picture floating in bottom-right corner */
  .candidate-bottom-tile {
    position: absolute !important;
    bottom: 12px !important;
    right: 12px !important;
    width: 126px !important;
    height: 76px !important;
    border-radius: 10px !important;
    z-index: 15 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.75) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.18) !important;
  }

  .candidate-bottom-tile .candidate-avatar-circle {
    width: 32px !important;
    height: 32px !important;
    font-size: 12px !important;
  }

  .candidate-bottom-tile .candidate-tile-footer {
    padding: 3px 6px !important;
    gap: 4px !important;
  }

  .candidate-bottom-tile .candidate-tile-name {
    font-size: 10.5px !important;
    max-width: 90px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    flex: 1 !important;
  }

  .candidate-bottom-tile .candidate-tile-mic {
    width: 20px !important;
    height: 20px !important;
  }

  .candidate-bottom-tile .candidate-tile-mic svg {
    width: 10px !important;
    height: 10px !important;
  }

  /* Closed Captions / Movie Subtitles Banner on Mobile: Positioned cleanly above PiP user camera tile */
  .meet-cc-banner {
    bottom: 96px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    max-width: calc(100% - 24px) !important;
    width: max-content !important;
    z-index: 12 !important;
    padding: 8px 16px !important;
    background: rgba(15, 17, 21, 0.92) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    box-sizing: border-box !important;
  }

  .movie-subtitle-text,
  #maya-spoken-text {
    font-size: 13px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  /* Bottom Controls Dock on Mobile */
  .vcall-bottom-bar {
    padding-top: 6px !important;
    padding-bottom: 22px !important;
    justify-content: center;
    width: 100%;
    flex-shrink: 0;
    min-height: 74px !important;
    box-sizing: border-box !important;
  }

  .vcall-connection-meta {
    display: none !important;
  }

  .vcall-controls-right {
    display: none !important;
  }

  .vcall-controls-center {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
    position: relative;
  }

  .control-item {
    align-items: center;
  }

  .control-label {
    display: none !important;
  }

  .control-item.mic-control-item {
    position: relative;
  }

  .control-item.mic-control-item #mic-btn-label {
    display: block !important;
    position: absolute !important;
    top: 50px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    font-size: 9.5px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    letter-spacing: -0.1px !important;
    pointer-events: none !important;
  }

  .vcall-control-pill {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center;
  }

  .vcall-control-pill .caret-icon {
    display: none !important;
  }

  /* Mobile: Dedicated Active Twinkle & Emerald Accent */
  .vcall-control-pill.mic-pill.is-active,
  #mic-toggle-btn.is-active {
    background: rgba(16, 185, 129, 0.22) !important;
    border: 2px solid #10B981 !important;
    color: #10B981 !important;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.55) !important;
    animation: micActiveTwinkleMobile 1.8s infinite ease-in-out !important;
  }

  .vcall-control-pill.mic-pill.is-active .control-icon,
  #mic-toggle-btn.is-active .control-icon {
    stroke: #10B981 !important;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.8)) !important;
  }

  /* Mobile: Deactivated / Locked Red Mic while Maya is speaking */
  .vcall-control-pill.is-maya-speaking,
  #mic-toggle-btn.is-maya-speaking {
    background: #EA4335 !important;
    border: 2px solid #EA4335 !important;
    color: #FFFFFF !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    box-shadow: 0 0 16px rgba(234, 67, 53, 0.6) !important;
    animation: pulseLockedRedMobile 1.8s infinite ease-in-out !important;
  }

  .vcall-control-pill.is-maya-speaking .control-icon,
  #mic-toggle-btn.is-maya-speaking .control-icon {
    stroke: #FFFFFF !important;
  }

  /* Mobile: Candidate PiP tile Active Speaker Glow */
  .candidate-bottom-tile.is-active-speaker {
    border: 2px solid #10B981 !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.5) !important;
  }

  .candidate-bottom-tile .candidate-tile-mic.is-unmuted,
  .candidate-bottom-tile .candidate-tile-mic.is-active {
    background: rgba(16, 185, 129, 0.35) !important;
    color: #10B981 !important;
    border-color: #10B981 !important;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6) !important;
    animation: micActiveTwinkleMobile 1.8s infinite ease-in-out !important;
  }

  @keyframes micActiveTwinkleMobile {
    0%, 100% {
      background: rgba(16, 185, 129, 0.18) !important;
      border-color: #10B981 !important;
      box-shadow: 0 0 10px rgba(16, 185, 129, 0.35), 0 0 0 0 rgba(16, 185, 129, 0.4) !important;
      transform: scale(1);
      filter: brightness(1);
    }
    40% {
      background: rgba(16, 185, 129, 0.3) !important;
      border-color: #34D399 !important;
      box-shadow: 0 0 22px rgba(52, 211, 153, 0.7), 0 0 0 5px rgba(16, 185, 129, 0.22) !important;
      transform: scale(1.05);
      filter: brightness(1.2);
    }
    75% {
      background: rgba(16, 185, 129, 0.22) !important;
      border-color: #059669 !important;
      box-shadow: 0 0 14px rgba(16, 185, 129, 0.45), 0 0 0 2px rgba(16, 185, 129, 0.12) !important;
      transform: scale(1.01);
      filter: brightness(1.06);
    }
  }

  @keyframes pulseLockedRedMobile {
    0% {
      box-shadow: 0 0 0 0 rgba(234, 67, 53, 0.65);
      transform: scale(1);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(234, 67, 53, 0);
      transform: scale(1.04);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(234, 67, 53, 0);
      transform: scale(1);
    }
  }

  .vcall-leave-pill {
    height: 48px;
    padding: 0 16px;
    border-radius: 9999px;
    font-size: 13.5px;
    gap: 6px;
  }

  /* Conversation Drawer on Mobile: Slide-up modal / sheet */
  .vcall-conversation-drawer {
    position: fixed !important;
    top: 48px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100dvh - 48px) !important;
    border-radius: 18px 18px 0 0 !important;
    background: #181A1D !important;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.95) !important;
    display: flex !important;
    z-index: 1000 !important;
  }

  .vcall-main-content.chat-collapsed .vcall-conversation-drawer {
    display: none !important;
  }
}

/* ── Rate This Meeting Modal (Google Meet Dark Theme) ── */
.rate-meeting-card {
  background: #202124 !important;
  border: 1px solid #3c4043 !important;
  border-radius: 24px !important;
  padding: 32px 28px !important;
  max-width: 480px !important;
  width: 92% !important;
  color: #FFFFFF !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.85) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 18px !important;
  animation: rateModalPop 0.25s cubic-bezier(0.2, 0, 0, 1);
}

@keyframes rateModalPop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.rate-modal-icon-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.rate-sparkle-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(52, 168, 83, 0.15);
  border: 1px solid rgba(52, 168, 83, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rate-modal-title-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rate-modal-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #34A853;
}

.rate-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.rate-modal-subtitle {
  font-size: 13px;
  color: #9AA0A6;
  line-height: 1.4;
}

/* Star Rating Buttons */
.rate-stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 0 2px;
}

.star-btn {
  background: transparent;
  border: none;
  font-size: 34px;
  line-height: 1;
  color: #5F6368;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.2, 0, 0, 1);
  padding: 2px 4px;
}

.star-btn:hover {
  transform: scale(1.22);
  color: #FBBC04 !important;
}

.star-btn.active {
  color: #FBBC04;
  text-shadow: 0 0 12px rgba(251, 188, 4, 0.5);
}

.rate-feedback-text {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #E8EAED;
  min-height: 18px;
}

/* Feedback Chips */
.rate-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.rate-chip {
  background: #303134;
  color: #BDC1C6;
  border: 1px solid #3c4043;
  border-radius: 9999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.2, 0, 0, 1);
}

.rate-chip:hover {
  background: #3c4043;
  color: #FFFFFF;
  border-color: #5F6368;
}

.rate-chip.active {
  background: rgba(52, 168, 83, 0.18);
  border-color: #34A853;
  color: #34A853;
  font-weight: 600;
}

/* Comment Textarea */
.rate-comment-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rate-comment-label {
  font-size: 12px;
  font-weight: 500;
  color: #9AA0A6;
}

.rate-comment-textarea {
  background: #171717;
  border: 1px solid #3c4043;
  border-radius: 12px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13px;
  padding: 10px 12px;
  resize: none;
  transition: border-color 0.2s;
  width: 100%;
}

.rate-comment-textarea:focus {
  outline: none;
  border-color: #34A853;
}

/* Modal Actions */
.rate-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.rate-submit-btn {
  background: #34A853;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  padding: 12px 20px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  transition: all 0.2s cubic-bezier(0.2, 0, 0, 1);
  box-shadow: 0 4px 16px rgba(52, 168, 83, 0.35);
}

.rate-submit-btn:hover {
  background: #2D9348;
  box-shadow: 0 6px 20px rgba(52, 168, 83, 0.5);
  transform: translateY(-1px);
}

.rate-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.rate-skip-btn {
  background: transparent;
  color: #9AA0A6;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  padding: 6px;
  text-align: center;
  transition: color 0.2s;
}

.rate-skip-btn:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ── First-Time Mic Unmute/Mute Suggestion Tooltip ── */
.mic-control-item {
  position: relative;
}

.mic-suggestion-tooltip {
  position: absolute;
  bottom: 64px;
  left: 50%;
  transform: translateX(-50%);
  background: #20232A;
  border: 1px solid #373B44;
  color: #E8EAED;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  z-index: 1000;
  pointer-events: auto;
}

.mic-suggestion-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px 6px 0;
  border-style: solid;
  border-color: #373B44 transparent transparent;
}

.mic-suggestion-tooltip .suggestion-icon {
  font-size: 13px;
  line-height: 1;
}

.mic-suggestion-tooltip .suggestion-text {
  font-family: inherit;
  letter-spacing: -0.01em;
}

.mic-suggestion-tooltip .suggestion-close {
  background: transparent;
  border: none;
  color: #9AA0A6;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.mic-suggestion-tooltip .suggestion-close:hover {
  color: #FFFFFF;
}

.mic-suggestion-tooltip.tooltip-fade-out {
  opacity: 0;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media (max-width: 768px) {
  .mic-suggestion-tooltip {
    bottom: 58px;
    font-size: 11px;
    padding: 5px 10px;
  }
}