/* presentation-mode.css - the camera barge button and its modals.

   These styles were written into public/css/admin.css, which no view has ever
   linked. The markup rendered, the JavaScript ran, and the button was a plain
   unstyled element with no background, sitting invisible against the page. It
   is in its own file, linked from partials/head.ejs, so it cannot be orphaned
   again. */

/* ─── Presentation Mode: the camera barge ─────────────────────
   A primary broadcast action, not a settings item. Deliberately larger and
   louder than Go Live All so it cannot be confused with it by someone who is
   already flustered. See PresentationStreaming_SoW_v2_0 section 7.2. */

.pm-panel {
  margin: 0 0 20px;
}

.btn-presentation {
  display: block;
  width: 100%;
  min-height: 56px;
  padding: 16px 24px;
  border: 0;
  border-radius: 8px;
  background: #7c3aed;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.btn-presentation:hover:not(:disabled) {
  background: #6d28d9;
}

.btn-presentation:disabled {
  background: #3f3a52;
  color: #8b849c;
  cursor: not-allowed;
}

.btn-presentation.is-active {
  background: #b91c1c;
}

.btn-presentation.is-active:hover:not(:disabled) {
  background: #991b1b;
}

.btn-presentation.is-working {
  opacity: 0.7;
  cursor: wait;
}

.btn-presentation-sm {
  width: auto;
  min-height: 44px;
  padding: 12px 22px;
  font-size: 14px;
}

.pm-reason {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: #9ca3af;
}

.pm-live {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0 0;
  font-size: 13px;
  color: #d1d5db;
}

.pm-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dc2626;
  flex: 0 0 auto;
}

/* ─── Modals ──────────────────────────────────────────────── */

.pm-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
}

.pm-modal[hidden] {
  display: none;
}

.pm-modal-box {
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 26px 28px;
  background: #16181f;
  border: 1px solid #2b303c;
  border-radius: 10px;
}

.pm-modal-title {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  color: #fafafa;
}

.pm-modal-copy {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.6;
  color: #d1d5db;
}

.pm-modal-note {
  margin: 6px 0 18px;
  font-size: 12px;
  line-height: 1.5;
  color: #9ca3af;
}

.pm-audio-list {
  margin: 0 0 18px;
}

.pm-audio-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-size: 13px;
  color: #d1d5db;
  cursor: pointer;
}

.pm-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 22px;
}

.pm-modal-actions-stack {
  flex-direction: column;
}

.pm-modal-actions-stack .btn,
.pm-modal-actions-stack .btn-presentation {
  width: 100%;
}

@media (max-width: 640px) {
  .btn-presentation {
    min-height: 64px;
    font-size: 19px;
  }
}
