/* Moderator Control Room — Unified Steel-Slate & Deep Navy Login-Page Style */

.admin-shell {
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Top Executive Bar (Deep Midnight Navy) */
.admin-topbar {
  background: var(--bg-navy-deep);
  color: var(--text-white);
  border-radius: 28px;
  padding: 22px 28px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.admin-brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.admin-brand-logos img {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.admin-title-block h1 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
}

.admin-title-block p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* KPI Strip */
.admin-kpi-strip {
  display: flex;
  align-items: center;
  gap: 22px;
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 22px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.kpi-item {
  display: flex;
  flex-direction: column;
  min-width: 82px;
}

.kpi-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.kpi-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-actions-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Master Switchboard (3 Form Cards in Unified Steel-Slate & Deep Navy) */
.switchboard-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 6px;
}

.section-heading {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
}

.switchboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

.switch-card {
  background: var(--bg-slate);
  color: var(--text-white);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
}

.switch-card.state-live {
  background: var(--bg-navy-deep);
  border-color: var(--accent-cyan);
}

.switch-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.switch-form-num {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.switch-form-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.switch-form-subtitle {
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.88;
  line-height: 1.45;
}

.switch-progress-box {
  background: rgba(15, 24, 34, 0.38);
  border-radius: 16px;
  padding: 12px 16px;
}

.switch-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 8px;
  color: var(--text-light);
  font-weight: 500;
}

.progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--accent-cyan);
  border-radius: 999px;
  transition: width 0.4s ease;
}

.progress-track-light {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill-navy {
  height: 100%;
  background: var(--accent-cyan);
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* 3-State Pill Segmented Control */
.state-toggle-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: rgba(15, 24, 34, 0.5);
  padding: 5px;
  border-radius: var(--radius-pill);
}

.state-btn {
  padding: 10px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.state-btn:hover {
  color: var(--text-white);
}

.state-btn.active-locked {
  background: rgba(255, 255, 255, 0.18);
  color: var(--text-white);
}

.state-btn.active-live {
  background: var(--accent-cyan);
  color: var(--bg-navy-deep);
  font-weight: 700;
}

.state-btn.active-closed {
  background: var(--accent-gold);
  color: var(--bg-navy-deep);
  font-weight: 700;
}

/* Workspace Navigation Pills */
.workspace-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  background: var(--bg-slate);
  border: 1.5px solid transparent;
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.nav-tab-btn:hover {
  color: var(--text-white);
}

.nav-tab-btn.active {
  background: var(--bg-navy-deep);
  color: var(--text-white);
  border-color: var(--accent-cyan);
}

.tab-count-pill {
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--accent-cyan);
  font-size: 0.74rem;
}

/* TAB 1: Filter Bar (Steel-Slate Card with Crisp White Pill Inputs) */
.filter-toolbar {
  background: var(--bg-slate);
  color: var(--text-white);
  border-radius: 26px;
  padding: 18px 22px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 180px 1.2fr 180px 180px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

@media (max-width: 1200px) {
  .filter-toolbar {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .filter-toolbar {
    grid-template-columns: 1fr;
  }
}

.talking-points-layout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 1080px) {
  .talking-points-layout {
    grid-template-columns: 1fr;
  }
}

.stream-column,
.pinned-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.column-header-card,
.column-header-slate {
  background: var(--bg-navy-deep);
  color: var(--text-white);
  border-radius: 24px;
  padding: 18px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.response-feed-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 740px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Response Cards in Steel-Slate */
.response-card {
  padding: 22px 24px;
  border-radius: 24px;
  background: var(--bg-slate);
  color: var(--text-white);
  box-shadow: var(--shadow-card);
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all var(--transition-fast);
}

.response-card.is-pinned {
  background: var(--bg-navy-deep);
  border-color: var(--accent-cyan);
}

.response-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.participant-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
}

.response-q-tag {
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 700;
  background: rgba(15, 24, 34, 0.45);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
}

.response-body-text {
  font-size: 0.95rem;
  color: var(--text-white);
  line-height: 1.55;
  white-space: pre-wrap;
}

.response-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pin-btn {
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 24, 34, 0.35);
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.pin-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-white);
}

.pin-btn.pinned {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: var(--bg-navy-deep);
  font-weight: 700;
}

/* TAB 2: Visual Analytics in Unified Steel-Slate Cards */
.analytics-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.analytics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.analytics-card {
  background: var(--bg-slate);
  color: var(--text-white);
  border-radius: 28px;
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.analytics-card.full-span {
  grid-column: 1 / -1;
}

.analytics-q-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.analytics-q-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-white);
}

.choice-bars-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.choice-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.choice-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-white);
}

.choice-bar-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  overflow: hidden;
}

.choice-bar-fill {
  height: 100%;
  background: var(--accent-cyan);
  border-radius: 999px;
  transition: width 0.5s ease;
}

/* Circular Arc Gauge */
.scale-analytics-wrap {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 600px) {
  .scale-analytics-wrap {
    grid-template-columns: 1fr;
  }
}

