/* L2TOP V39.1 — centered, restrained authentication layout.
 * Scoped to the four public authentication views only.
 * Retains native Bootstrap alerts and functional form markup.
 */
.l2auth-page {
  --auth-background: #eef2f7;
  --auth-card: #ffffff;
  --auth-text: #172a45;
  --auth-muted: #667993;
  --auth-border: #dce3ec;
  --auth-field: #fafbfd;
  --auth-gold: #245b91;
  --auth-gold-deep: #245b91;
  --auth-shadow: 0 18px 55px rgba(25, 45, 70, .09);
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: clamp(28px, 5vw, 66px) 16px clamp(38px, 6vw, 75px);
  color: var(--auth-text);
  background: transparent;
  box-sizing: border-box;
}
html[data-bs-theme="dark"] .l2auth-page {
  --auth-background: #0f1929;
  --auth-card: #17243a;
  --auth-text: #f2f5fb;
  --auth-muted: #acbacd;
  --auth-border: #34445b;
  --auth-field: #1e2d43;
  --auth-gold: #4e85be;
  --auth-gold-deep: #245b91;
  --auth-shadow: 0 18px 55px rgba(0, 0, 0, .2);
}
.l2auth-page *, .l2auth-page *::before, .l2auth-page *::after { box-sizing: border-box; }
.l2auth-shell { max-width: 510px; margin: 0 auto; }
.l2auth-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--auth-border);
  border-radius: 16px;
  background: var(--auth-card);
  box-shadow: var(--auth-shadow);
}
.l2auth-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 27px clamp(25px, 6%, 38px) 23px;
  border-bottom: 1px solid var(--auth-border);
}
.l2auth-brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(36,91,145,.35);
  border-radius: 12px;
  color: var(--auth-gold);
  background: rgba(36,91,145,.09);
  font-size: 22px;
}
.l2auth-brand-copy strong {
  display: block;
  color: var(--auth-text);
  font: 700 23px/1.06 Georgia, 'Times New Roman', serif;
  letter-spacing: -.025em;
}
.l2auth-brand-copy strong span { color: var(--auth-gold); }
.l2auth-brand-copy small {
  display: block;
  margin-top: 5px;
  color: var(--auth-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}
.l2auth-card-body { padding: 32px clamp(25px, 6%, 38px) 28px; }
.l2auth-eyebrow {
  margin-bottom: 10px;
  color: var(--auth-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.l2auth-page h1 {
  margin: 0 0 10px;
  color: var(--auth-text);
  font: 700 clamp(25px, 4vw, 31px)/1.2 Georgia, 'Times New Roman', serif;
  letter-spacing: -.02em;
}
.l2auth-description {
  margin: 0 0 25px;
  color: var(--auth-muted);
  font-size: 13px;
  line-height: 1.65;
}
.l2auth-form { display: flex; flex-direction: column; gap: 15px; }
.l2auth-field { display: flex; flex-direction: column; gap: 7px; }
.l2auth-field label {
  margin: 0;
  color: var(--auth-text);
  font-size: 12px;
  font-weight: 700;
}
.l2auth-form input.form-control {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  padding: 11px 14px;
  border: 1px solid var(--auth-border);
  border-radius: 9px;
  background: var(--auth-field);
  color: var(--auth-text);
  font-size: 13px;
  box-shadow: none;
}
.l2auth-form input.form-control::placeholder { color: var(--auth-muted); opacity: .82; }
.l2auth-form input.form-control:focus {
  border-color: var(--auth-gold);
  background: var(--auth-field);
  color: var(--auth-text);
  box-shadow: 0 0 0 3px rgba(36,91,145,.13);
  outline: none;
}
.l2auth-submit {
  display: flex;
  width: 100%;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
  padding: 12px 17px;
  border: 1px solid var(--auth-gold-deep);
  border-radius: 9px;
  background: linear-gradient(180deg, #245b91, #245b91);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
  text-align: left;
  transition: background .15s ease, transform .15s ease;
}
.l2auth-submit:hover { background: linear-gradient(180deg, #245b91, #245b91); color: #fff; }
.l2auth-submit:active { transform: translateY(1px); }
.l2auth-submit:focus-visible, .l2auth-page a:focus-visible {
  outline: 3px solid var(--auth-gold);
  outline-offset: 3px;
}
.l2auth-bottom { margin-top: 24px; text-align: center; font-size: 12px; color: var(--auth-muted); }
.l2auth-bottom a, .l2auth-card-footer a { color: var(--auth-gold); text-decoration: none; font-weight: 700; }
.l2auth-bottom a:hover, .l2auth-card-footer a:hover { text-decoration: underline; }
.l2auth-bottom p { margin: 12px 0 0; }
.l2auth-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px clamp(25px, 6%, 38px);
  border-top: 1px solid var(--auth-border);
  color: var(--auth-muted);
  font-size: 11px;
}
.l2auth-alert { margin: 0 0 20px; padding: 11px 13px; border-radius: 9px; font-size: 12px; line-height: 1.6; }
@media (max-width: 540px) {
  .l2auth-page { padding: 22px 10px 36px; }
  .l2auth-card { border-radius: 12px; }
  .l2auth-brand { padding: 21px 22px 18px; }
  .l2auth-card-body { padding: 27px 22px 25px; }
  .l2auth-card-footer { padding: 16px 22px; flex-wrap: wrap; }
}

/* V49 Royal Blue Auth – all four live forms */
.l2auth-page {--auth-gold:#245B91;--auth-gold-deep:#1B4775;}
html[data-bs-theme="dark"] .l2auth-page {--auth-gold:#9BC7FB;--auth-gold-deep:#4588CE;}
.l2auth-page .l2auth-submit {background:#245B91 !important;border-color:#245B91 !important;color:#fff !important;}
.l2auth-page .l2auth-submit:hover {background:#1B4775 !important;border-color:#1B4775 !important;}
.l2auth-page .l2auth-form input.form-control:focus {box-shadow:0 0 0 3px rgba(36,91,145,.18);} 
