/* Halaman masuk, buat password, lupa dan reset password (layout-masuk.php). Contoh: docs/contoh/contoh-login.html */
:root { --navy: #000f81; --navy-d: #000a57; --or: #f07c00; --or-s: #c2560a; --ink: #000f81; --mut: #5a6476; --line: #d9dee6; --bg: #f4f6f9; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Arial, 'Helvetica Neue', sans-serif; color: var(--ink); background: #fff; }
.wrap { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 100vh; }
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 80% 10%, #0a1fa8 0%, var(--navy) 45%, var(--navy-d) 100%); padding: 56px 64px; display: flex; flex-direction: column; }
.hero svg.bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero > *:not(svg) { position: relative; }
.eyebrow { font-family: 'Open Sans', Arial; font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; display: flex; align-items: center; gap: 10px; }
.eyebrow i { width: 28px; height: 3px; border-radius: 2px; background: var(--or); }
.hero h2 { font-family: 'League Spartan', Arial; font-weight: 800; font-size: 54px; line-height: 1.02; letter-spacing: -.02em; margin: auto 0 18px; max-width: 560px; }
.hero h2 span { color: var(--or); }
.hero p { font-family: 'Open Sans', Arial; font-size: 17px; line-height: 1.6; color: #fff; max-width: 470px; margin: 0 0 30px; }
.chips { display: flex; gap: 12px; flex-wrap: wrap; }
.chip { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 999px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); font-family: 'League Spartan', Arial; font-weight: 600; font-size: 16px; color: #fff; }
.chip .ikon { width: 19px; height: 19px; color: #ffb366; }
.ikon { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.truk-wrap { position: absolute !important; left: 50%; top: 120px; transform: translateX(-50%); width: min(74%, 600px); }
.truk { display: block; width: 100%; height: auto; }
.form { display: flex; flex-direction: column; justify-content: center; padding: 48px 72px; background: #fff; }
.box { position: relative; z-index: 2; width: 100%; max-width: 400px; margin: 0 auto; }
.logo { height: 130px; width: auto; display: block; margin-bottom: 34px; }
h1 { font-family: 'League Spartan', Arial; font-weight: 700; font-size: 36px; margin: 0 0 26px; letter-spacing: -.01em; }
.sub { font-family: 'Open Sans', Arial; font-size: 14.5px; color: var(--mut); margin: -12px 0 26px; line-height: 1.5; }
.g { height: 50px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-family: 'Open Sans', Arial; font-weight: 600; font-size: 15px; color: #1f2937; text-decoration: none; cursor: pointer; }
.g:disabled { cursor: not-allowed; }
.or { display: flex; align-items: center; gap: 12px; margin: 22px 0; font-family: 'Open Sans', Arial; font-size: 12.5px; color: var(--mut); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mut); margin: 0 0 7px; }
.inp { position: relative; margin-bottom: 18px; }
.inp input { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 10px; padding: 0 44px; font-size: 16px; font-family: inherit; color: var(--ink); background: var(--bg); }
.inp input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,15,129,.12); background: #fff; }
.inp .ic { position: absolute; left: 14px; top: 15px; width: 20px; height: 20px; color: #8a93a6; pointer-events: none; }
.inp .ic .ikon, .mata .ikon { width: 20px; height: 20px; display: block; }
.mata [hidden] { display: none; }
.mata { position: absolute; right: 4px; top: 3px; width: 44px; height: 44px; border: 0; background: none; color: #8a93a6; cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.mata:focus-visible { outline: 2px solid var(--navy); }
.mata .ikon { width: 20px; height: 20px; }
.salah { display: block; margin: -10px 0 16px; font-size: 13px; color: #b42318; }
.bantu { display: block; margin: -10px 0 16px; font-size: 13px; color: var(--mut); }
.row { display: flex; justify-content: space-between; align-items: center; margin: -2px 0 22px; font-family: 'Open Sans', Arial; font-size: 13.5px; color: #374151; }
.row label { all: unset; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.row input { width: 17px; height: 17px; margin: 0; accent-color: var(--navy); }
.btn { display: block; height: 52px; width: 100%; border: 0; border-radius: 10px; background: var(--or-s); color: #fff; font-family: 'League Spartan', Arial; font-weight: 700; font-size: 17px; box-shadow: 0 8px 20px -8px rgba(194,86,10,.6); cursor: pointer; }
.btn:hover { background: #a64a08; }
.btn-kembali { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; margin-top: 14px; border: 1px solid var(--or-s); border-radius: 10px; background: #fff; color: var(--or-s); font-family: 'League Spartan', Arial; font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: none; height: auto; }
.btn-kembali:hover { background: #fdebdc; }
.lupa { color: var(--navy); font-weight: 600; text-decoration: none; }
.lupa:hover { text-decoration: underline; }
.pesan { border-radius: 10px; padding: 12px 14px; margin: -8px 0 20px; font-family: 'Open Sans', Arial; font-size: 14px; line-height: 1.5; }
.pesan-salah { background: #fdecea; color: #b42318; }
.pesan-ok { background: #e7f4ec; color: #1f7a4d; }
.copy { margin-top: 56px; text-align: center; font-family: 'Open Sans', Arial; font-size: 12px; color: #9aa3b2; }
@media (max-width: 760px) {
    .wrap { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .hero { padding: 26px 22px 64px; min-height: auto; }
    .hero h2 { font-size: 30px; margin: 26px 0 10px; }
    .hero p { font-size: 14px; margin: 0 0 16px; }
    .chip { padding: 7px 12px; font-size: 13.5px; }
    .chip .ikon { width: 15px; height: 15px; }
    .truk-wrap { display: none; }
    .form { padding: 0 16px 28px; background: var(--bg); justify-content: flex-start; }
    .box { background: #fff; margin-top: -40px; border-radius: 16px; padding: 26px 20px; box-shadow: 0 12px 30px -12px rgba(0,15,129,.25); }
    .logo { height: 100px; margin-bottom: 22px; }
    h1 { font-size: 28px; }
    .copy { margin-top: 22px; }
}
