:root { color-scheme: light; --ink: #25364a; --muted: #6b7788; --blue: #3375db; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; position: relative; isolation: isolate; background: #f4f5f7; color: var(--ink); font: 14px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--blue); text-underline-offset: 4px; }
.page-cover { position: absolute; inset: 0 0 auto; height: 510px; background: linear-gradient(180deg, #152c4899 0%, #243c563d 38%, #f4f5f799 76%, #f4f5f7 100%), url('../template/assets/img/pelayanan/back-gedung.jpg') center 42% / cover no-repeat; z-index: -1; pointer-events: none; }
.site-header { width: 100%; max-width: 1140px; margin: 0 auto; padding: 24px 28px; }
.brand { display: inline-flex; gap: 11px; align-items: center; color: white; text-decoration: none; line-height: 1.4; text-shadow: 0 1px 5px #14243580; }
.brand img { width: 36px; height: 44px; object-fit: contain; }
.brand strong { display: block; font-size: 15px; }
.brand small { font-size: 12px; }
main { flex: 1; padding: 56px 20px 44px; }
.otp-card { width: 100%; max-width: 440px; margin: 0 auto; background: white; border: 1px solid #ffffffcc; border-radius: 18px; box-shadow: 0 20px 60px #25364a14, 0 3px 12px #25364a08; }
.form-panel { padding: 34px 32px 24px; min-width: 0; }
h1 { margin: 0 0 10px; font-size: 25px; line-height: 1.3; letter-spacing: -.6px; text-align: center; }
.description { color: var(--muted); margin: 0; font-size: 13px; text-align: center; }
.email { display: block; font-weight: 600; color: var(--ink); margin-top: 3px; overflow-wrap: anywhere; }
.status { border: 1px solid #dce8f8; background: #f4f8ff; color: #315c90; border-radius: 8px; padding: 10px 12px; margin: 20px 0 0; font-size: 12px; line-height: 1.6; }
.status[data-tone="error"] { color: #942c27; background: #fff4f2; border-color: #f4cec7; }
.status[data-tone="success"] { color: #1b6550; background: #f0faf6; border-color: #c1e7d9; }
#otpForm { margin-top: 26px; }
.field-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.otp-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.otp-digit, .fallback-input { border: 1px solid #d8dfe8; background: #fafbfc; color: var(--ink); border-radius: 9px; height: 54px; width: 100%; text-align: center; font: 600 24px/1 system-ui, sans-serif; padding: 0; transition: border-color .15s, box-shadow .15s; }
.fallback-input { letter-spacing: 12px; }
.otp-digit:focus, .fallback-input:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px #3375db18; background: white; }
.otp-digit:disabled { background: #edf1f5; color: #83919f; }
.field-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; font-size: 11px; margin: 10px 0 20px; color: var(--muted); }
.field-meta strong { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
button { font: inherit; cursor: pointer; }
.primary { width: 100%; padding: 12px 16px; border: 0; border-radius: 9px; background: var(--blue); color: white; font-weight: 600; font-size: 14px; }
.primary:hover { background: #2863bf; }
button:disabled { opacity: .55; cursor: not-allowed; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #85b8ff; outline-offset: 4px; }
.auto-note { color: var(--muted); font-size: 11px; text-align: center; margin: 8px 0 22px; }
.resend-row { text-align: center; font-size: 12px; }
.resend-row p { display: inline; color: var(--muted); margin: 0; }
#resendForm { display: inline; }
.text-button { background: none; border: 0; color: var(--blue); font-weight: 600; padding: 6px 3px; font-size: 12px; }
#waitLabel { font-size: 11px; }
.rules { margin-top: 20px; border-top: 1px solid #edf0f4; padding-top: 14px; font-size: 12px; color: var(--muted); }
.rules summary { cursor: pointer; width: fit-content; margin: 0 auto; font-size: 12px; }
.rules ul { padding-left: 18px; margin: 12px 0 0; }
.rules li { margin: 6px 0; }
.recovery { margin-top: 14px; font-size: 12px; text-align: center; }
.cancel { display: block; margin: 16px auto 0; text-align: center; color: var(--muted); font-size: 12px; text-decoration: none; }
.cancel:hover { text-decoration: underline; }
.site-footer { width: calc(100% - 56px); max-width: 1084px; margin: 0 auto; padding: 22px 0 26px; border-top: 1px solid #dfe5ec; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: 12px; }
.footer-identity { display: flex; flex-direction: column; gap: 3px; }
.footer-identity strong { color: #4b5c70; font-weight: 600; }
.footer-identity span { font-size: 11px; }
.footer-links { display: flex; align-items: center; gap: 16px; }
.footer-links a { color: #5f7084; text-decoration: none; }
.footer-links a:hover { color: var(--blue); text-decoration: underline; }
.footer-links span { color: #a9b3c0; }
[hidden] { display: none !important; }
@media (max-width: 520px) { .site-header { padding: 20px; } main { padding: 32px 16px 32px; } .page-cover { height: 390px; background-position: center, 58% center; } .form-panel { padding: 28px 24px 22px; } .site-footer { width: calc(100% - 40px); flex-direction: column; text-align: center; gap: 12px; padding: 20px 0; } }
@media (max-width: 360px) { .form-panel { padding: 26px 18px 22px; } .otp-boxes { gap: 6px; } .otp-digit { height: 48px; font-size: 22px; } }
