/* Full-screen gate for webinar-only tools (static client-side check). */

html.webinar-gate-open,
html.webinar-gate-open body {
  height: 100%;
  overflow: hidden;
}

#webinar-gate-root {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background: linear-gradient(
      135deg,
      #3b0764 0%,
      #5b21b6 45%,
      #2b0a3d 100%
    );
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    Arial, sans-serif;
}

.webinar-gate-card {
  width: 100%;
  max-width: 420px;
  padding: 32px 28px 28px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(17, 24, 39, 0.08);
}

.webinar-gate-card h1 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #111827;
}

.webinar-gate-card .sub {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: #4b5563;
}

.webinar-gate-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.webinar-gate-card input[type="password"],
.webinar-gate-card input[type="text"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid rgba(17, 24, 39, 0.15);
  border-radius: 10px;
  box-sizing: border-box;
  margin-bottom: 16px;
}

.webinar-gate-card input:focus {
  outline: none;
  border-color: rgba(124, 58, 237, 0.65);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.2);
}

.webinar-gate-card button[type="submit"] {
  width: 100%;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
  box-shadow: 0 10px 28px rgba(91, 33, 182, 0.35);
}

.webinar-gate-card button[type="submit"]:hover {
  filter: brightness(1.05);
}

.webinar-gate-card .error {
  min-height: 1.25em;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #b91c1c;
}

.webinar-gate-card .foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(17, 24, 39, 0.08);
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.webinar-gate-card .foot a {
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
}

.webinar-gate-card .foot a:hover {
  text-decoration: underline;
}
