/* ===== Halaman masuk & OTP (prefix au-) ===== */
.auth-modern { background: #f4f8f6; }
.auth-modern .page-body { width: 100%; max-width: none; padding: 0; }
.auth-modern .page-body > .alert-widget { max-width: 1100px; margin: 16px auto; }
.au {
    --au-ink: #10302b; --au-muted: #5b7069; --au-line: #e2ebe7; --au-soft: #f2f7f5;
    --au-deep: #062a26; --au-teal: #0f7a66; --au-mint: #2fd3a8; --au-gold: #e7b54a;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: min(100% - 48px, 1160px); min-height: min(720px, calc(100dvh - 140px));
    margin: 40px auto 64px; overflow: hidden;
    border: 1px solid var(--au-line); border-radius: 28px; background: #fff;
    box-shadow: 0 40px 80px -48px #062a2666;
    font-family: Inter, system-ui, sans-serif;
}
.au *, .au *::before, .au *::after { box-sizing: border-box; letter-spacing: 0; }
.au :is(h1, h2, p, ul) { margin: 0; padding: 0; }
.au a { text-decoration: none; }

/* Panel merek */
.au-brand { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 40px; padding: 40px 44px; overflow: hidden; color: #fff; background: radial-gradient(520px 320px at 100% 0%, #b98a2540, transparent), radial-gradient(560px 380px at 0% 100%, #13a07f55, transparent), var(--au-deep); }
.au-brand .batik-layer { --batik-opacity: .1; --batik-fade: radial-gradient(90% 70% at 100% 0%, #000 0%, #0008 45%, transparent 85%); }
.au-brand-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.au-brand-logo img { width: 52px; height: 52px; padding: 4px; border-radius: 14px; background: #fff; object-fit: contain; }
.au-brand-logo span { display: flex; flex-direction: column; line-height: 1.15; }
.au-brand-logo strong { font: 700 22px Outfit, sans-serif; }
.au-brand-logo small { color: #a9c6bc; font-size: 12.5px; }
.au-brand-copy { margin-block: auto; }
.au-brand-kicker { display: block; max-width: 340px; font-size: 14px; line-height: 1.6; }
.au-brand-kicker { color: var(--au-mint); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.au-brand h2 { margin-top: 14px; font: 700 clamp(26px, 2.6vw, 34px)/1.2 Outfit, sans-serif; text-wrap: balance; }
.au-brand ul { display: grid; gap: 14px; margin-top: 30px; list-style: none; }
.au-brand li { display: flex; gap: 14px; padding: 14px 16px; border: 1px solid #ffffff1c; border-radius: 16px; background: #ffffff0a; backdrop-filter: blur(4px); }
.au-brand li > i { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: #ffffff14; color: var(--au-gold); font-size: 16px; }
.au-brand li span { display: flex; flex-direction: column; gap: 3px; color: #b9d3ca; font-size: 13.5px; line-height: 1.5; }
.au-brand li strong { color: #fff; font-size: 14.5px; }
.au-brand-foot { display: flex; align-items: center; gap: 8px; color: #a9c6bc; font-size: 13px; }
.au-brand-foot i { color: var(--au-mint); }

/* Kartu form */
.au-main { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 48px 40px; background: radial-gradient(500px 260px at 50% 0%, #e7f6f0, transparent), #fff; }
.au-card { width: min(100%, 400px); }
.au-head { margin-bottom: 26px; }
.au-head-logo { display: none; width: 56px; height: 56px; margin-bottom: 16px; object-fit: contain; }
.au-head-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 18px; background: var(--au-deep); color: var(--au-gold); font-size: 22px; }
.au-kicker { color: var(--au-teal); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.au-head h1 { margin-top: 8px; color: var(--au-ink); font: 700 30px/1.2 Outfit, sans-serif; }
.au-head p { margin-top: 10px; color: var(--au-muted); font-size: 14.5px; line-height: 1.6; }
.au-form { display: grid; gap: 18px; margin: 0; }
.au-field label { display: block; margin-bottom: 8px; color: var(--au-ink); font-size: 13.5px; font-weight: 600; }
.au-input { position: relative; display: flex; align-items: center; }
.au-input > i { position: absolute; left: 16px; color: #7f948d; font-size: 15px; pointer-events: none; transition: color .2s; }
.au-input input { width: 100%; height: 52px; padding: 0 48px 0 46px; border: 1.5px solid var(--au-line); border-radius: 14px; background: var(--au-soft); color: var(--au-ink); font: 15px Inter, sans-serif; outline: none; box-shadow: none; transition: border-color .2s, background .2s, box-shadow .2s; }
.au-input input::placeholder { color: #93a69f; }
.au-input input:hover { border-color: #c9ddd5; }
.au-input input:focus { border-color: var(--au-teal); background: #fff; box-shadow: 0 0 0 4px #0f7a661f; }
.au-input:focus-within > i { color: var(--au-teal); }
.au-eye { position: absolute; right: 6px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #7f948d; cursor: pointer; transition: background .2s, color .2s; }
.au-eye:hover { background: #e3f4ee; color: var(--au-teal); }
.au-eye:focus-visible, .au-submit:focus-visible, .au-google:focus-visible, .au-back:focus-visible { outline: 2px solid var(--au-teal); outline-offset: 3px; }
.au-caps { display: flex; align-items: center; gap: 6px; margin-top: 8px !important; color: #9a6a0a; font-size: 12.5px; font-weight: 600; }
.au-caps[hidden] { display: none; }
.au-otp input { height: 60px; font: 600 24px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .35em; }
.au-alert { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid #f2c9bf; border-radius: 14px; background: #fdf1ee; color: #8e2f1d; font-size: 13.5px; line-height: 1.5; animation: au-shake .35s ease; }
.au-alert i { margin-top: 2px; }
.au-alert p + p { margin-top: 4px; }
@keyframes au-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.au-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; margin-top: 4px; border: 0; border-radius: 14px; background: linear-gradient(135deg, var(--au-teal), #0b5f50); color: #fff; font: 600 15px Inter, sans-serif; cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s; }
.au-submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 14px 28px -14px var(--au-teal); }
.au-submit:disabled { cursor: progress; filter: saturate(.7) brightness(.95); }
.au-submit i { transition: transform .2s; }
.au-submit:hover:not(:disabled) .fa-arrow-right { transform: translateX(3px); }
.au-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: #8fa39b; font-size: 12.5px; }
.au-divider::before, .au-divider::after { content: ''; flex: 1; height: 1px; background: var(--au-line); }
.au-google { display: flex; align-items: center; justify-content: center; gap: 12px; height: 50px; border: 1.5px solid var(--au-line); border-radius: 14px; background: #fff; color: var(--au-ink); font-size: 14.5px; font-weight: 600; transition: border-color .2s, background .2s, box-shadow .2s; }
.au-google:hover { border-color: #c9ddd5; background: var(--au-soft); box-shadow: 0 10px 22px -16px #062a2666; }
.au-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 22px !important; color: var(--au-muted); font-size: 13px; line-height: 1.55; }
.au-note i { margin-top: 3px; color: var(--au-teal); }
.au-back { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; color: var(--au-muted); font-size: 13.5px; font-weight: 600; }
.au-back:hover { color: var(--au-teal); background: var(--au-soft); }

/* ===== Responsif ===== */
@media (max-width: 900px) {
    .au { grid-template-columns: minmax(0, 1fr); width: min(100% - 32px, 520px); min-height: 0; margin: 24px auto 48px; }
    .au-brand { display: none; }
    .au-head-logo { display: block; }
    .au-main { padding: 36px 28px; }
}
@media (max-width: 420px) {
    .au { width: 100%; margin: 0 0 32px; border: 0; border-radius: 0; box-shadow: none; }
    .au-main { padding: 28px 20px; }
    .au-head h1 { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    .au * { animation: none !important; transition: none !important; }
}

/* Panel merek ringkas: logo dan nama lembaga di tengah */
.au-brand { align-items: center; justify-content: center; gap: 22px; text-align: center; }
.au-brand-logo { flex-direction: column; gap: 14px; }
.au-brand-logo img { width: 92px; height: 92px; padding: 8px; border-radius: 24px; }
.au-brand-logo span { align-items: center; }
.au-brand-logo strong { font-size: 30px; }
.au-brand-logo small { font-size: 14px; }
.au-brand-copy { margin-block: 0; }
.au-brand-kicker { max-width: 320px; margin-inline: auto; font-size: 13px; }
