/* Latar halaman akun dibuat penuh dan menyatu dengan identitas biru SiPOLMED */
body.auth-layout{
 box-sizing:border-box;min-height:100vh;height:auto;margin:0;
 background-color:#163b68!important;
 background-image:linear-gradient(135deg,rgba(15,48,91,.64),rgba(53,43,104,.52)),url('bg-campus.jpg')!important;
 background-repeat:no-repeat,no-repeat!important;
 background-size:cover,cover!important;
 background-position:center,center!important;
 background-attachment:fixed,fixed!important;
 position:relative;padding-top:112px!important;
}
.auth-brand{
 position:absolute;top:0;left:0;right:0;z-index:5;min-height:88px;
 display:flex;align-items:center;justify-content:center;padding:10px 18px;
 background:linear-gradient(90deg,rgba(18,55,101,.88),rgba(62,49,112,.82));
 border-bottom:1px solid rgba(255,255,255,.18);
 box-shadow:0 5px 22px rgba(4,20,43,.2);box-sizing:border-box;
}
.auth-brand img{display:block;width:min(540px,92vw);height:62px;object-fit:contain;object-position:center}
.auth-layout .login-box,.auth-layout .container,.auth-layout .profile-wrap{
 position:relative;z-index:1;box-sizing:border-box;max-width:min(94vw,760px);
 background:linear-gradient(145deg,rgba(39,78,129,.97),rgba(58,54,119,.96))!important;
 color:#fff!important;border:1px solid rgba(255,255,255,.16);
 box-shadow:0 18px 48px rgba(3,18,43,.35);
}
.auth-layout .login-box{max-width:450px;margin:auto}
.auth-layout .container{margin:16px auto 30px}
.auth-layout .profile-wrap{margin:18px auto 32px;width:calc(100% - 28px)}
.auth-layout .auth-subtitle{font-size:14px;line-height:1.5;color:#e8f2ff;margin:0 0 24px;text-align:center}
.auth-layout .toggle-eye{white-space:nowrap;min-width:80px}
.auth-layout .password-wrap input{padding-right:97px}
.auth-layout.auth-profile{display:block!important}
.auth-layout.auth-login{display:flex;flex-direction:column;align-items:center;justify-content:center}
.auth-layout.auth-register{justify-content:flex-start}
.auth-layout .profile-wrap label,.auth-layout .container label{color:#f5f8ff}
.auth-layout .profile-wrap input,.auth-layout .container input,.auth-layout .login-box input{background:#f4f7fc;color:#203957;border:1px solid #d6e2f1}
.auth-layout .profile-wrap input:focus,.auth-layout .container input:focus,.auth-layout .login-box input:focus{outline:2px solid #9ac8ff;outline-offset:1px}
.auth-layout .profile-actions a,.auth-layout .profile-actions button,.auth-layout .btn,.auth-layout .login-box button{
 background:#edf4ff;color:#234b7c;border:1px solid rgba(255,255,255,.35)
}
.auth-layout .profile-actions a:hover,.auth-layout .profile-actions button:hover,.auth-layout .btn:hover,.auth-layout .login-box button:hover{background:#dceaff}
.auth-layout .profile-actions .logout{background:#fbe9ef;color:#9d294a}
.auth-layout .login-box .footer{color:#e4edfa}
.auth-layout .login-box .footer a,.auth-layout .back{color:#d9e8ff}
@media(max-width:700px){
 body.auth-layout{background-position:center,center!important;background-size:cover,cover!important;padding-top:98px!important}
 .auth-brand{min-height:75px}.auth-brand img{height:50px}
 .auth-layout .container,.auth-layout .profile-wrap{padding:22px 18px}
}

/* Explicit final overrides for older inline page styles */
html:has(body.auth-layout){min-height:100%;background:#163b68}
body.auth-layout{width:100%;min-height:100vh;overflow-x:hidden;background-size:cover,cover!important;background-position:center center,center center!important}
body.auth-layout::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(120deg,rgba(16,54,98,.12),rgba(69,45,118,.10))}
.auth-layout .auth-brand{background:linear-gradient(90deg,rgba(19,58,105,.94),rgba(58,48,112,.92))!important}
.auth-layout .login-box h2,.auth-layout .container h2,.auth-layout .profile-wrap h2{color:#fff}
.auth-layout .profile-wrap p,.auth-layout .container p{color:#eaf2ff}
.auth-layout .profile-wrap .notice{color:#f4f8ff;background:rgba(255,255,255,.13)}
.auth-layout .profile-wrap .notice small{color:#e5efff}
.auth-layout .profile-wrap .profile-actions a{display:inline-flex;align-items:center;justify-content:center}
