/* Sign-in / sign-up / verification / password pages (account/login, signup, cek_email, forgot_password, sandi_baru), 2026-11.
   Same green concept as the dashboard (green page, lighter skewed band) and the same tokens / controls as site-modals.css. */
.auth-body {
    --g-900: #04461f; --g-700: #087a35; --g-600: #0a9440; --g-500: #12a94d; --g-100: #e3f5ea; --g-50: #f2faf5;
    --ink: #17241c; --muted: #5b6b61; --line: #d5e0d9; --red: #c62828; --red-soft: #fdecec;
    --ring: rgba(18, 169, 77, .28);
    margin: 0; min-height: 100vh; padding: 0; background: #018e28; color: var(--ink);
    font-family: 'Plus Jakarta Sans', opensans, 'Helvetica Neue', Arial, sans-serif; font-weight: 400; font-size: 15px; line-height: 1.5;
    position: relative; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
.auth-body *, .auth-body *::before, .auth-body *::after { box-sizing: border-box; }
.auth-bg { position: fixed; top: 0; bottom: 0; left: -22%; width: 70%; background: #039b2e; transform: skewX(-18deg); z-index: 0; pointer-events: none; }
.auth-wrap { position: relative; z-index: 1; max-width: 456px; margin: 0 auto; padding: 28px 16px 36px; }
.auth-logo { display: block; text-align: center; margin: 0 0 20px; }
.auth-logo img { display: inline-block; width: 190px; height: auto; max-width: 70%; }
.auth-card { background: #fff; border-radius: 18px; padding: 24px 28px 26px; box-shadow: 0 24px 64px rgba(4, 50, 22, .35); }
.auth-card h1 { margin: 0 0 6px; font-size: 22px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.auth-card p { margin: 0 0 14px; color: var(--muted); }
.auth-card a { color: var(--g-700); font-weight: 600; }
.auth-card a:hover, .auth-card a:focus { color: var(--g-900); }
.auth-card :focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--ring); }

/* tabs */
.auth-tabs { display: flex; gap: 4px; padding: 4px; margin: 0 0 20px; background: #eef3f0; border-radius: 12px; }
.auth-tab { flex: 1; display: block; padding: 10px 8px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 700 14.5px/1.2 inherit; font-family: inherit; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, box-shadow .15s; }
.auth-card a.auth-tab { color: var(--muted); }
.auth-tab:hover { color: var(--ink); text-decoration: none; }
.auth-tab[aria-selected="true"], .auth-card a.auth-tab[aria-selected="true"] { background: #fff; color: var(--g-700); box-shadow: 0 1px 3px rgba(10, 60, 30, .15); }

/* notices and errors */
.auth-notice { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 11px 13px; border-radius: 12px; font-size: 14px; line-height: 1.45; }
.auth-notice .fa { margin-top: 2px; }
.auth-notice.ok { background: var(--g-100); color: var(--g-900); border: 1px solid #bfe3cc; }
.auth-notice.err { background: var(--red-soft); color: #a12626; border: 1px solid #f3c6c6; }
.auth-err { margin: 6px 0 0; font-size: 13px; color: #a12626; }
.auth-err[hidden], .auth-notice[hidden] { display: none; }
.auth-form-err { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: var(--red-soft); color: #a12626; font-size: 14px; }
.auth-form-err[hidden] { display: none; }

/* social buttons */
.auth-social { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.auth-g { position: relative; min-height: 44px; display: flex; justify-content: center; }
.auth-g .auth-g-slot { width: 100%; display: flex; justify-content: center; min-height: 44px; }
.auth-g-fallback { width: 100%; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 10px; background: #f7faf8; color: var(--muted); font-size: 13.5px; }
.auth-btn-fb { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 44px; padding: 0 16px; border: 1px solid #1877f2; border-radius: 4px; background: #1877f2; color: #fff; font: 600 14px/1 inherit; font-family: Roboto, 'Plus Jakarta Sans', Arial, sans-serif; letter-spacing: .25px; cursor: pointer; transition: background .15s, opacity .15s; }
.auth-btn-fb:hover { background: #166fe0; }
.auth-btn-fb .fa { font-size: 20px; }
.auth-btn-fb[disabled] { opacity: .7; cursor: progress; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 16px; color: #7a8a80; font-size: 13px; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* fields */
.auth-field { margin: 0 0 14px; }
.auth-field label, .auth-label-row label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: #2a3a30; }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 6px; }
.auth-label-row label { margin: 0; }
.auth-label-row a { font-size: 13px; }
.auth-input { display: block; width: 100%; height: 46px; padding: 0 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font: 400 15px/1.4 inherit; font-family: inherit; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.auth-input::placeholder { color: #9aa8a0; }
.auth-input:focus { outline: 0; border-color: var(--g-600); box-shadow: 0 0 0 3px var(--ring); }
.auth-input[aria-invalid="true"] { border-color: #d93838; }
.auth-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(217, 56, 56, .18); }
.auth-pw { position: relative; }
.auth-pw .auth-input { padding-right: 48px; }
.auth-pw-toggle { position: absolute; top: 3px; right: 3px; width: 40px; height: 40px; border: 0; border-radius: 8px; background: transparent; color: #6b7c71; font-size: 17px; cursor: pointer; }
.auth-pw-toggle:hover { color: var(--ink); background: #eef3f0; }
.auth-meter { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.auth-meter-bar { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.auth-meter-bar i { display: block; height: 5px; border-radius: 3px; background: #e3e9e5; transition: background .2s; }
.auth-meter[data-level="1"] .auth-meter-bar i:nth-child(1) { background: #e0584f; }
.auth-meter[data-level="2"] .auth-meter-bar i:nth-child(-n+2) { background: #e8a33a; }
.auth-meter[data-level="3"] .auth-meter-bar i { background: var(--g-500); }
.auth-meter-text { min-width: 92px; text-align: right; font-weight: 600; }
.auth-hint { margin: 6px 0 0; font-size: 12.5px; color: #7a8a80; }

/* buttons */
.auth-submit { position: relative; display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; height: 48px; margin: 18px 0 0; padding: 0 18px; border: 0; border-radius: 10px; background: var(--g-600); color: #fff; font: 700 15px/1 inherit; font-family: inherit; cursor: pointer; transition: background .15s, opacity .15s; }
.auth-submit:hover, .auth-submit:focus { background: var(--g-700); }
.auth-submit[disabled] { opacity: .75; cursor: progress; }
.auth-ghost { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 46px; margin: 10px 0 0; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: #2a3a30; font: 700 14.5px/1 inherit; font-family: inherit; text-decoration: none; cursor: pointer; transition: background .15s; }
.auth-card a.auth-ghost { color: #2a3a30; }
.auth-ghost:hover, .auth-ghost:focus { background: #f2f6f4; text-decoration: none; }
.auth-ghost[disabled] { opacity: .6; cursor: default; }
.auth-spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; border-radius: 50%; animation: auth-rot .7s linear infinite; }
.is-loading > .auth-spin { display: inline-block; }
.auth-ghost .auth-spin { border-color: rgba(10, 148, 64, .3); border-top-color: var(--g-600); }
@keyframes auth-rot { to { transform: rotate(360deg); } }
.auth-small { margin: 14px 0 0; font-size: 12.5px; color: #7a8a80; text-align: center; }
.auth-small a { font-weight: 600; }

/* status screens (cek email, lupa sandi terkirim, tautan tidak valid) */
.auth-status { text-align: center; padding-top: 6px; }
.auth-status-icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 0 14px; border-radius: 50%; background: var(--g-100); color: var(--g-600); font-size: 28px; }
.auth-status-icon.err { background: var(--red-soft); color: var(--red); }
.auth-status h1 { margin-bottom: 8px; }
.auth-status p { margin: 0 auto 10px; max-width: 340px; }
.auth-mail { display: inline-block; max-width: 100%; margin: 0 0 12px; padding: 6px 12px; border-radius: 999px; background: #eef3f0; color: var(--ink); font-weight: 700; font-size: 14px; overflow-wrap: anywhere; }
.auth-status .auth-ghost, .auth-status .auth-submit { margin-top: 12px; }
.auth-link-btn { display: inline; padding: 0; border: 0; background: none; color: var(--g-700); font: 600 14px/1.4 inherit; font-family: inherit; text-decoration: underline; cursor: pointer; }

/* footer links */
.auth-foot { margin: 20px 0 0; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .88); }
.auth-foot a { color: #fff; font-weight: 600; text-decoration: none; }
.auth-foot a:hover, .auth-foot a:focus { text-decoration: underline; }
.auth-foot ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.auth-foot a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 4px; }

[hidden] { display: none !important; }
@media (max-width: 480px) {
    .auth-wrap { padding: 18px 12px 28px; }
    .auth-logo { margin-bottom: 14px; }
    .auth-logo img { width: 160px; }
    .auth-card { padding: 20px 18px 22px; border-radius: 16px; }
    .auth-bg { left: -40%; width: 90%; }
}
@media (prefers-reduced-motion: reduce) { .auth-spin { animation-duration: 2s; } }

/* links and buttons: no focus ring after a mouse click or tap (keyboard focus still shows it) */
a:focus:not(:focus-visible), button:focus:not(:focus-visible), .btn:focus:not(:focus-visible), [role="button"]:focus:not(:focus-visible), [tabindex]:focus:not(:focus-visible), summary:focus:not(:focus-visible), label:focus:not(:focus-visible) { outline: none; box-shadow: none; }
