/* Keamanan Password V19 — Sistem Perkembangan Murid */
.badge-warning{display:inline-flex;align-items:center;gap:.35rem;background:#fff1c7;color:#7a4b00;border:1px solid #e7c66d;padding:.32rem .62rem;border-radius:999px;font-size:.76rem;font-weight:800}
.password-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1rem}
.password-stat-card{display:flex;align-items:center;gap:.9rem;padding:1.05rem 1.15rem;border-radius:18px;background:linear-gradient(145deg,#fff,#f5f8fc);border:1px solid #dde5ef;box-shadow:0 10px 24px rgba(14,36,65,.06)}
.password-stat-card>i{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#e8eef7;color:#153b64;font-size:1.25rem}
.password-stat-card small{display:block;color:#6b7890;font-weight:700;margin-bottom:.2rem}.password-stat-card b{display:block;color:#0b203d;font-size:1.45rem}
.password-stat-card.warning>i{background:#fff1c7;color:#936000}.password-stat-card.success>i{background:#dff6ed;color:#087253}
.password-history-hero,.password-installer-hero{align-items:center}.password-history-lock{min-width:150px;text-align:center;padding:1rem;border:1px solid rgba(255,255,255,.2);border-radius:20px;background:rgba(255,255,255,.08)}
.password-history-lock i{display:block;font-size:2.4rem;color:#e9c46a;margin-bottom:.35rem}.password-history-lock span{font-weight:800;color:#fff}
.password-history-filter{display:grid;grid-template-columns:2fr 1fr 1.5fr 1fr 1fr auto auto;gap:.65rem;align-items:end}.password-history-filter input,.password-history-filter select{min-width:0}
.password-history-table td{vertical-align:top;min-width:125px}.password-history-table td:nth-child(2),.password-history-table td:nth-child(4){min-width:220px}.password-history-table td:last-child{max-width:260px}
.password-event-badge{display:inline-flex;padding:.32rem .62rem;border-radius:999px;background:#e8eef7;color:#173a60;font-size:.75rem;font-weight:800;margin-bottom:.35rem}
.password-event-badge.event-wajib_ganti_default{background:#def6ec;color:#087253}.password-event-badge.event-admin_reset_default,.password-event-badge.event-bulk_reset_print{background:#fff1c7;color:#7a4b00}.password-event-badge.event-admin_set_password{background:#e9e2ff;color:#553597}
.user-agent-text{max-width:250px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.installer-required-card{display:flex;align-items:center;gap:1.25rem}.installer-required-card>i{font-size:2.5rem;color:#b87b00}.installer-required-card h3{margin:0 0 .3rem}
.installer-version{display:grid;place-items:center;width:95px;height:95px;border-radius:28px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);font-size:2rem;font-weight:900;color:#e9c46a}
.installer-check-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin:1rem 0}.installer-check{display:flex;align-items:center;gap:.75rem;padding:.9rem;border-radius:15px;background:#f6f8fb;border:1px solid #dfe6ef}.installer-check>i{font-size:1.25rem}.installer-check span{display:flex;flex-direction:column}.installer-check small{color:#6b7890}.installer-check.is-ok>i{color:#0b8b67}.installer-check.is-pending>i{color:#c08000}.installer-action{margin-top:1rem}.installer-messages{margin:0;padding-left:1.25rem}.installer-messages li{padding:.35rem 0;color:#43536a}
.forced-password-body{min-height:100vh;margin:0;background:#07152c;font-family:Inter,system-ui,sans-serif}.forced-password-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.forced-password-brand{position:relative;overflow:hidden;padding:4.2rem clamp(2rem,6vw,6.5rem);display:flex;flex-direction:column;justify-content:center;background:radial-gradient(circle at 20% 15%,rgba(222,178,72,.16),transparent 30%),linear-gradient(145deg,#061226,#0c2847);color:#fff}
.forced-password-brand:after{content:"";position:absolute;right:-140px;bottom:-170px;width:430px;height:430px;border:1px solid rgba(229,188,84,.18);border-radius:50%;box-shadow:0 0 0 55px rgba(255,255,255,.018),0 0 0 110px rgba(255,255,255,.012)}
.forced-brand-line{position:absolute;top:2rem;left:clamp(2rem,6vw,6.5rem);display:flex;align-items:center;gap:.75rem;font-size:.84rem;font-weight:800;letter-spacing:.08em}.forced-brand-line img{width:48px;height:48px;object-fit:contain}.forced-password-brand h1{font-family:"Playfair Display",serif;font-size:clamp(2.5rem,5vw,5rem);line-height:1.04;margin:.7rem 0 1rem}.forced-password-brand h1 em{color:#e5bc54;font-style:normal}.forced-password-brand>p{max-width:680px;color:#cbd6e6;line-height:1.75;font-size:1.04rem}.forced-security-points{display:grid;gap:.7rem;margin-top:1.4rem}.forced-security-points span{display:flex;align-items:center;gap:.65rem;color:#e4ebf4;font-weight:650}.forced-security-points i{color:#e5bc54}
.forced-password-panel{display:flex;align-items:center;justify-content:center;padding:2rem;background:#f2f5f9}.forced-password-panel>div,.forced-password-panel>.forced-password-card{width:min(560px,100%)}.forced-user-card{display:flex;align-items:center;gap:.85rem;margin-bottom:1rem;padding:.85rem 1rem;border-radius:18px;background:#fff;border:1px solid #dce4ee;box-shadow:0 10px 30px rgba(9,33,62,.07)}.forced-avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:linear-gradient(145deg,#0c2d4e,#184c76);color:#fff;font-weight:900;font-size:1.3rem}.forced-user-card div:last-child{display:flex;flex-direction:column}.forced-user-card small{font-size:.7rem;letter-spacing:.12em;color:#9b7627;font-weight:800}.forced-user-card b{color:#102a49}.forced-user-card span{font-size:.82rem;color:#6c7890}
.forced-password-card{padding:clamp(1.5rem,4vw,2.5rem);border-radius:28px;background:#fff;border:1px solid #dbe4ef;box-shadow:0 24px 60px rgba(9,33,62,.12)}.forced-password-card h2{margin:.25rem 0 .5rem;color:#0c2847;font-size:2rem}.forced-password-card>p{color:#66758d;line-height:1.6}.forced-password-form{display:grid;gap:.72rem;margin-top:1.2rem}.forced-password-form label{font-weight:800;color:#243a55}.forced-password-form small{color:#6c7890;line-height:1.45}.forced-password-form .btn{margin-top:.5rem}.forced-logout{display:flex;justify-content:center;gap:.45rem;margin-top:1rem;color:#5f6d83;text-decoration:none;font-weight:700}
.password-input-wrap{position:relative}.password-input-wrap input{width:100%;padding-right:46px}.password-input-wrap .peek{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#5d6c83;cursor:pointer;width:34px;height:34px;border-radius:9px}.password-input-wrap .peek:hover{background:#edf2f7;color:#0b2b4c}
@media(max-width:1100px){.password-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.password-history-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.forced-password-shell{grid-template-columns:1fr}.forced-password-brand{min-height:46vh;padding-top:6rem}.forced-password-panel{padding:1.4rem}.forced-brand-line{top:1.5rem}}
@media(max-width:680px){.password-stat-grid,.installer-check-list,.password-history-filter{grid-template-columns:1fr}.password-admin-banner{align-items:flex-start}.password-admin-banner>.actions{width:100%;flex-direction:column}.password-admin-banner>.actions .btn{width:100%}.forced-password-brand{padding:5.5rem 1.4rem 2.4rem}.forced-brand-line{left:1.4rem}.forced-password-panel{padding:1rem}.forced-password-card{border-radius:22px}.password-history-lock,.installer-version{display:none}}
