/* Simple client-side preview gate. This is intentionally lightweight and not a replacement for server-side access control. */
html.auth-lock body > *:not(.auth-screen) {
  display: none !important;
}

html.auth-lock,
html.auth-lock body {
  min-height: 100%;
  background: #071827;
}

.auth-screen {
  min-height: 100vh;
  display: grid !important;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(23, 196, 250, 0.22), transparent 34%),
    linear-gradient(135deg, #0B2545 0%, #071827 100%);
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-card {
  width: min(100%, 430px);
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.auth-card img {
  width: 190px;
  max-width: 70%;
  margin-bottom: 26px;
}

.auth-card h1 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.auth-card p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.auth-card label {
  display: grid;
  gap: 9px;
  color: #ffffff;
  font-weight: 800;
}

.auth-card input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  outline: none;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font: inherit;
}

.auth-card input:focus {
  border-color: #17C4FA;
  box-shadow: 0 0 0 4px rgba(23, 196, 250, 0.18);
}

.auth-card button {
  width: 100%;
  margin-top: 18px;
  border: 0;
  border-radius: 999px;
  padding: 15px 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #17C4FA, #0f93d1);
  box-shadow: 0 14px 36px rgba(23, 196, 250, 0.3);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.auth-error {
  min-height: 22px;
  margin-top: 14px !important;
  margin-bottom: 0 !important;
  color: #ffb4a2 !important;
  font-weight: 700;
}
