:root{
    --navy:#102c49;
    --navy-deep:#091e34;
    --gold:#edb541;
    --ink:#19334c;
    --muted:#718092;
    --line:#dce3e9;
    --paper:#fff;
    --font:"Trebuchet MS","Segoe UI",sans-serif
}

*{
    box-sizing:border-box
}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body{
    margin:0;
    min-width:280px;
    background:radial-gradient(ellipse at 10% 10%,#e3eaf0,transparent 55%),#f2f4f6;
    color:var(--ink);
    font-family:var(--font);
    min-height:100vh;
    padding:40px 32px;
    display:grid;
    place-items:center
}
button,input{
    font:inherit
}
button{
    cursor:pointer
}
svg{
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
    width:21px;
    height:21px;
    flex-shrink:0
}
.login-shell{
    width:100%;
    max-width:1120px;
    min-height:730px;
    display:grid;
    grid-template-columns:1fr 1fr;
    background:var(--paper);
    border-radius:26px;
    box-shadow:0 25px 80px #18334a14;
    overflow:hidden;
    animation:arrive .65s ease both
}
.brand-panel{
    background:radial-gradient(ellipse at 60% 38%,#295275 0,transparent 59%),linear-gradient(145deg,var(--navy),var(--navy-deep));
    color:white;
    padding:42px 40px 30px;
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    justify-content:space-between
}
.brand-panel:after{
    content:"";
    position:absolute;
    width:660px;
    height:660px;
    border:1px solid #ffffff0d;
    border-radius:50%;
    left:-300px;
    bottom:-460px;
    box-shadow:0 0 0 50px #ffffff03,0 0 0 100px #ffffff03;
    pointer-events:none
}
.government{
    display:flex;
    align-items:center;
    gap:11px;
    font-size:11px;
    font-weight:700;
    letter-spacing:1.8px;
    line-height:1.7;
    position:relative;
    z-index:1
}
.brand-panel .brand-heading{
    width:100%;
    position:relative;
    z-index:1
}
.gold-mark{
    width:6px;
    height:23px;
    display:block;
    background:var(--gold);
    border-radius:4px;
    flex-shrink:0
}
.brand-content{
    text-align:center;
    position:relative;
    z-index:1
}
.brand-panel .agency-name{
    margin:10px auto 0;
    color:#f2c65e;
    font-family:var(--font);
    font-size:11px;
    font-weight:700;
    letter-spacing:1.8px;
    line-height:1.5;
    text-align:center;
    text-transform:uppercase;
    text-shadow:0 0 5px #f2c65e66,0 0 14px #f2c65e2e;
    animation:agency-glow 3.4s ease-in-out infinite;
    display:block
}
@keyframes agency-glow{
    0%,100%{opacity:.84;text-shadow:0 0 5px #f2c65e55,0 0 14px #f2c65e22}
    50%{opacity:1;text-shadow:0 0 8px #ffe8a0,0 0 22px #f2c65e66}
}
.logo-halo{
    position:relative;
    max-width:340px;
    margin:8px auto 12px
}
.logo-halo:before{
    content:"";
    position:absolute;
    inset:12%;
    border-radius:50%;
    box-shadow:0 0 90px #f2b82d12
}
.brand-logo{
    display:block;
    width:100%;
    height:auto;
    position:relative;
    filter:drop-shadow(0 15px 15px #0003)
}
.eyebrow{
    color:#e7bd69;
    font-size:9px;
    font-weight:700;
    letter-spacing:2px
}
.brand-caption h2{
    font-size:29px;
    line-height:1.35;
    letter-spacing:-.6px;
    margin:16px 0 14px
}
.brand-caption p{
    font-size:13px;
    line-height:1.8;
    color:#bac9d8;
    margin:0
}
.brand-bottom{
    display:flex;
    align-items:center;
    gap:13px;
    font-size:9px;
    letter-spacing:1.7px;
    color:#a8bbce;
    margin-top:32px;
    position:relative;
    z-index:1
}
.small-line{
    width:24px;
    height:2px;
    background:var(--gold)
}
.form-panel{
    padding:64px 58px 28px;
    display:flex;
    flex-direction:column;
    justify-content:space-between
}
.form-content{
    margin:auto 0
}
.welcome-tag{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#64748a;
    font-size:9px;
    letter-spacing:1.6px;
    font-weight:700
}
.welcome-tag>span{
    width:6px;
    height:6px;
    border-radius:50%;
    background:#c28b20
}
h1{
    font-size:36px;
    line-height:1.25;
    margin:20px 0 15px;
    letter-spacing:-1.2px;
    font-weight:700
}
h1 span{
    color:#173e63
}
.subtitle{
    font-size:14px;
    color:var(--muted);
    line-height:1.8;
    max-width:330px;
    margin:0
}
.form-divider{
    width:44px;
    height:3px;
    background:var(--gold);
    margin:26px 0
}
.form-intro{
    font-size:12px;
    color:var(--muted);
    margin:0 0 26px
}
.field-group{
    margin-bottom:22px
}
.display-mode-choice{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:3px 0 4px;padding:12px 14px;border:1px solid var(--line);border-radius:11px;background:#f8fafc}.display-mode-choice strong{display:block;font-size:12px}.display-mode-choice small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.mode-switch{position:relative;width:48px;height:27px;margin:0;flex:0 0 auto}.mode-switch input{position:absolute;opacity:0;width:1px;height:1px}.mode-slider{position:absolute;inset:0;border-radius:20px;background:#cad4df;transition:.2s;cursor:pointer}.mode-slider:before{content:"";position:absolute;width:21px;height:21px;left:3px;top:3px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #19334c30;transition:.2s}.mode-switch input:checked+.mode-slider{background:#2d8c70}.mode-switch input:checked+.mode-slider:before{transform:translateX(21px)}
label{
    display:block;
    font-size:13px;
    font-weight:700;
    margin-bottom:10px
}
.input-wrap{
    display:flex;
    align-items:center;
    gap:12px;
    border:1px solid var(--line);
    border-radius:10px;
    background:#fafbfc;
    padding:0 15px;
    color:#8492a2;
    transition:border-color .2s,box-shadow .2s
}
.input-wrap:focus-within{
    border-color:#3f688d;
    box-shadow:0 0 0 3px #29527515;
    background:white
}
.input-wrap input{
    width:100%;
    min-width:0;
    height:53px;
    padding:0;
    border:0;
    outline:0;
    background:transparent;
    font-size:14px;
    color:var(--ink)
}
input::placeholder{
    color:#929ca8;
    opacity:1
}
.password-toggle{
    display:grid;
    place-items:center;
    flex-shrink:0;
    width:42px;
    height:44px;
    padding:0;
    border:0;
    background:transparent;
    color:#7b8a99;
    margin-right:-10px;
    border-radius:6px
}
.password-toggle[hidden]{
    display:none
}
.password-toggle[aria-pressed=true]{
    color:#183e63;
    background:#e9eff5
}
button:focus-visible,a:focus-visible{
    outline:3px solid #cc931f;
    outline-offset:4px
}
.submit-button{
    width:100%;
    height:54px;
    border:0;
    border-radius:10px;
    color:#fff;
    background:var(--navy);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:16px;
    font-size:12px;
    letter-spacing:1.7px;
    font-weight:700;
    box-shadow:0 7px 14px #102c4918;
    transition:background .2s,transform .2s;
    margin-top:29px
}
.submit-button:hover{
    background:#21496e;
    transform:translateY(-1px)
}
.submit-button:disabled{
    opacity:.7;
    cursor:wait
}
.help-text{
    text-align:center;
    color:#87929f;
    font-size:11px;
    line-height:1.8;
    margin:23px 0 0
}
footer{
    text-align:center;
    font-size:10px;
    color:#98a1ad;
    line-height:1.9;
    margin-top:38px
}
footer strong{
    font-weight:400;
    color:#6e7c8c
}
.alert{
    background:#fff4f2;
    border:1px solid #efd3cb;
    border-radius:9px;
    padding:12px 14px;
    color:#9f3e2b;
    font-size:13px;
    line-height:1.6;
    margin-bottom:20px
}
.dashboard-card{
    background:white;
    padding:40px;
    border-radius:20px;
    max-width:580px;
    width:100%;
    box-shadow:0 20px 70px #18334a12
}
.dashboard-logo{
    width:120px;
    height:auto
}
.dashboard-card h1{
    font-size:29px
}
.dashboard-card p{
    line-height:1.7;
    color:var(--muted)
}
.account-details{
    background:#f4f7fa;
    padding:16px;
    border-radius:10px;
    overflow-wrap:anywhere
}
.dashboard-card .submit-button{
    max-width:180px
}
@keyframes arrive{
    from{
    opacity:0;
    transform:translateY(14px)
}
to{
    opacity:1;
    transform:translateY(0)
}

}
@media(min-width:1500px){
    .login-shell{
    min-height:780px
}

}
@media(max-width:1000px){
    body{
    padding:24px
}
.form-panel{
    padding:48px 34px 26px
}
.brand-panel{
    padding:36px 28px 26px
}
.government{
    font-size:10px;
    letter-spacing:1.2px
}
h1{
    font-size:32px
}
.brand-caption h2{
    font-size:25px
}

}
@media(max-width:700px){
    body{
    display:block;
    padding:0;
    background:#fff
}
.login-shell{
    display:block;
    min-height:100vh;
    border-radius:0;
    box-shadow:none
}
.brand-panel{
    padding:24px 22px 15px;
    align-items:center;
    background:radial-gradient(ellipse at 50% 90%,#285476,transparent 75%),var(--navy)
}
.government{
    font-size:10px;
    letter-spacing:1.5px;
    gap:9px
}
.gold-mark{
    height:17px;
    width:4px
}
.logo-halo{
    width:165px;
    margin:12px auto 0
}
.brand-panel .agency-name{
    max-width:300px;
    margin:8px auto 0;
    font-size:10px;
    letter-spacing:1.05px;
    line-height:1.45
}
.brand-caption,.brand-bottom{
    display:none
}
.form-panel{
    padding:29px 26px 22px;
    max-width:480px;
    margin:auto
}
.welcome-tag{
    font-size:9px
}
h1{
    font-size:30px;
    margin:15px 0 10px
}
h1 br{
    display:none
}
.subtitle{
    font-size:13px;
    max-width:330px
}
.form-divider{
    margin:20px 0;
    height:3px;
    width:36px
}
.form-intro{
    margin-bottom:22px;
    font-size:12px
}
.input-wrap input{
    font-size:16px;
    height:54px
}
.field-group{
    margin-bottom:20px
}
.submit-button{
    margin-top:25px
}
.help-text{
    font-size:11px;
    margin-top:20px
}
footer{
    margin-top:30px;
    font-size:10px
}
.dashboard-card{
    border-radius:0;
    padding:30px 24px;
    min-height:100vh
}

}
@media(prefers-reduced-motion:reduce){
    *,*:before,*:after{
    animation:none!important;
    transition:none!important
}
}

/* Login reference layout */
:root{--login-white:#f7fbff;--login-blue:#0576ed;--login-gold:#ffc21c}
body{position:relative;display:grid;min-height:100vh;padding:14px;background:linear-gradient(115deg,rgba(0,72,150,.72),rgba(0,111,213,.52)),url("../gambar/latar_login.jpg") center/cover fixed no-repeat;color:var(--login-white);overflow-x:hidden}
body:before{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(1,105,210,.16),rgba(0,34,91,.42));pointer-events:none}
.login-shell{width:min(1180px,calc(100vw - 28px));max-width:none;min-height:min(760px,calc(100vh - 28px));grid-template-columns:1fr 1fr;border:2px solid rgba(255,255,255,.72);border-radius:42px;background:rgba(3,72,148,.42);box-shadow:0 24px 75px rgba(0,35,89,.38),inset 0 0 0 1px rgba(112,211,255,.36);backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.brand-panel{padding:34px 50px 28px;background:linear-gradient(145deg,rgba(0,73,151,.86),rgba(2,44,99,.72));border-right:1px solid rgba(255,255,255,.18)}
.brand-panel:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 38% 45%,rgba(0,170,255,.18),transparent 38%),linear-gradient(155deg,transparent 58%,rgba(79,169,255,.2));pointer-events:none}
.brand-panel:after{width:620px;height:620px;left:-350px;bottom:-440px;border-color:rgba(255,255,255,.14);box-shadow:0 0 0 44px rgba(255,255,255,.035),0 0 0 88px rgba(255,255,255,.025)}
.brand-heading{display:grid;gap:5px}.government{gap:13px;color:#f8fbff;font-size:14px;letter-spacing:2.1px}.government-logo{width:42px;height:50px;object-fit:contain;filter:drop-shadow(0 3px 4px rgba(0,0,0,.28))}.brand-panel .agency-name{margin:-17px 0 0 55px;color:var(--login-gold);font-size:14px;letter-spacing:.35px;text-align:left;text-shadow:none;animation:none}.logo-halo{width:min(365px,80%);max-width:none;margin:25px auto 9px}.logo-halo:before{inset:10%;box-shadow:0 0 85px rgba(0,182,255,.23)}.brand-logo{filter:drop-shadow(0 13px 14px rgba(0,22,65,.35))}.eyebrow{color:#f7fbff;font-size:10px;letter-spacing:3px}.brand-caption:before{content:"";display:block;width:48px;height:4px;margin:0 auto 18px;border-radius:4px;background:var(--login-gold)}.brand-caption h2{margin:13px 0 12px;color:#fff;font-size:30px;line-height:1.24}.brand-caption p{color:rgba(255,255,255,.88);font-size:13px;line-height:1.65}.brand-bottom{display:none}
.form-panel{position:relative;margin:-2px -2px -2px 0;padding:46px 68px 24px;border:2px solid rgba(255,255,255,.44);border-radius:42px;background:linear-gradient(145deg,rgba(131,197,244,.45),rgba(183,222,250,.5));box-shadow:inset 0 0 35px rgba(255,255,255,.13),-14px 0 35px rgba(0,48,112,.12);backdrop-filter:blur(17px);-webkit-backdrop-filter:blur(17px)}
.form-content{width:100%;max-width:455px;margin:auto}.welcome-tag{color:#fff;font-size:10px;letter-spacing:2.6px}.welcome-tag>span{background:var(--login-gold)}h1{margin:19px 0 8px;color:#fff;font-size:39px;line-height:1.08;letter-spacing:-.8px;text-shadow:0 2px 6px rgba(0,54,120,.17)}h1 span{color:inherit}.subtitle{color:rgba(255,255,255,.9);font-size:13px}.form-divider{width:56px;height:5px;margin:20px 0 17px;border-radius:5px;background:var(--login-gold)}.form-intro{margin-bottom:20px;color:rgba(255,255,255,.88);font-size:12px}.field-group{margin-bottom:15px}.field-group label{margin-bottom:6px;color:#fff;font-size:12px}.input-wrap{height:48px;padding:0 14px;border:1px solid rgba(255,255,255,.48);border-radius:10px;background:rgba(255,255,255,.18);color:#fff;box-shadow:inset 0 0 18px rgba(255,255,255,.04)}.input-wrap:focus-within{border-color:#fff;background:rgba(255,255,255,.27);box-shadow:0 0 0 3px rgba(33,133,255,.22)}.input-wrap input{height:46px;color:#fff}.input-wrap input::placeholder{color:rgba(255,255,255,.72)}.password-toggle{color:rgba(255,255,255,.86)}.password-toggle[aria-pressed=true]{color:#fff;background:rgba(0,98,215,.28)}
.display-mode-choice{min-height:48px;margin:0 0 13px;padding:7px 13px;border-color:rgba(255,255,255,.43);border-radius:10px;background:rgba(255,255,255,.17);color:#fff}.display-mode-choice strong{font-size:11px}.display-mode-choice small{color:rgba(255,255,255,.82);font-size:10px}.mode-slider{background:rgba(255,255,255,.4)}.mode-switch input:checked+.mode-slider{background:#087df4}.mode-slider:before{box-shadow:0 2px 7px rgba(0,47,112,.35)}
.submit-button{height:53px;margin-top:22px;border:1px solid rgba(69,192,255,.65);border-radius:11px;background:linear-gradient(105deg,#168fff,#0055d6);box-shadow:0 9px 22px rgba(0,66,164,.28);font-size:13px;letter-spacing:2.2px}.submit-button:hover{background:linear-gradient(105deg,#299bff,#064fc2)}.help-text{margin-top:20px;color:rgba(255,255,255,.82);font-size:10px}.form-panel footer{margin-top:22px;color:rgba(255,255,255,.78);font-size:10px}.form-panel footer strong{color:rgba(255,255,255,.9)}.alert{margin-bottom:13px;border-color:rgba(255,198,183,.55);background:rgba(124,23,23,.54);color:#fff}
@media(max-width:900px){body{padding:0;background-position:42% center}.login-shell{display:block;width:100%;min-height:100vh;border:0;border-radius:0;background:rgba(0,65,137,.64)}.brand-panel{min-height:285px;padding:23px 26px 15px;border:0}.government{font-size:11px;letter-spacing:1.3px}.government-logo{width:34px;height:41px}.brand-panel .agency-name{margin:-14px 0 0 46px;font-size:11px}.logo-halo{width:190px;margin:6px auto 0}.brand-caption,.brand-bottom{display:none}.form-panel{min-height:calc(100vh - 285px);margin:0;padding:30px 25px 22px;border:0;border-radius:28px 28px 0 0;background:rgba(124,188,235,.48)}.form-content{max-width:520px}h1{font-size:32px}}