.gauge-ring-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Word Cloud Pills Inside Steel-Slate Card */
.word-cloud-canvas {
  min-height: 180px;
  padding: 24px;
  border-radius: 20px;
  background: rgba(15, 24, 34, 0.38);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

.word-cloud-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg-navy-deep);
  color: var(--text-white);
  border: 1px solid rgba(92, 225, 230, 0.3);
  font-weight: 600;
}

.word-cloud-chip .wc-count {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent-cyan);
  color: var(--bg-navy-deep);
  font-weight: 700;
}

/* Scrollable Text Responses inside Analytics Card */
.analytics-text-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 250px;
  overflow-y: auto;
  padding-right: 4px;
}

.analytics-text-item {
  padding: 13px 16px;
  border-radius: 16px;
  background: rgba(15, 24, 34, 0.38);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-white);
}

/* TAB 3: Provinces & Formation Stage Breakdown */
.provinces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.province-stat-card {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(15, 24, 34, 0.42);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* TAB 4: Projector Remote Control */
.projector-remote-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .projector-remote-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.remote-mode-card {
  padding: 20px 18px;
  border-radius: 20px;
  background: var(--bg-navy-deep);
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
}

.remote-mode-card:hover {
  background: #162436;
}

.remote-mode-card.active {
  border-color: var(--accent-cyan);
}

.remote-icon-ring {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-cyan);
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.82rem;
}

.empty-state-box {
  padding: 36px 20px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ============================================================================
   ADMIN LOGIN SCREEN (Unified Steel-Slate Login Card)
   ============================================================================ */
.admin-auth-wrapper {
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.admin-login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-slate);
  color: var(--text-white);
  border-radius: 32px;
  padding: 38px 32px 34px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.admin-avatar-outline {
  width: 68px;
  height: 68px;
  margin-bottom: 16px;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-login-card h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.admin-login-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  opacity: 0.88;
  line-height: 1.5;
  margin-bottom: 24px;
}

.admin-login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.admin-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-field-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  letter-spacing: 0.02em;
}

/* ============================================================================
   TAB 5: REGISTERED PARTICIPANTS & ADMIN ACCESS MANAGEMENT
   ============================================================================ */
.participants-toolbar {
  background: var(--bg-slate);
  color: var(--text-white);
  border-radius: 26px;
  padding: 18px 24px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.5fr 220px 200px auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .participants-toolbar {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .participants-toolbar {
    grid-template-columns: 1fr;
  }
}

.participants-list-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.participant-access-card {
  background: var(--bg-slate);
  color: var(--text-white);
  border-radius: 24px;
  padding: 20px 26px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  transition: all var(--transition-fast);
}

.participant-access-card.is-admin-user {
  background: var(--bg-navy-deep);
  border-color: var(--accent-cyan);
}

.participant-access-info {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.participant-initial-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 24, 34, 0.55);
  border: 1.5px solid var(--accent-cyan);
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.participant-access-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.participant-access-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.participant-access-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-white);
}

.participant-access-sub {
  font-size: 0.82rem;
  color: var(--text-light);
  opacity: 0.88;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.participant-access-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================================
   DUMMY-PROOF LOCAL 3-VIDEO DECK (Chapter 2, Chapter 3, Chapter 4)
   ============================================================================ */
.local-video-deck-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

@media (max-width: 1080px) {
  .local-video-deck-grid {
    grid-template-columns: 1fr;
  }
}

.video-slot-card {
  background: var(--bg-navy-deep);
  color: var(--text-white);
  border-radius: 26px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  transition: all var(--transition-fast);
}

.video-slot-card.is-attached {
  border-color: rgba(92, 225, 230, 0.45);
}

.video-slot-card.is-playing {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(92, 225, 230, 0.22), var(--shadow-card);
}

.video-slot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.video-slot-chapter-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.video-slot-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 4px;
}

.video-slot-subtitle {
  font-size: 0.8rem;
  color: var(--text-light);
  opacity: 0.85;
}

.video-file-info-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 13px 16px;
  font-size: 0.82rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.video-slot-card.is-attached .video-file-info-box {
  background: rgba(92, 225, 230, 0.1);
  border: 1px solid rgba(92, 225, 230, 0.35);
  color: var(--text-white);
}

.video-file-name {
  font-weight: 600;
  word-break: break-all;
}

.video-slot-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-play-big-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-cyan);
  color: var(--bg-navy-deep);
  transition: all var(--transition-fast);
}

.video-play-big-btn:hover:not(:disabled) {
  background: #7beaf0;
  transform: translateY(-1px);
}

.video-play-big-btn:disabled {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  cursor: not-allowed;
}

.video-attach-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-attach-label-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all var(--transition-fast);
}

.video-attach-label-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.video-player-stage-box {
  background: var(--bg-navy-deep);
  color: var(--text-white);
  border-radius: 28px;
  padding: 26px 28px;
  box-shadow: var(--shadow-card);
  border: 1.5px solid rgba(92, 225, 230, 0.28);
}

.dummy-proof-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.chapter-pill-Select-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}


