/* login/landingAuth.css — the auth modal (log in / create account / forgot /
   reset) layered over the landing page. Loads after landing.css (shares its
   :root tokens). Every element that sets display:flex carries a [hidden]
   guard — the platform rule. */

.lpa-back {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(10, 25, 48, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.lpa-back[hidden] { display: none; }

.lpa-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(10, 25, 48, 0.4);
  padding: 40px 38px 32px;
  animation: lpaIn 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.15);
  max-height: calc(100vh - 44px);
  overflow: auto;
}
@keyframes lpaIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.lpa-x {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--lp-faint);
  padding: 6px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}
.lpa-x[hidden] { display: none; }
.lpa-x:hover { background: var(--lp-tint); color: var(--lp-ink); }

.lpa-mark { display: flex; justify-content: center; margin-bottom: 16px; }
.lpa-mark[hidden] { display: none; }
.lpa-mark .lp-brand__dot { width: 34px; height: 34px; border-radius: 10px; }

.lpa-banner {
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 16px;
  background: #fdecea;
  color: #b3261e;
}
.lpa-banner.is-ok { background: #e6f4ea; color: #188038; }
.lpa-banner[hidden] { display: none; }

.lpa-title { text-align: center; font-size: 21px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 6px; }
.lpa-sub { text-align: center; font-size: 13.5px; color: var(--lp-muted); margin-bottom: 22px; line-height: 1.55; }

.lpa-form { display: flex; flex-direction: column; }
.lpa-form[hidden] { display: none; }
.lpa-label { font-size: 12.5px; font-weight: 800; margin: 0 0 6px; color: var(--lp-ink-soft); }
.lpa-label + .lpa-label { margin-top: 0; }
.lpa-hint { font-weight: 600; color: var(--lp-faint); }
.lpa-input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d4dce8;
  border-radius: 11px;
  font: inherit;
  font-size: 14.5px;
  background: #fbfcfe;
  margin-bottom: 15px;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.lpa-input:focus {
  outline: none;
  border-color: var(--lp-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12);
}
.lpa-input.is-bad { border-color: #b3261e; }

.lpa-go { width: 100%; margin-top: 4px; padding: 13px 20px; font-size: 15px; }
.lpa-go.is-busy { opacity: 0.6; pointer-events: none; }

.lpa-links {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-muted);
  margin-top: 18px;
}
.lpa-links a { color: var(--lp-blue); text-decoration: none; font-weight: 700; }
.lpa-links a:hover { text-decoration: underline; }
.lpa-fine { text-align: center; font-size: 12px; color: var(--lp-faint); margin-top: 14px; line-height: 1.55; }

.lpa-panel[hidden] { display: none; }

@media (max-width: 460px) {
  .lpa-modal { padding: 32px 22px 26px; }
}

/* ---- r2 (2026-07-31): password eyes, check-mail panel, signups-closed ---- */
.lpa-pw { position: relative; }
.lpa-pw .lpa-input { padding-right: 46px; }
.lpa-eye {
  position: absolute;
  right: 6px;
  top: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--lp-faint);
  padding: 7px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.lpa-eye[hidden] { display: none; }
.lpa-eye:hover { color: var(--lp-ink); background: var(--lp-tint); }
.lpa-eye .material-symbols-outlined { font-size: 20px; }

.lpa-bigico {
  display: flex;
  justify-content: center;
  margin: 4px 0 14px;
}
.lpa-bigico[hidden] { display: none; }
.lpa-bigico .material-symbols-outlined {
  font-size: 30px;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--lp-grad);
  box-shadow: 0 10px 24px rgba(106, 27, 154, 0.3);
}
.lpa-strong { font-weight: 800; color: var(--lp-ink); word-break: break-all; }

.lpa-resend {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--lp-muted);
  margin-top: 14px;
  background: #fff8e6;
  border: 1px solid #f3e3b3;
  border-radius: 10px;
  padding: 10px 12px;
}
.lpa-resend[hidden] { display: none; }
.lpa-resend a { color: var(--lp-blue); font-weight: 700; text-decoration: none; }
.lpa-resend a:hover { text-decoration: underline; }

.lpa-closed {
  text-align: center;
  padding: 8px 0 4px;
}
.lpa-closed[hidden] { display: none; }
.lpa-closed > .material-symbols-outlined {
  font-size: 26px;
  color: var(--lp-purple);
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(106, 27, 154, 0.08);
  margin-bottom: 12px;
}
.lpa-closed p { font-size: 13.5px; color: var(--lp-muted); line-height: 1.6; margin: 0 0 8px; }
