/* MASAJID.ID — halaman masuk, daftar, Authenticator dan pemulihan: panel merek biru malam + emas, formulir di kartu putih. */
body.auth-lux { --primary: #1F5BC4; --primary-hover: #174A9F; --primary-soft: #EAF1FB; --focus: #E2B34A; --line: #E2E8F2; --line2: #CBD5E4; --line3: #E8EDF5;
  --text: #13213A; --text2: #33425C; --muted: #5B6B84; --navy: #0B1F44; --gold: #E2B34A; --gold-2: #F4D77A;
  background: #F4F6FA; color: var(--text); }
.ax { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* Panel merek */
.ax-brand { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 40px; padding: 44px clamp(32px, 4.5vw, 72px) 48px;
  background: radial-gradient(70% 55% at 80% 100%, rgba(226, 179, 74, .16), rgba(226, 179, 74, 0) 70%), var(--navy); color: #fff; }
.ax-brand::before { content: ""; position: absolute; inset: 0; background: url(../img/landing/girih-gold.svg) 0 0 / 120px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); pointer-events: none; }
.ax-brand > * { position: relative; }
.ax-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: .02em; color: #fff; text-decoration: none; align-self: flex-start; }
.ax-logo svg { width: 32px; height: 32px; color: var(--gold); }
.ax-logo em { font-style: normal; color: var(--gold); }
.ax-pitch { display: flex; flex-direction: column; gap: 16px; max-width: 520px; margin-top: auto; }
.ax-kicker { display: inline-flex; align-items: center; gap: 9px; margin: 0; font-size: 15px; font-weight: 700; color: var(--gold-2); }
.ax-kicker::before { content: ""; width: 15px; height: 15px; flex-shrink: 0; background: url(../img/landing/star8.svg) center / contain no-repeat; }
.ax-title { margin: 0; font-family: 'Amiri', 'Times New Roman', serif; font-weight: 700; font-size: clamp(34px, 3.3vw, 48px); line-height: 1.12; }
.ax-points { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px; }
.ax-points li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; color: #C9D6EE; font-size: 16px; line-height: 1.55; }
.ax-points li::before { content: ""; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 1px solid rgba(226, 179, 74, .7);
  background: radial-gradient(circle, var(--gold) 0 3px, transparent 3.5px); }
.ax-tv { margin: 0 0 auto; max-width: 560px; background: #03070F; border-radius: 14px; padding: 7px; box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(226, 179, 74, .35); }
.ax-tv img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* Sisi formulir */
.ax-side { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 24px clamp(18px, 4vw, 56px) 22px; min-width: 0; }
.ax-langs { align-self: flex-end; display: flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.ax-langs a { min-width: 40px; text-align: center; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); text-decoration: none; }
.ax-langs a:hover { color: var(--navy); background: #F1F4FA; }
.ax-langs a[aria-current] { background: var(--navy); color: var(--gold-2); }
.ax-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.ax-foot a { color: var(--muted); }
.ax-foot a:hover { color: var(--navy); }

/* Kartu formulir (markup lama .auth-card tetap dipakai) */
.auth-lux .auth-card { width: 100%; max-width: 460px; margin: auto 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 40px 38px 34px;
  box-shadow: 0 30px 70px rgba(11, 31, 68, .08); display: flex; flex-direction: column; gap: 16px; }
.auth-lux .auth-card[style*="max-width"] { max-width: 540px !important; }
.auth-lux .auth-card h1 { margin: 0; font-family: 'Amiri', 'Times New Roman', serif; font-weight: 700; font-size: 36px; line-height: 1.12; letter-spacing: 0; color: var(--navy); }
.auth-lux .auth-card .muted { color: var(--muted); }
.auth-lux .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--navy); }
.auth-lux .kicker::before { content: ""; width: 13px; height: 13px; background: url(../img/landing/star8.svg) center / contain no-repeat; }
.auth-lux .field label { font-size: 14px; font-weight: 700; color: var(--text2); }
.auth-lux .field input, .auth-lux .field select, .auth-lux .affix { border-radius: 12px; border-color: var(--line2); }
.auth-lux .field input:not([type="checkbox"]):not([type="radio"]), .auth-lux .field select { height: 50px; font-size: 16px; }
.auth-lux .field input:focus, .auth-lux .field select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(226, 179, 74, .45); outline: none; }
.auth-lux .affix span { background: #F4F6FA; color: var(--muted); }
.auth-lux .otp { letter-spacing: .4em; font-size: 26px !important; font-weight: 800; text-align: center; }
.auth-lux .btn { border-radius: 12px; }
.auth-lux .btn:not(.ghost):not(.danger) { background: linear-gradient(180deg, #F7DC8A 0%, #E2B24A 100%); border-color: #CF9D36; color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 8px 20px rgba(201, 151, 50, .25); font-weight: 800; }
.auth-lux .btn:not(.ghost):not(.danger):hover { background: linear-gradient(180deg, #FAE39D 0%, #E8BC57 100%); color: var(--navy); }
.auth-lux .btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.auth-lux .btn.lg { height: 52px; font-size: 16px; }
.auth-lux .linkbtn, .auth-lux .auth-card a { color: var(--primary); font-weight: 600; }
.auth-lux .check input { accent-color: var(--navy); }
.auth-lux .auth-foot { margin: 4px 0 0; text-align: center; font-size: 14.5px; color: var(--muted); }
.auth-lux .auth-tenant { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #F8FAFD; }
.auth-lux .auth-tenant svg { width: 34px; height: 34px; color: var(--gold); }
.auth-lux .qr { border: 1px solid var(--line); border-radius: 14px; }

@media (max-width: 1000px) {
  .ax { grid-template-columns: minmax(0, 1fr); }
  .ax-brand { padding: 18px 20px 22px; gap: 10px; }
  .ax-brand::before { -webkit-mask-image: none; mask-image: none; opacity: .6; }
  .ax-pitch { margin-top: 4px; gap: 6px; }
  .ax-title { font-size: 24px; }
  .ax-kicker, .ax-points, .ax-tv { display: none; }
  .ax-side { padding-top: 16px; }
  .auth-lux .auth-card { padding: 28px 22px 24px; border-radius: 18px; margin: 0; }
  .auth-lux .auth-card h1 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .auth-lux * { scroll-behavior: auto; } }
