/* FauzanNet Access L1. One stylesheet for login, recovery and account verification. */
:root {
    color-scheme: light;
    --auth-bg: #eef4f8;
    --auth-panel: #fff;
    --auth-soft: #f5f8fb;
    --auth-text: #182f43;
    --auth-muted: #65788a;
    --auth-border: #dce5ed;
    --auth-primary: #087da4;
    --auth-primary-hover: #066a8d;
    --auth-focus: rgba(8,125,164,.14);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #0b1c2d; }
body.auth-page {
    margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--auth-text);
    font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 14px; line-height: 1.5;
    background: radial-gradient(ellipse at 75% 15%, #184455 0, transparent 48%),
        radial-gradient(ellipse at 5% 90%, #133a52 0, transparent 50%), #0b1c2d;
}
button, input, select, textarea { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
[hidden], .hidden { display: none !important; }
:focus-visible { outline: 3px solid #40b6df; outline-offset: 4px; }
.auth-shell {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(380px,476px);
    gap: clamp(36px,7vw,110px); align-items: center; max-width: 1170px;
    min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: 40px 32px;
}
.auth-visual-side { align-self: stretch; display: flex; flex-direction: column; color: #eff8ff; position: relative; min-width: 0; }
.auth-visual-brand { display: inline-flex; align-items: center; gap: 13px; width: fit-content; text-decoration: none; color: #f5fbff; }
.auth-visual-brand img { object-fit: contain; filter: drop-shadow(0 3px 12px #0002); }
.auth-visual-brand span { font-size: 21px; font-weight: 700; letter-spacing: -.4px; }
.auth-visual-brand small { display: block; color: #8fb5c6; font-size: 9px; letter-spacing: 2px; font-weight: 600; margin-top: 1px; }
.auth-visual-content { margin: auto 0; padding: 48px 0 20px; }
.auth-visual-kicker { display: block; color: #83c6d3; font-size: 10px; letter-spacing: 1.9px; font-weight: 600; margin-bottom: 22px; }
.auth-visual-content h2 { font-size: clamp(40px,4.4vw,60px); line-height: 1.12; letter-spacing: -2px; font-weight: 650; margin: 0 0 23px; }
.auth-visual-content p { color: #a8c0d0; font-size: 15px; line-height: 1.85; max-width: 340px; margin: 0; }
.auth-visual-footer { font-size: 11px; letter-spacing: .3px; color: #7f9eaf; margin: 28px 0 0; }
.auth-desk { position: relative; width: min(100%,350px); height: 224px; margin-top: 34px; perspective: 900px; }
.auth-monitor { position: absolute; left: 14px; top: 0; width: 288px; max-width: 90%; height: 180px; border-radius: 14px;
    border: 1px solid #476c7e; padding: 9px; background: linear-gradient(140deg,#284757,#132b3d); transform: rotateY(-14deg) rotateX(4deg);
    box-shadow: 12px 18px 34px #0003, inset 0 1px #9ac4d733; }
.auth-monitor-screen { position: relative; height: 100%; overflow: hidden; border: 1px solid #366175; border-radius: 7px;
    background: radial-gradient(circle at 70% 75%,#156b7a88,transparent 65%),#0c2437; }
.auth-monitor-screen svg { position: absolute; width: 87px; height: 87px; color: #70d0df; left: calc(50% - 43px); top: 39px; }
.auth-monitor-dot { position: absolute; top: 14px; left: 14px; width: 5px; height: 5px; border-radius: 50%; background: #68c9c3; }
.auth-monitor-line { position: absolute; top: 15px; left: 27px; width: 43px; height: 3px; border-radius: 3px; background: #3d6b7a; }
.auth-screen-orbit { position: absolute; inset: 29px 62px; border: 1px solid #57a7bb33; border-radius: 50%; }
.auth-monitor-stand { position: absolute; top: 175px; left: 132px; width: 53px; height: 28px; background: linear-gradient(90deg,#244b60,#3c6476,#19384b); clip-path: polygon(27% 0,73% 0,83% 86%,100% 100%,0 100%,17% 86%); }
.auth-desk-surface { position: absolute; top: 204px; left: 5px; width: 313px; max-width: 100%; height: 1px; background: linear-gradient(90deg,transparent,#4a7488,transparent); box-shadow: 0 10px 20px #16849a44; }
.auth-form-side { width: 100%; min-width: 0; }
.auth-form-wrap { width: 100%; padding: 27px 32px; background: var(--auth-panel); border: 1px solid #ffffff33; border-radius: 24px; box-shadow: 0 24px 90px #0003; }
.auth-brand { display: flex; align-items: center; width: fit-content; gap: 11px; color: var(--auth-text); text-decoration: none; }
.auth-brand img { object-fit: contain; }
.auth-brand strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: -.4px; }
.auth-brand small { display: block; color: var(--auth-muted); font-size: 10px; margin-top: 1px; }
.auth-heading { margin: 23px 0 20px; }
.auth-heading h1 { margin: 0; font-size: 26px; line-height: 1.25; letter-spacing: -.8px; font-weight: 700; }
.auth-heading p { font-size: 12px; line-height: 1.65; color: var(--auth-muted); margin: 8px 0 0; }
.auth-form { display: flex; flex-direction: column; gap: 13px; }
.auth-label { display: block; color: var(--auth-text); font-weight: 600; font-size: 12px; margin-bottom: 7px; }
.auth-input-wrap { position: relative; }
.auth-input { width: 100%; min-height: 49px; padding: 12px 42px; border: 1px solid var(--auth-border); border-radius: 10px; background: var(--auth-soft); color: var(--auth-text); outline: none; font-size: 13px; }
.auth-input::placeholder { color: #8090a0; opacity: 1; font-size: 12px; }
.auth-input:focus, .auth-modal-input:focus { border-color: var(--auth-primary); box-shadow: 0 0 0 3px var(--auth-focus); }
.auth-input-icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); font-size: 18px; color: #72899a; pointer-events: none; }
.auth-input-toggle { display: grid; place-items: center; position: absolute; right: 3px; top: 3px; bottom: 3px; width: 42px; border: 0; border-radius: 8px; background: transparent; color: var(--auth-muted); font-size: 19px; }
.auth-input-toggle:hover { color: var(--auth-primary); background: var(--auth-focus); }
.auth-field-hint { font-size: 10px; color: var(--auth-muted); margin: 6px 0 0; line-height: 1.5; }
.auth-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12px; }
.auth-check input { width: 16px; height: 16px; accent-color: var(--auth-primary); margin: 0; }
.auth-text-link { background: transparent; border: 0; padding: 4px 0; font-weight: 600; color: var(--auth-primary); font-size: 12px; }
.auth-policy-hint { color: var(--auth-muted); font-size: 10px; line-height: 1.65; margin: -10px 0 -2px; }
.auth-captcha-wrap { display: flex; justify-content: center; min-height: 78px; }
.auth-captcha-scale { width: 304px; height: 78px; flex: 0 0 auto; }
.auth-primary-button { width: 100%; display: flex; gap: 10px; align-items: center; justify-content: center; min-height: 49px; border: 1px solid var(--auth-primary); border-radius: 10px; background: var(--auth-primary); color: white; font-weight: 650; font-size: 13px; box-shadow: 0 5px 14px #087da418; transition: background .18s, box-shadow .18s; }
.auth-primary-button:hover { background: var(--auth-primary-hover); box-shadow: 0 5px 18px #087da42a; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--auth-muted); font-size: 10px; margin-top: 1px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--auth-border); }
.auth-alternatives { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: -5px; }
.auth-icon-button { display: grid; place-items: center; width: 64px; height: 44px; border: 1px solid var(--auth-border); border-radius: 10px; background: var(--auth-panel); color: var(--auth-text); text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.auth-icon-button i { font-size: 23px; }
.auth-icon-button:hover { border-color: #88aebe; box-shadow: 0 3px 10px #12344d0c; }
.auth-google-button { background: white; border-color: #d7dce2; }
.auth-staff-hint { color: var(--auth-muted); text-align: center; font-size: 10px; line-height: 1.7; margin: -5px 0 0; }
.auth-help { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 23px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--auth-border); }
.auth-help a { text-decoration: none; font-size: 11px; color: var(--auth-muted); }
.auth-help a:hover { color: var(--auth-primary); text-decoration: underline; }
.auth-copyright { color: var(--auth-muted); text-align: center; font-size: 9px; margin: 12px 0 0; }
.auth-noscript { color: #b42336; font-size: 12px; margin-top: 18px; }
.auth-swal { border-radius: 20px !important; font-family: Inter,"Segoe UI",Arial,sans-serif !important; }
.auth-swal .swal2-title { font-size: 23px; letter-spacing: -.4px; }
.auth-swal .swal2-html-container { font-size: 14px; line-height: 1.65; }
body.auth-page .swal2-popup { border-radius: 20px; background: var(--auth-panel); color: var(--auth-text); font-family: inherit; }
body.auth-page .swal2-title { color: var(--auth-text); }
body.auth-page .swal2-input { background: var(--auth-soft); color: var(--auth-text); border-color: var(--auth-border); box-shadow: none; }
/* Recovery uses the same palette and normal form controls; no disclosure menus. */
.auth-modal { position: fixed; inset: 0; z-index: 70; overflow-y: auto; }
.auth-modal-backdrop { position: fixed; inset: 0; background: #061321ad; backdrop-filter: blur(7px); }
.auth-modal-layout { position: relative; display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 24px; pointer-events: none; }
.auth-modal-card { position: relative; width: 100%; max-width: 440px; padding: 32px; max-height: calc(100dvh - 48px); overflow-y: auto; background: var(--auth-panel); border: 1px solid var(--auth-border); border-radius: 22px; box-shadow: 0 30px 80px #0004; pointer-events: auto; }
.auth-modal-handle { display: none; }
.auth-modal-close { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--auth-soft); color: var(--auth-muted); display: grid; place-items: center; }
.auth-modal-title { margin: 0 26px 0 0; color: var(--auth-text); font-size: 22px; font-weight: 700; line-height: 1.3; letter-spacing: -.5px; }
.auth-modal-description { margin: 10px 0 20px; color: var(--auth-muted); font-size: 13px; line-height: 1.7; }
.auth-modal-input { width: 100%; min-height: 47px; border: 1px solid var(--auth-border); border-radius: 10px; background: var(--auth-soft); color: var(--auth-text); padding: 11px 13px; outline: none; }
.auth-modal-button { min-height: 47px; border: 0; border-radius: 10px; background: var(--auth-primary); color: white; padding: 11px 16px; font-weight: 600; }
.auth-modal-button:hover { background: var(--auth-primary-hover); }
.auth-modal-back-button { display: block; width: 100%; padding: 12px 0 0; border: 0; background: transparent; color: var(--auth-muted); font-size: 12px; }
.auth-method-option { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 58px; border: 1px solid var(--auth-border); border-radius: 10px; color: var(--auth-text); background: var(--auth-soft); padding: 12px; }
.auth-method-option:hover { border-color: var(--auth-primary); }
.auth-method-identity { display: flex; gap: 10px; align-items: center; min-width: 0; font-size: 12px; }
.auth-method-icon { display: inline-grid; place-items: center; width: 37px; height: 37px; flex: 0 0 auto; border-radius: 10px; background: var(--auth-focus); color: var(--auth-primary); font-size: 20px; }
.auth-method-icon-wa { color: #15865d; background: #1a976b14; }
.auth-recovery-math { padding: 13px; background: var(--auth-soft); border: 1px solid var(--auth-border); border-radius: 12px; margin-bottom: 18px; }
.auth-recovery-math-heading, .auth-recovery-math-fields { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.auth-recovery-math-heading { margin-bottom: 12px; }
.auth-recovery-math-heading span { display: grid; gap: 3px; }
.auth-recovery-math-heading strong { font-size: 12px; color: var(--auth-text); }
.auth-recovery-math-heading small { font-size: 11px; color: var(--auth-muted); }
.auth-recovery-math-heading button { border: 1px solid var(--auth-border); border-radius: 9px; background: var(--auth-panel); color: var(--auth-primary); width: 34px; height: 34px; }
.auth-recovery-math-fields > strong { display: grid; place-items: center; flex: 1; min-height: 47px; color: var(--auth-primary); font-size: 19px; }
.auth-recovery-math-fields .auth-modal-input { width: 95px; text-align: center; }
.auth-modal input.text-center { text-align: center; }
@media (prefers-color-scheme: dark) {
    :root { color-scheme: dark; --auth-panel: #152536; --auth-soft: #102030; --auth-text: #eaf2f9; --auth-muted: #9bb0c1; --auth-border: #2d4255; --auth-primary: #42b1d4; --auth-primary-hover: #58c1df; --auth-focus: #42b1d41a; }
    .auth-form-wrap { border-color: #3b566750; }
    .auth-primary-button, .auth-modal-button { background: #087da4; border-color: #087da4; color: white; }
    .auth-primary-button:hover, .auth-modal-button:hover { background: #096d90; }
    .auth-modal .text-slate-500, .auth-modal .text-gray-500 { color: var(--auth-muted); }
    .auth-modal .bg-white, .auth-modal .bg-slate-50 { background: var(--auth-soft); }
}
@media (max-width: 900px) {
    .auth-shell { grid-template-columns: minmax(0,1fr) minmax(340px,440px); gap: 28px; padding: 28px; }
    .auth-form-wrap { padding: 28px; }
    .auth-visual-content h2 { font-size: 40px; }
    .auth-visual-content p { font-size: 13px; }
    .auth-desk { transform: scale(.85); transform-origin: left top; margin-bottom: -28px; }
}
@media (max-width: 720px) {
    .auth-shell { display: block; width: 100%; padding: max(24px,env(safe-area-inset-top)) 18px max(24px,env(safe-area-inset-bottom)); min-height: 100dvh; }
    .auth-visual-side { display: none; }
    .auth-form-side { max-width: 440px; margin: 0 auto; }
    .auth-form-wrap { padding: 28px 25px; border-radius: 22px; }
    .auth-heading { margin-top: 26px; }
    .auth-heading h1 { font-size: 25px; }
    .auth-input, .auth-modal-input { font-size: 16px; }
    .auth-input::placeholder { font-size: 11px; }
    .auth-form { gap: 18px; }
    .auth-policy-hint { font-size: 10px; }
    .auth-modal-layout { padding: 16px; }
    .auth-modal-card { padding: 30px 23px; max-height: calc(100dvh - 32px); }
}
@media (max-width: 370px) {
    .auth-shell { padding-left: 10px; padding-right: 10px; }
    .auth-form-wrap { padding: 25px 18px; }
    .auth-heading h1 { font-size: 23px; }
    .auth-captcha-wrap { min-height: 69px; }
    .auth-captcha-scale { transform: scale(.87); transform-origin: top center; margin-bottom: -10px; }
    .auth-help { gap: 8px 17px; }
    .auth-modal-layout { padding: 10px; }
    .auth-modal-card { padding: 30px 19px; max-height: calc(100dvh - 20px); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
