/* Florida AI Partners video room — dark, premium shell.
 * Brand tokens mirror the flagship (BaseLayout.astro): navy ink, Florida teal,
 * sunrise orange. The live call fills the viewport; the pre-join/fallback cards
 * sit on a navy gradient. */

:root {
  --ink: #002454;        /* deep navy */
  --brand: #009ca8;      /* Florida teal */
  --brand-deep: #007a83;
  --accent: #fc6000;     /* sunrise orange — the "AI" */
  --paper: #f7f4ef;      /* warm ivory */
  --card: #0a2d52;       /* lifted navy for the card */
  --line: rgba(255, 255, 255, 0.12);
  --muted: rgba(233, 240, 250, 0.72);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #eef4fb;
  background: var(--ink);
}

/* Pre-join + fallback share the centered-card layout */
.prejoin {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem 1.25rem;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(0, 156, 168, 0.28), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(252, 96, 0, 0.18), transparent 55%),
    linear-gradient(180deg, #002454 0%, #001a3d 100%);
}

.card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(10, 45, 82, 0.92), rgba(7, 33, 62, 0.92));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 8, 25, 0.5);
  text-align: center;
  backdrop-filter: blur(6px);
}

.wordmark {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: #cfe3f4;
  margin-bottom: 1.25rem;
}
.wordmark .ai { color: var(--accent); }

.title {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.room {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}
.room strong { color: #fff; }

.field {
  display: block;
  text-align: left;
  margin-bottom: 1rem;
}
.field span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.field input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 11px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 156, 168, 0.25);
}

/* Host sign-in area (Florida AI Partners team) */
.host {
  margin-top: 1.25rem;
}
.host__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(207, 227, 244, 0.6);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.host__divider::before,
.host__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.host__btn {
  display: flex;
  justify-content: center;
  min-height: 40px;
}
.host__status {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: var(--gold, #fcccb4);
}
.host__status--error {
  color: #ff9b8a;
}

.btn {
  display: inline-block;
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-deep) 100%);
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  transition: transform 0.08s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.7; cursor: default; }

.hint {
  margin: 0.9rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.hint a { color: var(--brand); }

.footer {
  font-size: 0.78rem;
  color: rgba(207, 227, 244, 0.55);
  margin: 0;
  text-align: center;
}

/* Live call fills the screen */
.call {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #04101f;
}
.call iframe { width: 100% !important; height: 100% !important; border: 0; }
