*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;background:#f4f7fb;color:#17233b}.layout{min-height:100vh}.sidebar{position:fixed;left:0;top:0;bottom:0;width:255px;background:linear-gradient(165deg,#062b66,#0756bd);color:white;padding:22px 15px;z-index:20;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;padding:4px 9px 26px}.borrower-logo{width:48px;height:48px;border-radius:50%;background:#fff;padding:3px;display:grid;place-items:center;flex:0 0 auto;box-shadow:0 7px 20px #00245b66;overflow:hidden}.borrower-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%;display:block}
.crest{width:44px;height:44px;border-radius:13px;background:white;color:#0750ad;display:grid;place-items:center;font-weight:900;box-shadow:0 7px 20px #00245b66}.brand b{font-size:14px}.brand small{display:block;font-size:9px;opacity:.7;margin-top:4px;max-width:145px;line-height:1.3}.sidebar{overflow:hidden}.sidebar nav{display:grid;gap:5px;overflow-y:auto;overflow-x:hidden;flex:1;min-height:0;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin}.sidebar nav a{color:#d8e7ff;text-decoration:none;padding:12px 13px;border-radius:10px;font-size:13px;display:flex;align-items:center;gap:12px}.sidebar nav a.active,.sidebar nav a:hover{background:#ffffff1c;color:#fff}.sidebar nav a:first-letter{font-size:18px}.sidefoot{margin-top:auto;border-top:1px solid #ffffff22;padding:16px 6px 5px;display:flex;align-items:center;gap:9px}.avatar{width:36px;height:36px;border-radius:50%;background:#fff;color:#0750ad;display:grid;place-items:center;font-weight:800}.sidefoot b{font-size:11px}.sidefoot small{display:block;opacity:.65;font-size:9px;text-transform:uppercase}.sidefoot a{margin-left:auto;color:white;text-decoration:none;font-size:20px}.main{margin-left:255px}.top{height:75px;background:#fff;border-bottom:1px solid #e7ebf2;display:flex;align-items:center;padding:0 30px;gap:15px;position:sticky;top:0;z-index:10}.top h1{font-size:17px;margin:0}.top small{color:#8b96a8;font-size:10px}.topright{margin-left:auto;font-size:10px;color:#6f7c91}.school-dot{color:#1caf67;margin-right:5px}.hamb{display:none;border:0;background:#edf3fb;border-radius:8px;padding:8px}.content{padding:28px;max-width:1550px;margin:auto}.grid{display:grid;gap:17px}.kpis{grid-template-columns:repeat(4,1fr)}.card,.panel{background:#fff;border:1px solid #e6ebf2;border-radius:17px;box-shadow:0 8px 25px #1a386c08}.card{padding:19px}.kpihead{display:flex;justify-content:space-between;color:#78869c;font-size:11px}.kpiicon{width:38px;height:38px;border-radius:11px;background:#edf4ff;display:grid;place-items:center;color:#0b5ed7;font-size:18px}.num{font-size:30px;font-weight:800;margin:13px 0 4px}.note{font-size:10px;color:#9aa4b4}.panel{padding:20px;margin-top:18px}.panelhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px;gap:10px}.panelhead h2,.panelhead h3{margin:0;font-size:15px}.btn{border:0;border-radius:9px;padding:10px 13px;text-decoration:none;display:inline-flex;align-items:center;gap:6px;font-weight:700;font-size:11px;cursor:pointer}.primary{background:#0b5ed7;color:#fff}.secondary{background:#edf2f8;color:#40516b}.success{background:#128a50;color:#fff}.danger{background:#d83b3b;color:#fff}.warning{background:#e7a700;color:#fff}.sm{padding:7px 9px}.toolbar{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:17px}.search{width:260px;border:1px solid #dce3ec;border-radius:9px;padding:10px 12px}.tablewrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:11px}.table th{background:#f8fafc;color:#78869a;text-transform:uppercase;font-size:9px;letter-spacing:.04em}.table th,.table td{padding:12px 10px;border-bottom:1px solid #edf0f4;text-align:left}.table tr:hover td{background:#fbfcfe}.badge{padding:5px 8px;border-radius:30px;font-size:9px;font-weight:800}.green{background:#e5f7ed;color:#137541}.blue{background:#e7f0ff;color:#0b5ed7}.red{background:#fdeaea;color:#b82f2f}.yellow{background:#fff3d6;color:#8d6500}.muted{color:#8591a4}.formgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.field{display:grid;gap:6px}.field.full{grid-column:1/-1}.field label{font-size:10px;font-weight:800;color:#526078}.field input,.field select,.field textarea{border:1px solid #dbe2eb;border-radius:9px;padding:10px;font:inherit;font-size:11px;width:100%;background:#fff}.field textarea{min-height:80px}.actions{display:flex;gap:5px;flex-wrap:wrap}.alert{padding:12px 14px;border-radius:10px;font-size:11px;margin-bottom:13px}.alert.success{background:#e8f7ef;color:#167344}.alert.error{background:#fdeaea;color:#aa2d2d}.hero{background:linear-gradient(110deg,#082e6d,#0b61d4);color:#fff;border-radius:20px;padding:24px;display:flex;justify-content:space-between;align-items:center;overflow:hidden}.hero h2{margin:0 0 6px;font-size:20px}.hero p{margin:0;opacity:.8;font-size:11px}.hero-mark{font-size:72px;font-weight:900;opacity:.12}.twocol{grid-template-columns:2fr 1fr}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.summary>div{background:#f7f9fc;border-radius:11px;padding:12px;font-size:10px;color:#7a8799}.summary b{display:block;font-size:18px;color:#18243a;margin-top:4px}.empty{text-align:center;padding:28px;color:#99a3b2}.qrbox{display:grid;place-items:center;padding:18px}.print-only{display:none}.login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#052b68,#0b65d8)}.loginbox{background:white;width:min(430px,92vw);border-radius:20px;padding:32px;box-shadow:0 25px 60px #001d4c55}.loginbox .brand{padding:0 0 20px}.loginbox h1{font-size:23px;margin:5px 0}.loginbox p{font-size:11px;color:#7c899c}.chartbar{display:grid;grid-template-columns:repeat(7,1fr);gap:9px;height:150px;align-items:end}.bar{background:linear-gradient(#0b63d7,#74aefc);border-radius:7px 7px 2px 2px;min-height:8px;position:relative}.bar span{position:absolute;bottom:-19px;left:50%;transform:translateX(-50%);font-size:8px;color:#8b96a6}.bar b{position:absolute;top:-14px;left:50%;transform:translateX(-50%);font-size:8px}.filterrow{display:flex;gap:9px;align-items:end;flex-wrap:wrap}.filterrow .field{min-width:150px}@media(max-width:1000px){.kpis{grid-template-columns:repeat(2,1fr)}.twocol{grid-template-columns:1fr}}@media(max-width:720px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.show{transform:translateX(0)}.main{margin-left:0}.hamb{display:block}.top{padding:0 15px}.topright{display:none}.content{padding:15px}.kpis,.formgrid,.summary{grid-template-columns:1fr}.search{width:100%}}@media print{.sidebar,.top,.no-print{display:none!important}.main{margin:0}.content{padding:0}.panel{box-shadow:none;border:0}.print-only{display:block}}

/* Kolom aksi peminjam selalu terlihat di sisi kanan tabel */
.table th.aksi-col,.table td.aksi-col{position:sticky;right:0;background:#fff;min-width:115px;white-space:nowrap;z-index:2;box-shadow:-5px 0 10px rgba(20,40,80,.06)}.table th.aksi-col{background:#f8fafc;z-index:3}.table tr:hover td.aksi-col{background:#fbfcfe}.table td.aksi-col .btn{padding:8px 10px;font-size:10px}
/* === LOGIN MODERN SMKN4SBY === */
.login-modern{margin:0;font-family:Inter,Arial,sans-serif;background:#eef3fa;color:#23334e}.login-split{min-height:100vh;display:grid;grid-template-columns:40% 60%}.login-left{background:linear-gradient(135deg,#f7fbff,#e9f1fb);display:flex;justify-content:center;overflow:auto}.login-inner{width:min(560px,92%);text-align:center;padding:26px 20px}.school-logo{width:160px;height:160px;object-fit:cover;border-radius:50%;margin:0 auto 4px;display:block;box-shadow:0 8px 24px rgba(11,53,105,.12)}.school-logo.small{width:130px;height:130px}.login-inner h1{font-size:26px;letter-spacing:.3px;margin:4px 0 6px;color:#223653}.subtitle{margin:0 0 18px;color:#60718a}.login-card{width:min(400px,100%);margin:0 auto;text-align:left}.login-card h2{text-align:center;margin:0;font-size:20px}.login-card>p{text-align:center;color:#74839a;font-size:12px;margin:6px 0 16px}.modern-label{display:block;font-size:10px;font-weight:800;letter-spacing:.06em;color:#53647c;margin:13px 0 7px}.modern-input{width:100%;padding:13px 14px;border:1px solid #d4deeb;border-radius:10px;background:#fff;font:inherit;font-size:13px;outline:none;box-shadow:0 2px 8px rgba(26,57,96,.03)}.modern-input:focus{border-color:#1d62bb;box-shadow:0 0 0 3px rgba(29,98,187,.10)}.modern-login-btn{width:100%;border:0;border-radius:9px;background:#1859b8;color:#fff;font-weight:700;padding:13px;margin-top:14px;cursor:pointer;font-size:13px}.copyright{font-size:11px;color:#66758a;margin:14px 0}.role-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;text-align:center}.role-box{background:#fff;border:1px solid #dbe4ef;border-radius:12px;padding:13px 8px;display:grid;gap:7px;min-height:160px;align-content:start;box-shadow:0 8px 20px rgba(30,58,95,.04)}.role-icon{font-size:23px}.role-box b{font-size:11px}.role-box span{font-size:10px;color:#65758a;line-height:1.45;min-height:30px}.role-box a{border:1px solid #2b66b9;border-radius:6px;padding:7px;color:#275eaa;text-decoration:none;font-size:10px;font-weight:700;margin-top:auto}.account-note{background:#e9f3ff;border:1px solid #bcd2ef;color:#355b87;border-radius:9px;padding:12px;text-align:left;font-size:10px;margin-top:12px}.login-right{padding:10px;background:#e5edf6;display:flex;align-items:center}.preview-shell{width:100%;min-height:700px;background:#f5f8fc;border-radius:12px;display:grid;grid-template-columns:235px 1fr;overflow:hidden;box-shadow:0 15px 45px rgba(18,48,88,.15)}.preview-side{background:linear-gradient(180deg,#062b61,#0d3f7f);color:#fff;padding:18px 12px}.preview-brand{display:flex;gap:10px;align-items:center;margin-bottom:25px;font-size:15px}.preview-brand img{width:60px;height:60px;object-fit:cover;border-radius:50%}.preview-menu{padding:12px;border-radius:7px;color:#dbe8f8;font-size:12px;margin:4px 0}.preview-menu.active{background:#1959a5;color:#fff}.preview-main{padding:18px}.preview-top{height:36px;border-bottom:1px solid #d9e2ee;display:flex;justify-content:space-between;color:#253852;font-size:13px}.preview-main h2{margin:15px 0 3px;font-size:22px}.preview-main>p{font-size:11px;color:#68788e;margin:0 0 16px}.preview-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.preview-kpis>div,.mini-panel{background:#fff;border:1px solid #dce5f0;border-radius:12px;padding:14px;color:#2f5eab;font-size:20px}.preview-kpis b{display:block;color:#1e2d42;font-size:25px;margin-top:8px}.preview-kpis small{display:block;color:#65748a;font-size:10px;margin-top:4px}.welcome-preview{margin-top:14px;background:#eaf3ff;border:1px solid #a9c6e9;border-radius:12px;padding:18px;display:flex;justify-content:space-between;gap:20px;color:#315177}.welcome-preview b{font-size:16px}.welcome-preview p{font-size:10px;line-height:1.6;max-width:480px}.box-icon{font-size:38px;align-self:center}.preview-bottom{display:grid;grid-template-columns:1fr 1.4fr;gap:12px;margin-top:14px}.mini-panel{min-height:220px;color:#2c3b50;font-size:12px}.fake-bars{height:145px;display:flex;gap:8px;align-items:end;padding-top:20px}.fake-bars i{flex:1;background:#2767bd;border-radius:4px 4px 0 0;height:40%}.fake-bars i:nth-child(2){height:55%}.fake-bars i:nth-child(3){height:78%}.fake-bars i:nth-child(4){height:48%}.fake-bars i:nth-child(5){height:62%}.fake-bars i:nth-child(6){height:70%}.fake-bars i:nth-child(7){height:88%}.fake-row{height:25px;border-bottom:1px solid #e7edf5;margin-top:10px;background:linear-gradient(90deg,#f4f7fb 40%,transparent 40%)}.borrower-login-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#edf5ff,#dbe9f8);padding:20px}.borrower-login-card{width:min(430px,95vw);background:#fff;border:1px solid #d8e3ef;border-radius:22px;padding:28px;text-align:center;box-shadow:0 20px 55px rgba(22,59,104,.14)}.borrower-login-card h1{margin:10px 0 5px;font-size:24px}.borrower-login-card>p{font-size:11px;color:#6c7b90;line-height:1.6}.borrower-login-card form{text-align:left}.login-switch{display:flex;gap:10px;margin-top:14px}.login-switch a{flex:1;padding:9px;border:1px solid #bcd0e8;border-radius:8px;text-decoration:none;color:#245da8;font-size:11px;font-weight:700}.back-admin{margin-top:16px!important}.back-admin a{color:#245da8;text-decoration:none;font-weight:600}@media(max-width:1050px){.login-split{grid-template-columns:1fr}.login-right{display:none}}@media(max-width:560px){.role-grid{grid-template-columns:1fr}.role-box{min-height:auto}.login-inner h1{font-size:22px}}
.logo-crest{overflow:hidden;padding:0;background:#fff!important}.logo-crest img{width:100%;height:100%;object-fit:cover;border-radius:50%}


/* === FIX TAMPILAN LOGIN v2: stabil di HP, laptop, dan desktop === */
html,body{min-height:100%;overflow-x:hidden}
body.login-modern{min-height:100vh;background:#edf3f9;color:#1f2f46}
.login-split{width:100%;min-height:100vh;display:grid;grid-template-columns:minmax(380px,520px) minmax(0,1fr);align-items:stretch}
.login-left{width:100%;min-width:0;background:linear-gradient(135deg,#f8fbff 0%,#eaf2fb 100%);padding:28px 18px;overflow:visible}
.login-inner{width:100%;max-width:430px;margin:auto;padding:0;text-align:center}
.school-logo{width:112px;height:112px;object-fit:contain;border-radius:50%;background:#fff;padding:3px;margin:0 auto 12px;display:block;box-shadow:0 8px 22px rgba(11,53,105,.13)}
.school-logo.small{width:100px;height:100px}
.login-inner h1{font-size:25px;line-height:1.2;margin:0 0 7px;color:#193b68;letter-spacing:0}
.subtitle{font-size:14px;line-height:1.45;margin:0 0 20px;color:#667993}
.login-card{width:100%;margin:0 auto;text-align:left;background:#fff;border:1px solid #dce5ef;border-radius:18px;padding:22px;box-shadow:0 14px 35px rgba(24,58,102,.08)}
.login-card h2{text-align:center;margin:0;font-size:21px;color:#233956}
.login-card>p{text-align:center;color:#75849a;font-size:12px;margin:7px 0 16px}
.modern-label{font-size:11px;margin:12px 0 7px;color:#465a75}
.modern-input{height:46px;padding:0 13px;border-radius:10px;font-size:13px}
.modern-login-btn{height:46px;padding:0;border-radius:10px;font-size:14px}
.copyright{font-size:11px;margin:15px 0;color:#728198}
.role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:100%}
.role-box{min-width:0;min-height:142px;padding:12px 7px;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px}
.role-icon{font-size:21px;line-height:1}
.role-box b{font-size:11px;line-height:1.35}.role-box span{font-size:9.5px;line-height:1.4;min-height:27px}.role-box a{width:100%;padding:8px 4px;font-size:9.5px}
.account-note{font-size:10px;line-height:1.45;margin-top:12px}
.login-right{min-width:0;padding:26px;background:#dfe9f5;display:flex;align-items:center;justify-content:center;overflow:hidden}
.preview-shell{width:min(100%,1100px);min-height:650px;height:auto;grid-template-columns:210px minmax(0,1fr);border-radius:18px}
.preview-side{min-width:0}.preview-main{min-width:0;padding:18px}.preview-brand{font-size:13px}.preview-brand img{object-fit:contain;background:#fff}.preview-menu{font-size:11px;padding:10px}
.preview-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.preview-kpis>div{min-width:0;padding:11px;font-size:16px}.preview-kpis b{font-size:22px}.preview-kpis small{font-size:9px}
.preview-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}
.borrower-login-wrap{min-height:100vh;padding:22px 14px}.borrower-login-card{width:100%;max-width:430px;padding:25px;border-radius:18px}
@media(max-width:1180px){.login-split{grid-template-columns:minmax(370px,460px) minmax(0,1fr)}.preview-shell{grid-template-columns:180px minmax(0,1fr);min-height:600px}.preview-bottom{grid-template-columns:1fr}.mini-panel{min-height:160px}.preview-menu{font-size:10px}}
@media(max-width:900px){.login-split{grid-template-columns:1fr}.login-right{display:none}.login-left{padding:28px 16px}.login-inner{max-width:480px}}
@media(max-width:560px){.login-left{padding:22px 14px}.login-inner h1{font-size:21px}.subtitle{font-size:12px}.school-logo{width:95px;height:95px}.login-card{padding:18px}.role-grid{grid-template-columns:1fr;gap:10px}.role-box{min-height:auto;padding:13px;display:grid;grid-template-columns:32px 1fr auto;align-items:center;text-align:left}.role-icon{grid-row:1/3}.role-box b{font-size:12px}.role-box span{grid-column:2;min-height:0}.role-box a{grid-column:3;grid-row:1/3;width:auto;padding:8px 10px;white-space:nowrap}.copyright{margin:13px 0}.account-note{text-align:left}.borrower-login-card{padding:22px}.login-switch{flex-direction:column}}

/* =========================================================
   LOGIN V3 — modern split layout, isi & fungsi tetap sama
   ========================================================= */
.login-v3{background:#eaf1f8;min-height:100vh;color:#1b3556}
.login-v3-page{min-height:100vh;display:grid;grid-template-columns:minmax(430px,48%) minmax(520px,52%);overflow:hidden}
.login-v3-brand{position:relative;overflow:hidden;background:linear-gradient(145deg,#061f49 0%,#0b3c7c 56%,#0d5fbe 100%);color:#fff}
.login-v3-brand:after{content:"";position:absolute;right:-150px;bottom:-190px;width:520px;height:360px;border-radius:50% 50% 0 0;background:linear-gradient(135deg,#116de0,#0a438b);opacity:.9;transform:rotate(-7deg)}
.brand-pattern{position:absolute;inset:0;opacity:.13;background-image:radial-gradient(circle at 15% 20%,#fff 1px,transparent 1px),radial-gradient(circle at 80% 75%,#fff 1px,transparent 1px);background-size:30px 30px,45px 45px}
.brand-content{position:relative;z-index:2;max-width:610px;margin:0 auto;padding:58px 64px 34px;min-height:100vh;display:flex;flex-direction:column}
.brand-head{display:flex;align-items:center;gap:17px}.brand-logo-wrap{width:78px;height:78px;border-radius:50%;background:#fff;padding:4px;box-shadow:0 12px 30px rgba(0,0,0,.18);flex:0 0 auto}.brand-logo{width:100%;height:100%;object-fit:contain;border-radius:50%}.brand-school{font-weight:800;font-size:20px;line-height:1.05;letter-spacing:.2px}
.brand-copy{margin-top:62px}.brand-eyebrow{font-size:12px;letter-spacing:.18em;font-weight:700;opacity:.72;margin-bottom:13px}.brand-copy h1{font-size:34px;line-height:1.18;margin:0;font-weight:500;letter-spacing:-.7px}.brand-copy h1 strong{color:#3f96ff;font-weight:800}.brand-line{width:70px;height:4px;border-radius:20px;background:#2e83ec;margin:24px 0 20px}.brand-copy p{font-size:14px;line-height:1.7;max-width:430px;color:#d9e8fb;margin:0}
.brand-features{display:grid;gap:18px;margin-top:38px}.brand-feature{display:flex;align-items:center;gap:16px}.brand-feature>span{width:58px;height:58px;border-radius:14px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(235,245,255,.92));border:1.5px solid rgba(72,157,245,.72);display:grid;place-items:center;color:#eaf5ff;flex:0 0 auto;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04),0 8px 20px rgba(0,0,0,.10)}.brand-feature>span svg{width:38px;height:38px;display:block}.brand-feature .feature-inventory svg{filter:drop-shadow(0 2px 4px rgba(42,145,255,.22))}.brand-feature .feature-loan svg{filter:drop-shadow(0 2px 4px rgba(42,145,255,.22))}.brand-feature .feature-safe svg{filter:drop-shadow(0 2px 4px rgba(42,145,255,.22))}.brand-feature .feature-report svg{filter:drop-shadow(0 2px 4px rgba(42,145,255,.22))}.brand-feature b{display:block;font-size:13px;margin-bottom:4px}.brand-feature small{display:block;font-size:10.5px;color:#c7dbf3}
.brand-illustration{position:relative;height:155px;margin-top:auto;max-width:430px}.illus-glow{position:absolute;left:25px;right:0;bottom:8px;height:60px;background:#1555a1;border-radius:50%;filter:blur(3px);opacity:.75}.illus-laptop{position:absolute;left:34px;bottom:18px;width:118px;height:78px;border:7px solid #17263c;border-radius:8px 8px 4px 4px;transform:skewY(-7deg);background:linear-gradient(145deg,#233f60,#0c1728);box-shadow:0 10px 15px rgba(0,0,0,.25)}.illus-laptop:after{content:"";position:absolute;left:-18px;right:-18px;bottom:-18px;height:12px;border-radius:8px;background:#6e829a}.illus-projector{position:absolute;left:150px;bottom:29px;width:145px;height:60px;border-radius:9px;background:linear-gradient(#f5f6f8,#aeb8c3);box-shadow:0 12px 18px rgba(0,0,0,.2)}.illus-projector:after{content:"";position:absolute;right:-14px;top:16px;width:34px;height:28px;border-radius:50%;background:#172538;border:7px solid #d1d7df}.illus-camera{position:absolute;left:185px;bottom:7px;width:48px;height:40px;border-radius:8px;background:#172337;transform:rotate(-7deg);box-shadow:0 8px 14px rgba(0,0,0,.28)}.illus-camera:after{content:"";position:absolute;left:13px;top:9px;width:20px;height:20px;border-radius:50%;background:#52667f;border:4px solid #101a29}.illus-box{position:absolute;right:35px;bottom:20px;width:86px;height:64px;background:linear-gradient(135deg,#e0b17d,#a87545);border:3px solid #6f4930;border-radius:4px;display:grid;place-items:center;color:#9c5d38;font-size:30px;transform:skewY(2deg);box-shadow:0 12px 18px rgba(0,0,0,.24)}
.login-v3-form-side{background:linear-gradient(135deg,#edf4fb,#f7faff);padding:34px 52px;display:flex;flex-direction:column;align-items:center;overflow:auto}.form-top{width:100%;max-width:590px;display:flex;justify-content:flex-end;align-items:center;gap:8px;color:#667b95;font-size:11px;padding-right:3px}.form-dot{width:8px;height:8px;border-radius:50%;background:#1665c6;box-shadow:0 0 0 4px #d9e9fa}
.login-v3-card{width:min(590px,100%);background:#fff;border:1px solid #dfe8f2;border-radius:26px;padding:38px 44px 28px;box-shadow:0 24px 60px rgba(23,55,94,.12);margin:25px auto 20px}.login-user-icon{width:68px;height:68px;border-radius:18px;background:linear-gradient(145deg,#2585ec,#1260c8);color:#fff;display:grid;place-items:center;font-size:31px;margin:0 auto 19px;box-shadow:0 10px 22px rgba(24,104,205,.2)}.login-v3-card h2{text-align:center;font-size:25px;line-height:1.2;margin:0;color:#17375f}.login-desc{text-align:center;color:#8190a5;font-size:12px;margin:9px 0 25px}.v3-label{display:block;font-size:11px;font-weight:800;color:#314967;margin:0 0 8px}.v3-input-wrap{height:53px;border:1px solid #d6e0ec;border-radius:11px;display:flex;align-items:center;padding:0 14px;gap:11px;margin-bottom:18px;transition:.2s;background:#fff}.v3-input-wrap:focus-within{border-color:#2d7bd8;box-shadow:0 0 0 4px rgba(45,123,216,.08)}.v3-input-wrap>span{color:#8394aa;font-size:17px}.v3-input{border:0;outline:0;min-width:0;flex:1;height:100%;font:inherit;font-size:13px;color:#243b59;background:transparent}.v3-input::placeholder{color:#a9b5c5}.pass-toggle{border:0;background:transparent;color:#8292a7;cursor:pointer;padding:4px;font-size:15px}.login-options{display:flex;justify-content:space-between;align-items:center;margin:-3px 0 22px;font-size:11px;color:#667992}.login-options label{display:flex;align-items:center;gap:7px}.login-options input{width:17px;height:17px;accent-color:#1767ce}.login-options a{color:#1767ce;text-decoration:none;font-weight:700}.v3-login-btn{height:51px;width:100%;border:0;border-radius:11px;background:linear-gradient(90deg,#2785e9,#1765cf);color:#fff;font-size:14px;font-weight:800;cursor:pointer;box-shadow:0 10px 20px rgba(22,101,207,.18);transition:.2s}.v3-login-btn:hover{transform:translateY(-1px);box-shadow:0 13px 25px rgba(22,101,207,.24)}.v3-login-btn span{font-size:18px;margin-right:6px}.or-divider{display:flex;align-items:center;gap:12px;color:#9aa8b9;font-size:10px;margin:22px 0 15px}.or-divider:before,.or-divider:after{content:"";height:1px;background:#e4eaf1;flex:1}.v3-role-grid{display:grid;grid-template-columns:1fr;gap:8px;margin:0}.v3-role-box{min-height:0;display:grid;grid-template-columns:38px 1fr auto;align-items:center;text-align:left;padding:11px 13px;border:1px solid #dce5ef;border-radius:11px;box-shadow:none;background:#fff}.v3-role-box .role-icon{width:32px;height:32px;border-radius:9px;background:#edf5ff;display:grid;place-items:center;font-size:15px}.v3-role-box .role-text b{display:block;font-size:11px;color:#263f5d}.v3-role-box .role-text span{display:block;font-size:9px;color:#8290a3;min-height:0;margin-top:2px}.v3-role-box a{margin:0;width:auto;padding:7px 10px;border-radius:7px;font-size:9px;color:#1765c5;border-color:#bcd3ee;background:#f7fbff;white-space:nowrap}.v3-role-box a:hover{background:#edf6ff}.account-note{font-size:9.5px;line-height:1.45;margin-top:10px;background:#f0f7ff;border-color:#cfe1f5;padding:10px}.v3-footer{text-align:center;color:#9aa7b8;font-size:10px;line-height:1.65;margin-top:18px}.v3-footer span{color:#b0bac7}
.login-v3-card .alert{font-size:11px;margin-bottom:15px}
@media(max-width:1050px){.login-v3-page{grid-template-columns:1fr}.login-v3-brand{min-height:460px}.brand-content{min-height:460px;padding:38px 38px 20px}.brand-copy{margin-top:38px}.brand-features{grid-template-columns:1fr 1fr;gap:14px}.brand-illustration{display:none}.login-v3-form-side{padding:30px 22px}.login-v3-card{margin-top:18px}}
@media(max-width:600px){.login-v3-brand{min-height:auto}.brand-content{min-height:0;padding:27px 22px 32px}.brand-head{gap:11px}.brand-logo-wrap{width:58px;height:58px}.brand-school{font-size:15px}.brand-copy{margin-top:30px}.brand-eyebrow{font-size:9px}.brand-copy h1{font-size:25px}.brand-copy p{font-size:11px}.brand-features{grid-template-columns:1fr;gap:12px;margin-top:25px}.brand-feature>span{width:46px;height:46px;border-radius:12px}.brand-feature>span svg{width:30px;height:30px}.brand-feature b{font-size:11px}.brand-feature small{font-size:9px}.login-v3-form-side{padding:18px 12px}.form-top{font-size:9px}.login-v3-card{padding:27px 18px 21px;border-radius:20px;margin-top:14px}.login-user-icon{width:58px;height:58px;border-radius:15px;font-size:26px}.login-v3-card h2{font-size:21px}.login-desc{font-size:10px;margin-bottom:21px}.v3-input-wrap{height:48px}.login-options{font-size:10px}.v3-role-box{grid-template-columns:44px minmax(0,1fr) auto;gap:10px;padding:12px 11px;border-radius:14px;min-height:64px}.v3-role-box .role-icon{width:40px;height:40px;border-radius:12px}.v3-role-box .role-text b{font-size:11px;white-space:nowrap}.v3-role-box .role-text span{font-size:8.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.v3-role-box a{grid-column:auto;justify-self:auto;margin-top:0;padding:8px 11px;border-radius:9px;font-size:9px;font-weight:700;box-shadow:0 3px 8px rgba(23,101,197,.06)}.account-note{font-size:9px}}

/* Ringkasan stok untuk portal peminjam */
.stock-overview{margin-top:18px;padding:20px}
.stock-overview .panelhead{margin-bottom:13px}
.stock-overview .panelhead h3{margin:0 0 3px;font-size:15px}
.stock-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.stock-card{display:flex;align-items:center;gap:12px;border:1px solid #e0e8f2;background:#f8fbff;border-radius:13px;padding:14px}
.stock-icon{width:40px;height:40px;border-radius:11px;background:#e7f0ff;color:#1765cf;display:grid;place-items:center;font-size:19px;font-weight:800;flex:0 0 auto}
.stock-card.available .stock-icon{background:#e7f8ef;color:#128a50}
.stock-card.used .stock-icon{background:#fff3d9;color:#b77900}
.stock-card span{display:block;font-size:10px;color:#6f7f94;font-weight:700}
.stock-card strong{display:block;font-size:24px;line-height:1.15;color:#172f50;margin:2px 0}
.stock-card small{display:block;font-size:9px;color:#9aa6b6}
@media(max-width:720px){.stock-cards{grid-template-columns:1fr}}

/* Ringkasan status peminjaman portal - tampilan modern */
.loan-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 18px}
.loan-stat{min-height:106px;background:#fff;border:1px solid #e2e9f2;border-radius:16px;padding:14px;display:flex;align-items:center;gap:11px;box-shadow:0 7px 22px rgba(22,50,88,.05);transition:transform .18s,box-shadow .18s}
.loan-stat:hover{transform:translateY(-2px);box-shadow:0 11px 28px rgba(22,50,88,.09)}
.loan-stat-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;font-size:18px;font-weight:800;flex:0 0 auto;background:#eef4ff;color:#1765cf}
.loan-stat span{display:block;font-size:9.5px;font-weight:800;color:#667892;line-height:1.3}
.loan-stat strong{display:block;font-size:25px;line-height:1.1;color:#152e50;margin:4px 0}
.loan-stat small{display:block;font-size:8.5px;color:#9aa7b8;line-height:1.25}
.loan-stat.pending .loan-stat-icon{background:#fff4dc;color:#b77900}.loan-stat.active .loan-stat-icon{background:#e8f1ff;color:#1765cf}.loan-stat.done .loan-stat-icon{background:#e5f8ef;color:#13834d}.loan-stat.late .loan-stat-icon{background:#fff0e7;color:#c85a1d}.loan-stat.rejected .loan-stat-icon{background:#fdebec;color:#c33a43}
@media(max-width:1200px){.loan-summary{grid-template-columns:repeat(3,1fr)}}
@media(max-width:720px){.loan-summary{grid-template-columns:1fr 1fr}.loan-stat{min-height:96px;padding:12px}.loan-stat strong{font-size:22px}.loan-stat span{font-size:9px}.loan-stat small{font-size:8px}}
@media(max-width:450px){.loan-summary{grid-template-columns:1fr}}


/* Pengingat pengembalian */
.return-notice{display:flex;gap:16px;align-items:flex-start;background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:18px 20px;margin:0 0 20px;box-shadow:0 6px 18px rgba(15,39,71,.05)}
.return-notice-icon{width:46px;height:46px;border-radius:14px;background:#eaf2ff;display:grid;place-items:center;font-size:23px;flex:none}
.return-notice-body{flex:1}.return-notice-body h3{margin:1px 0 10px;font-size:16px;color:#102c50}.return-item{padding:10px 12px;border-radius:10px;margin-top:7px;font-size:13px;line-height:1.55;border-left:4px solid}.return-item.info{background:#f1f7ff;border-color:#2f73d9;color:#294665}.return-item.warning{background:#fff8e8;border-color:#e9a500;color:#664d13}.return-item.danger{background:#fff0f0;border-color:#dc3545;color:#70252b}
@media(max-width:700px){.return-notice{padding:15px}.return-notice-icon{width:40px;height:40px;font-size:20px}}


/* Notifikasi pengembalian di header portal peminjam */
.notif-wrap{position:relative;display:inline-flex;align-items:center}.notif-btn{position:relative;width:38px;height:38px;border:1px solid #dce6f1;background:#fff;border-radius:11px;cursor:pointer;font-size:18px;display:grid;place-items:center;transition:.18s;margin-right:10px}.notif-btn:hover{background:#f5f9ff;transform:translateY(-1px)}.notif-count{position:absolute;right:-5px;top:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e53935;color:#fff;font-size:10px;font-weight:800;line-height:18px;text-align:center;border:2px solid #fff}.notif-menu{position:absolute;right:0;top:48px;width:355px;background:#fff;border:1px solid #dfe7f0;border-radius:16px;box-shadow:0 18px 45px rgba(19,48,82,.16);z-index:100;overflow:hidden;display:none}.notif-menu.show{display:block;animation:notifIn .15s ease-out}.notif-menu-head{display:flex;align-items:center;justify-content:space-between;padding:15px 16px;border-bottom:1px solid #edf1f5}.notif-menu-head b{display:block;font-size:14px;color:#17375f}.notif-menu-head small{display:block;font-size:10px;color:#8795a7;margin-top:3px}.notif-menu-head>span{font-size:9px;font-weight:800;color:#c0392b;background:#fff0f0;border-radius:999px;padding:5px 8px}.notif-item{display:flex;gap:10px;align-items:flex-start;padding:12px 15px;text-decoration:none;border-bottom:1px solid #f0f3f7;transition:.15s}.notif-item:hover{background:#f8fbff}.notif-item-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;flex:none;font-weight:900;background:#fff4dc;color:#b77900}.notif-item.danger .notif-item-icon{background:#fdebec;color:#c33a43}.notif-item b{display:block;font-size:11px;color:#203c5d}.notif-item small{display:block;font-size:10px;line-height:1.45;color:#7b8a9e;margin-top:3px}.notif-empty{text-align:center;padding:25px 15px}.notif-empty>div{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin:0 auto 8px;background:#e8f8ef;color:#13834d;font-weight:900;font-size:20px}.notif-empty b{display:block;font-size:12px;color:#26415f}.notif-empty small{display:block;color:#93a0b0;font-size:10px;margin-top:4px}.notif-footer{display:block;text-align:center;padding:11px;font-size:10px;font-weight:800;color:#1765cf;text-decoration:none;background:#fbfdff}.notif-footer:hover{background:#f2f7fd}@keyframes notifIn{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:600px){.notif-menu{position:fixed;top:66px;right:10px;left:10px;width:auto}.notif-btn{margin-right:7px}.topright{font-size:10px}}

/* Tombol hapus akun peminjam */
.table td.aksi-col { min-width: 170px !important; }
.table td.aksi-col .actions { align-items:center; }
.table td.aksi-col .danger { background:#dc3545 !important; color:#fff !important; }
.table td.aksi-col .danger:hover { filter:brightness(.92); }

/* Modern login role icons */
.login-user-icon svg{width:36px;height:36px;fill:currentColor;display:block}.field-icon svg{width:17px;height:17px;fill:currentColor;display:block}.v3-role-box .role-icon{width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#eef6ff,#e4f0ff);border:1px solid #d8e8fb;color:#1768c9;display:grid;place-items:center;font-size:0;transition:transform .2s,box-shadow .2s,background .2s}.v3-role-box .role-icon svg{width:19px;height:19px;fill:currentColor;display:block}.v3-role-box:hover .role-icon{transform:translateY(-1px);box-shadow:0 6px 14px rgba(23,104,201,.14);background:linear-gradient(145deg,#e5f2ff,#dcecff)}.v3-role-box:hover{border-color:#c7dcf3;box-shadow:0 7px 18px rgba(31,76,126,.06)}

/* Warna ikon role — Admin, Guru, Siswa */
.v3-role-box .admin-icon{background:linear-gradient(145deg,#2384e8,#1260c7);border-color:#1b70d3;color:#fff;box-shadow:0 6px 14px rgba(23,104,201,.18)}
.v3-role-box .teacher-icon{background:linear-gradient(145deg,#22c58b,#0fa66f);border-color:#16b67f;color:#fff;box-shadow:0 6px 14px rgba(15,166,111,.18)}
.v3-role-box .student-icon{background:linear-gradient(145deg,#ffb52e,#f49316);border-color:#f4a21e;color:#fff;overflow:hidden;box-shadow:0 6px 14px rgba(244,157,22,.18)}
.v3-role-box .admin-icon svg,.v3-role-box .teacher-icon svg{width:20px;height:20px;fill:currentColor;display:block}
.v3-role-box .student-icon svg{width:34px;height:34px;border-radius:10px;display:block}
.v3-role-box:hover .admin-icon{background:linear-gradient(145deg,#3290ef,#176bd2)}
.v3-role-box:hover .teacher-icon{background:linear-gradient(145deg,#2dce95,#12b477)}
.v3-role-box:hover .student-icon{background:linear-gradient(145deg,#ffc04c,#f7a01d)}

/* Final role icon colors */
.v3-role-box .admin-icon{background:linear-gradient(145deg,#2588ee,#1260c8)!important;color:#fff!important;border-color:#1b70d3!important}
.v3-role-box .teacher-icon{background:linear-gradient(145deg,#21c98d,#0ea66e)!important;color:#fff!important;border-color:#15b77e!important}
.v3-role-box .admin-icon svg,.v3-role-box .teacher-icon svg{width:20px!important;height:20px!important;display:block!important;fill:#fff!important}
.v3-role-box .admin-icon svg path,.v3-role-box .teacher-icon svg path{fill:#fff!important}

/* Final role icon override: do not let older theme rules wash out the colors. */
.v3-role-grid .v3-role-box .role-icon.admin-icon{background:linear-gradient(145deg,#2d8df0,#1264ca)!important;border:0!important;color:#fff!important;opacity:1!important;filter:none!important}
.v3-role-grid .v3-role-box .role-icon.teacher-icon{background:linear-gradient(145deg,#27c995,#0ea56e)!important;border:0!important;color:#fff!important;opacity:1!important;filter:none!important}
.v3-role-grid .v3-role-box .role-icon.student-icon{background:#ffb52e!important;border:0!important;opacity:1!important;filter:none!important}
.v3-role-grid .v3-role-box .role-icon.admin-icon svg,.v3-role-grid .v3-role-box .role-icon.teacher-icon svg{fill:#fff!important;opacity:1!important}
.v3-role-grid .v3-role-box .role-icon.admin-icon svg path,.v3-role-grid .v3-role-box .role-icon.teacher-icon svg path{fill:#fff!important}

.btn.danger{background:#dc3545;color:#fff;border:1px solid #dc3545;cursor:pointer}
.btn.danger:hover{background:#bb2d3b;border-color:#bb2d3b}
.badge.blue{background:#e7f0ff;color:#1768c9}
.badge.gray{background:#eef2f6;color:#64748b}


/* Final mobile admin hamburger: three-line button, no overlay */
.hamb{width:42px;height:42px;display:none;align-items:center;justify-content:center;border:1px solid #d7e3f2;background:linear-gradient(145deg,#2d8df0,#1264ca);border-radius:12px;padding:0;cursor:pointer;box-shadow:0 6px 16px rgba(18,100,202,.18);-webkit-tap-highlight-color:transparent}
.hamb-lines{width:19px;height:16px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}
.hamb-lines i{display:block;width:19px;height:2px;border-radius:2px;background:#fff}
.hamb:active{transform:scale(.96)}
@media(max-width:720px){.hamb{display:flex}.sidebar{z-index:20}.top{position:sticky;z-index:10}.main{position:relative;z-index:1}}
/* Mobile role login cards - compact horizontal layout */
@media (max-width:600px){
  .login-v3-card .v3-role-grid{gap:10px}
  .login-v3-card .v3-role-box{
    grid-template-columns:48px minmax(0,1fr) auto !important;
    gap:10px !important;
    min-height:66px;
    padding:10px 11px !important;
    align-items:center;
  }
  .login-v3-card .v3-role-box .role-icon{
    width:42px !important;
    height:42px !important;
    border-radius:12px !important;
    font-size:17px;
  }
  .login-v3-card .v3-role-box .role-text{min-width:0}
  .login-v3-card .v3-role-box .role-text b{font-size:12px;line-height:1.25}
  .login-v3-card .v3-role-box .role-text span{font-size:9.5px;line-height:1.3;margin-top:3px;white-space:normal}
  .login-v3-card .v3-role-box a{
    grid-column:auto !important;
    justify-self:end !important;
    margin:0 !important;
    padding:8px 11px !important;
    border-radius:8px !important;
    font-size:9.5px !important;
  }
}

/* Desktop + mobile role actions: clean single label, matching role colors */
.login-v3-card .v3-role-box .role-text b{font-size:13px;color:#17375f}
.login-v3-card .v3-role-box .role-action{font-size:11px;font-weight:800;padding:9px 15px;border-radius:9px;background:#fff;white-space:nowrap;transition:.2s}
.login-v3-card .v3-role-box .role-action-teacher{color:#0ea66e;border-color:#25c98e}
.login-v3-card .v3-role-box .role-action-student{color:#f08c00;border-color:#ffb52e}
.login-v3-card .v3-role-box .role-action-teacher:hover{background:#effcf7}
.login-v3-card .v3-role-box .role-action-student:hover{background:#fff8e8}
@media(max-width:600px){
  .login-v3-card .v3-role-box .role-text b{font-size:12px}
  .login-v3-card .v3-role-box .role-action{font-size:9.5px!important;min-width:66px;padding:8px 11px!important}
  .login-v3-card .v3-role-box .role-action::after{content:none!important}
}

/* FINAL role cards order fix: icon | text | action (desktop + mobile) */
.login-v3-card .v3-role-box{grid-template-columns:42px minmax(0,1fr) auto !important;}
.login-v3-card .v3-role-box .role-icon{grid-column:1 !important;grid-row:1 !important;}
.login-v3-card .v3-role-box .role-text{grid-column:2 !important;grid-row:1 !important;min-width:0 !important;}
.login-v3-card .v3-role-box .role-action{grid-column:3 !important;grid-row:1 !important;justify-self:end !important;margin:0 !important;}
@media(max-width:600px){
  .login-v3-card .v3-role-box{grid-template-columns:44px minmax(0,1fr) auto !important;gap:10px !important;padding:11px 10px !important;min-height:70px !important;}
  .login-v3-card .v3-role-box .role-icon{width:42px !important;height:42px !important;}
  .login-v3-card .v3-role-box .role-text b{font-size:12px !important;line-height:1.25 !important;white-space:normal !important;}
  .login-v3-card .v3-role-box .role-text span{font-size:9.5px !important;line-height:1.35 !important;white-space:normal !important;overflow:visible !important;text-overflow:clip !important;}
  .login-v3-card .v3-role-box .role-action{min-width:64px !important;padding:8px 10px !important;font-size:9.5px !important;}
}
/* Admin/Petugas logout icon - only this control is restyled */
.admin-logout-icon{width:38px;height:38px;margin-left:auto!important;border-radius:11px;background:#ffffff1c;color:#fff!important;display:grid!important;place-items:center;border:1px solid #ffffff22;transition:transform .18s ease,background .18s ease,box-shadow .18s ease;box-sizing:border-box}
.admin-logout-icon svg{width:20px;height:20px;display:block}
.admin-logout-icon:hover{background:#ffffff2d;box-shadow:0 6px 14px #001f4a22;transform:translateY(-1px)}
.admin-logout-icon:active{transform:scale(.95)}
@media(max-width:720px){.admin-logout-icon{width:38px;height:38px}}


.login-role-hint{margin-top:18px;padding:11px 14px;border:1px solid #dbe7f5;border-radius:12px;background:#f6faff;color:#315273;display:flex;justify-content:space-between;gap:12px;font-size:11px}.login-role-hint span{color:#6b7d91}@media(max-width:600px){.login-role-hint{flex-direction:column;gap:3px}}

/* Premium sidebar navigation icons */
.sidebar nav a .navicon{width:20px;height:20px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 20px;color:currentColor;font-size:0;line-height:1}
.sidebar nav a .navicon svg{width:18px;height:18px;display:block;overflow:visible}
.sidebar nav a.active .navicon svg{filter:drop-shadow(0 2px 5px rgba(255,255,255,.16))}
.sidebar nav a:hover .navicon svg{transform:translateY(-.5px)}
.nav-section-label{padding:12px 14px 5px;color:#8fa7c4;font-size:10px;font-weight:800;letter-spacing:.08em}

/* PRO COLORFUL SIDEBAR ICONS - SMKN4SBY */
.sidebar nav a .navicon svg{color:inherit;transition:transform .18s ease,filter .18s ease}
.sidebar nav a:nth-of-type(1) .navicon{color:#69c8ff}
.sidebar nav a:nth-of-type(2) .navicon{color:#ffbf3f}
.sidebar nav a:nth-of-type(3) .navicon{color:#20d7df}
.sidebar nav a:nth-of-type(4) .navicon{color:#55e58b}
.sidebar nav a:nth-of-type(5) .navicon{color:#ff9f43}
.sidebar nav a:nth-of-type(6) .navicon{color:#c084fc}
.sidebar nav a:nth-of-type(7) .navicon{color:#ff6b9a}
.sidebar nav a:nth-of-type(8) .navicon{color:#ffd34e}
.sidebar nav a:nth-of-type(9) .navicon{color:#22e0a1}
.sidebar nav a:nth-of-type(10) .navicon{color:#ff625f}
.sidebar nav a:nth-of-type(11) .navicon{color:#c084fc}
.sidebar nav a:nth-of-type(12) .navicon{color:#35d4ff}
.sidebar nav a:nth-of-type(13) .navicon{color:#ffd34e}
.sidebar nav a .navicon svg{filter:drop-shadow(0 2px 4px rgba(0,0,0,.12))}
.sidebar nav a:hover .navicon svg{transform:translateY(-1px) scale(1.04);filter:drop-shadow(0 3px 6px rgba(0,0,0,.18))}
.sidebar nav a.active .navicon{color:#fff}
.sidebar nav a.active .navicon svg{filter:drop-shadow(0 2px 6px rgba(255,255,255,.24))}
/* Keep the colored icon visible even when the link is active, except Dashboard. */
.sidebar nav a:nth-of-type(2).active .navicon{color:#ffbf3f}
.sidebar nav a:nth-of-type(3).active .navicon{color:#20d7df}
.sidebar nav a:nth-of-type(4).active .navicon{color:#55e58b}
.sidebar nav a:nth-of-type(5).active .navicon{color:#ff9f43}
.sidebar nav a:nth-of-type(6).active .navicon{color:#c084fc}
.sidebar nav a:nth-of-type(7).active .navicon{color:#ff6b9a}
.sidebar nav a:nth-of-type(8).active .navicon{color:#ffd34e}
.sidebar nav a:nth-of-type(9).active .navicon{color:#22e0a1}
.sidebar nav a:nth-of-type(10).active .navicon{color:#ff625f}
.sidebar nav a:nth-of-type(11).active .navicon{color:#c084fc}
.sidebar nav a:nth-of-type(12).active .navicon{color:#35d4ff}
.sidebar nav a:nth-of-type(13).active .navicon{color:#ffd34e}

/* Mobile: sidebar tetap terbuka saat daftar menu digeser/scroll. Hanya tombol hamburger atau klik menu yang menutupnya. */
@media(max-width:720px){.sidebar nav{touch-action:pan-y}.sidebar nav a{flex-shrink:0}.sidefoot{flex-shrink:0}}


/* FINAL PRO SIDEBAR ICONS — explicit classes, independent of nth-of-type */
.sidebar nav a .navicon{
  width:28px!important;height:28px!important;min-width:28px!important;flex:0 0 28px!important;
  border-radius:9px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;
  font-size:0!important;line-height:1!important;box-shadow:0 4px 10px rgba(0,0,0,.10);
}
.sidebar nav a .navicon svg{width:16px!important;height:16px!important;display:block!important;color:inherit!important;stroke:currentColor!important;}
.sidebar nav a .navicon-dashboard{background:#2688f5!important;color:#fff!important}
.sidebar nav a .navicon-inventory{background:#20cfe0!important;color:#fff!important}
.sidebar nav a .navicon-loan{background:#35cf78!important;color:#fff!important}
.sidebar nav a .navicon-return{background:#ffad25!important;color:#fff!important}
.sidebar nav a .navicon-users{background:#9b63f2!important;color:#fff!important}
.sidebar nav a .navicon-room{background:#ff5d9b!important;color:#fff!important}
.sidebar nav a .navicon-repair{background:#ffca28!important;color:#fff!important}
.sidebar nav a .navicon-purchase{background:#19cf8a!important;color:#fff!important}
.sidebar nav a .navicon-delete{background:#ff5555!important;color:#fff!important}
.sidebar nav a .navicon-report{background:#9b63f2!important;color:#fff!important}
.sidebar nav a .navicon-profile{background:#35c8ee!important;color:#fff!important}
.sidebar nav a:hover .navicon{transform:translateY(-1px) scale(1.04)!important;filter:brightness(1.04);}
.sidebar nav a.active .navicon{color:#fff!important;filter:brightness(1.05)!important;}
/* Desktop: clean sidebar with no visible scrollbar. Mobile keeps the scrollbar for discoverability. */
@media(min-width:721px){
  /* Sidebar desktop: menu dapat discroll dengan mouse wheel maupun scrollbar */
  .sidebar nav{
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-width:thin!important;
    scrollbar-color:rgba(255,255,255,.38) transparent!important;
    overscroll-behavior:contain;
    min-height:0!important;
  }
  .sidebar nav::-webkit-scrollbar{width:6px!important;height:0!important;display:block!important}
  .sidebar nav::-webkit-scrollbar-track{background:transparent!important}
  .sidebar nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.38)!important;border-radius:10px!important}
  .sidebar nav::-webkit-scrollbar-thumb:hover{background:rgba(255,255,255,.62)!important}
}
@media(max-width:720px){.sidebar nav{scrollbar-width:thin!important;-ms-overflow-style:auto!important}.sidebar nav::-webkit-scrollbar{width:7px!important}.sidebar nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.45);border-radius:10px}.sidebar nav::-webkit-scrollbar-track{background:transparent}}
/* Fix logo login: keep school emblem proportional and compact */
.login-user-icon.logo-login-icon{
  width:78px;
  height:78px;
  border-radius:50%;
  background:#fff;
  border:1px solid #dfe8f2;
  padding:6px;
  margin:0 auto 16px;
  box-sizing:border-box;
  display:grid;
  place-items:center;
  overflow:hidden;
  box-shadow:0 10px 24px rgba(23,55,94,.12);
}
.login-user-icon.logo-login-icon img{
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
  border-radius:50%;
}
@media(max-width:600px){
  .login-user-icon.logo-login-icon{width:64px;height:64px;padding:5px;border-radius:50%;margin-bottom:14px}
}
/* Unified login notice: clean single-line card below the login button */
.unified-login-note{
  display:flex;
  align-items:flex-start;
  gap:12px;
  width:100%;
  box-sizing:border-box;
  margin-top:16px;
  padding:13px 14px;
  border:1px solid #cfe0f3;
  border-radius:12px;
  background:linear-gradient(135deg,#f7fbff,#eef6ff);
  color:#274b73;
}
.unified-note-icon{
  flex:0 0 28px;
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#e7f7ef;
  color:#15945d;
  font-size:16px;
  font-weight:800;
  line-height:1;
  box-shadow:inset 0 0 0 1px #c8ead9;
}
.unified-login-note>div:last-child{min-width:0;display:flex;flex-direction:column;gap:3px}
.unified-login-note b{display:block;font-size:12px;line-height:1.3;color:#173f69}
.unified-login-note span{display:block;font-size:10px;line-height:1.5;color:#637b96}
@media(max-width:600px){
  .unified-login-note{gap:9px;margin-top:13px;padding:11px 12px;border-radius:11px}
  .unified-note-icon{flex-basis:25px;width:25px;height:25px;font-size:14px}
  .unified-login-note b{font-size:10.5px}
  .unified-login-note span{font-size:9px}
}

/* === INVENTARIS GRUP / RUANGAN - MODERN CARD VIEW === */

/* Inventaris Pro Icons */
.inv-icon{display:inline-grid;place-items:center;width:1.25em;height:1.25em;line-height:0;flex:0 0 auto}.inv-icon svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.inventory-group-icon>.inv-icon{width:30px;height:30px}.group-stat .stat-icon>.inv-icon{width:22px;height:22px}.room-picture>.inv-icon{width:34px;height:34px}.room-action .btn>.inv-icon{width:16px;height:16px}.room-action .btn>.inv-icon:last-child{width:15px;height:15px}.room-more>.inv-icon{width:18px;height:18px}.inventory-group-search>.search-icon{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#70839d;z-index:1;width:17px;height:17px}.inventory-group-foot>.inv-icon{width:14px;height:14px;vertical-align:-2px;margin-right:4px;color:#1768d2}
.inventory-group-head{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #e4eaf2;border-radius:20px;padding:20px 22px;margin-top:2px;box-shadow:0 10px 28px rgba(25,55,95,.05)}
.inventory-group-title{display:flex;align-items:center;gap:14px;min-width:0}.inventory-group-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#eaf3ff,#f5f9ff);color:#1768d2;box-shadow:inset 0 0 0 1px #dbe8f8}.inventory-group-title h3{margin:0;color:#102b50;font-size:18px}.inventory-group-title p{margin:5px 0 0;color:#7a8ba2;font-size:11px}.inventory-group-count{min-width:92px;text-align:right}.inventory-group-count b{display:block;font-size:25px;line-height:1;color:#152f51}.inventory-group-count span{display:block;margin-top:5px;color:#8795a8;font-size:9px;font-weight:700}
.inventory-group-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}.inventory-group-search{flex:1;max-width:620px;position:relative}.inventory-group-search>span{position:absolute;left:15px;top:50%;transform:translateY(-51%);font-size:25px;color:#70839d;z-index:1;line-height:1}.inventory-group-search .search{width:100%;height:48px;padding:0 15px 0 43px;border-radius:13px;background:#fff;border-color:#dce5ef;font-size:12px;box-shadow:0 5px 15px rgba(30,65,105,.03)}.inventory-group-tools>.btn{height:48px;padding:0 17px;border-radius:13px;box-shadow:0 7px 16px rgba(11,94,215,.14)}
.inventory-group-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.group-stat{min-height:78px;border-radius:15px;padding:13px 16px;display:flex;align-items:center;gap:12px;border:1px solid #e7edf5}.group-stat .stat-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center}.group-stat strong{display:block;font-size:22px;line-height:1.1;color:#172e4d}.group-stat span{display:block;font-size:9px;font-weight:800;color:#71839a;margin-top:4px}.stat-blue{background:linear-gradient(135deg,#f3f7ff,#edf5ff)}.stat-blue .stat-icon{background:#dfeeff;color:#1768d2}.stat-green{background:linear-gradient(135deg,#f2fbf7,#eaf9f2)}.stat-green .stat-icon{background:#d9f3e6;color:#14925a}.stat-orange{background:linear-gradient(135deg,#fffaf0,#fff6df)}.stat-orange .stat-icon{background:#ffefc6;color:#d58a00}
.inventory-group-list{display:grid;gap:13px}.inventory-room-card{display:grid;grid-template-columns:minmax(230px,1.65fr) .75fr .85fr .95fr minmax(215px,1.15fr);align-items:center;gap:12px;background:#fff;border:1px solid #e1e8f1;border-radius:19px;padding:16px 18px;box-shadow:0 8px 24px rgba(24,55,95,.045);transition:transform .18s,box-shadow .18s,border-color .18s}.inventory-room-card:hover{transform:translateY(-1px);border-color:#cbdced;box-shadow:0 12px 28px rgba(24,55,95,.08)}.room-identity{display:flex;align-items:center;gap:13px;min-width:0}.room-picture{width:62px;height:62px;border-radius:17px;display:grid;place-items:center;background:linear-gradient(145deg,#fff0f2,#ffe5e8);color:#e14a55;flex:none}.room-picture.server{background:linear-gradient(145deg,#eaf1ff,#dce9ff);color:#236fd5}.room-name-wrap{min-width:0}.room-name-wrap h3{margin:0;font-size:15px;color:#102b50;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.room-name-wrap p{margin:7px 0 0;display:inline-flex;padding:4px 9px;border-radius:999px;background:#e7f8ef;color:#13814e;font-size:9px;font-weight:800}.room-stat{min-height:64px;border-radius:13px;padding:10px 12px;display:flex;flex-direction:column;justify-content:center}.room-stat strong{font-size:21px;line-height:1;color:#172f50}.room-stat span{font-size:9px;color:#71839a;font-weight:800;margin-top:5px}.room-stat-blue{background:#f1f6ff}.room-stat-green{background:#effaf5}.room-stat-yellow{background:#fff9e9}.room-action{display:flex;align-items:center;gap:9px;justify-content:flex-end;padding-left:10px;border-left:1px solid #e8edf3}.room-action .btn{height:42px;padding:0 18px;border-radius:11px;font-size:11px;box-shadow:0 7px 14px rgba(11,94,215,.13)}.room-more{width:42px;height:42px;border:1px solid #e1e8f1;background:#f6f8fb;color:#5e718a;border-radius:11px;font-weight:900;letter-spacing:2px;cursor:pointer}.room-more:hover{background:#edf3fa}.inventory-group-foot{padding:14px 3px 2px;color:#7b8ca2;font-size:10px;font-weight:700}.inventory-group-empty{background:#fff;border:1px dashed #cfdbe9;border-radius:18px;padding:45px 20px;text-align:center}.inventory-group-empty>div{font-size:34px;margin-bottom:8px}.inventory-group-empty b{display:block;color:#233c5c;font-size:13px}.inventory-group-empty span{display:block;color:#8a98aa;font-size:10px;margin-top:5px}
@media(max-width:1100px){.inventory-room-card{grid-template-columns:minmax(220px,1.5fr) .7fr .8fr .85fr;}.room-action{grid-column:1/-1;border-left:0;border-top:1px solid #edf1f5;padding:12px 0 0;justify-content:flex-end}.room-action .btn{min-width:180px}}@media(max-width:720px){.inventory-group-head{padding:16px;border-radius:16px}.inventory-group-icon{width:46px;height:46px;border-radius:13px;font-size:23px}.inventory-group-title h3{font-size:14px}.inventory-group-title p{font-size:9px;line-height:1.4}.inventory-group-count{display:none}.inventory-group-tools{align-items:stretch;flex-direction:column}.inventory-group-search{max-width:none}.inventory-group-tools>.btn{justify-content:center}.inventory-group-summary{grid-template-columns:1fr}.inventory-room-card{grid-template-columns:1fr 1fr;gap:10px;padding:13px}.room-identity{grid-column:1/-1}.room-picture{width:52px;height:52px;border-radius:14px;font-size:25px}.room-name-wrap h3{font-size:13px}.room-stat{min-height:58px}.room-stat strong{font-size:18px}.room-action{grid-column:1/-1;justify-content:stretch}.room-action .btn{flex:1;justify-content:center;min-width:0}.room-more{flex:0 0 42px}}

/* === INVENTARIS ICON PREMIUM REFINEMENT === */
.inventory-group-icon{background:linear-gradient(145deg,#edf6ff,#dceaff);box-shadow:inset 0 0 0 1px #d5e5fa,0 8px 18px rgba(33,105,210,.08)}
.inventory-group-icon .inv-icon{width:34px;height:34px}
.group-stat .stat-icon{box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}
.group-stat .stat-icon .inv-icon{width:27px;height:27px}
.room-picture{box-shadow:inset 0 0 0 1px rgba(255,255,255,.55),0 7px 16px rgba(35,75,125,.06)}
.room-picture .inv-icon{width:45px;height:45px}
.room-picture.server .inv-icon{width:46px;height:46px}
.room-name-wrap p{box-shadow:inset 0 0 0 1px rgba(19,129,78,.07)}
.room-action .btn{gap:8px}
.room-action .btn .inv-icon:first-child{width:17px;height:17px}
.inventory-group-head{padding:21px 24px;border-radius:20px}
.inventory-group-title{gap:16px}
.inventory-group-title h3{font-size:19px;letter-spacing:-.2px}
.inventory-group-summary{gap:14px}
.group-stat{min-height:82px;padding:14px 18px;border-radius:16px}
.inventory-room-card{grid-template-columns:minmax(245px,1.7fr) .72fr .82fr .92fr minmax(225px,1.12fr);padding:18px 20px;border-radius:20px}
.room-stat{min-height:68px;border-radius:14px;padding:11px 14px}
.room-stat strong{font-size:22px}
.room-action .btn{height:44px;border-radius:12px;font-weight:800}
.room-more{width:44px;height:44px;border-radius:12px}
@media(max-width:1100px){.inventory-room-card{grid-template-columns:minmax(220px,1.5fr) .7fr .8fr .85fr}}
@media(max-width:720px){.inventory-group-head{padding:16px}.inventory-group-icon .inv-icon{width:29px;height:29px}.room-picture .inv-icon{width:38px;height:38px}}

/* ===== Inventaris Grup/Ruangan Premium ===== */
.inventory-premium-banner{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;min-height:118px;margin-top:2px;padding:18px 24px;border:1px solid #dce8f6;border-radius:22px;background:linear-gradient(105deg,#ffffff 0%,#f8fbff 55%,#eef7ff 100%);box-shadow:0 12px 32px rgba(27,71,120,.07)}
.inventory-premium-banner:after{content:"";position:absolute;right:13%;top:-75px;width:330px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(67,157,255,.12),rgba(67,157,255,0) 70%);pointer-events:none}
.inventory-banner-left{display:flex;align-items:center;gap:18px;position:relative;z-index:2}.inventory-banner-icon{width:70px;height:70px;border-radius:20px;display:grid;place-items:center;background:linear-gradient(145deg,#4b9cff,#1466e5);box-shadow:0 12px 24px rgba(20,102,229,.2)}.inventory-banner-icon .inv-icon{width:42px;height:42px}.inventory-banner-icon .inv-icon svg{filter:drop-shadow(0 3px 4px rgba(0,0,0,.12))}
.inventory-banner-left h3{margin:0;color:#102b50;font-size:22px;letter-spacing:-.35px}.inventory-banner-left p{margin:6px 0 0;color:#7a8da6;font-size:11px}.inventory-banner-art{position:absolute;right:17%;bottom:-10px;width:300px;height:105px;z-index:1;opacity:.96}.art-shelf{position:absolute;right:110px;bottom:10px;width:90px;height:76px;border-left:7px solid #4a86d8;border-right:7px solid #4a86d8}.art-shelf:before,.art-shelf:after{content:"";position:absolute;left:-6px;width:88px;height:7px;border-radius:5px;background:#4a86d8}.art-shelf:before{top:23px}.art-shelf:after{top:48px}.art-shelf i{position:absolute;width:25px;height:20px;border-radius:4px;background:#7cb4ff;bottom:53px;left:9px;transform:rotate(-3deg)}.art-shelf i:nth-child(2){left:42px;background:#9ecbff;bottom:28px}.art-shelf i:nth-child(3){left:12px;background:#4d91e8;bottom:3px}.art-box{position:absolute;border-radius:6px;border:2px solid #d4b58d;background:#fff9ef}.art-box-a{width:43px;height:32px;right:190px;bottom:8px;transform:rotate(-7deg)}.art-box-b{width:34px;height:28px;right:156px;bottom:15px;background:#eef6ff;border-color:#91b6e8;transform:rotate(6deg)}.art-clipboard{position:absolute;right:54px;bottom:0;width:58px;height:92px;border:5px solid #4c8fe5;border-radius:7px 7px 10px 10px;background:#fff;transform:rotate(4deg);box-shadow:0 8px 15px rgba(42,93,160,.12)}.art-clipboard:before{content:"";position:absolute;top:-11px;left:15px;width:24px;height:14px;border-radius:5px;background:#5d7391}.art-clipboard span{position:absolute;left:9px;top:19px;width:10px;height:10px;border:2px solid #36b878;border-radius:2px}.art-clipboard b{display:block;height:3px;width:28px;background:#9bb0c7;margin:22px 0 0 25px;border-radius:3px}.art-clipboard b+b{margin-top:12px}.inventory-banner-count{position:relative;z-index:2;min-width:100px;text-align:right;padding-left:22px;border-left:1px solid #dbe5f1}.inventory-banner-count strong{display:block;color:#112c51;font-size:30px;line-height:1}.inventory-banner-count span{display:block;margin-top:7px;color:#788ca7;font-size:9px;font-weight:800}
.inventory-group-tools{margin:18px 0 14px;gap:14px}.inventory-group-search{max-width:none;flex:1}.inventory-group-search .search{height:54px;border-radius:15px;font-size:12px;box-shadow:0 8px 20px rgba(29,69,112,.045)}.inventory-group-filter{height:54px;min-width:270px;padding:0 18px;display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #dce6f2;border-radius:15px;color:#18375d;box-shadow:0 8px 20px rgba(29,69,112,.045);font-size:12px}.inventory-group-filter>span:first-child{width:22px;height:22px;color:#28598e}.inventory-group-filter select{flex:1;min-width:0;height:100%;border:0;outline:0;background:transparent;color:#18375d;font:inherit;font-weight:800;cursor:pointer;appearance:none;-webkit-appearance:none}.inventory-group-filter select option{font-weight:600;color:#18375d;background:#fff}.inventory-group-filter .inv-icon{width:22px;height:22px}.filter-chevron{margin-left:auto;font-size:21px;color:#6e839d;line-height:1;transform:translateY(-2px)}.inventory-add-btn{height:54px!important;min-width:245px!important;border-radius:15px!important;font-size:12px!important;font-weight:800!important}.add-plus{font-size:24px;line-height:0;margin-right:4px;font-weight:300}
.inventory-group-summary{gap:16px;margin-bottom:16px}.group-stat{min-height:96px;border-radius:18px;padding:14px 18px;position:relative;overflow:hidden;box-shadow:0 7px 18px rgba(25,62,104,.025)}.group-stat .stat-icon{width:56px;height:56px;border-radius:16px}.group-stat .stat-icon .inv-icon{width:31px;height:31px}.group-stat strong{font-size:28px}.group-stat span{font-size:11px;margin-top:6px}
.inventory-group-list{gap:15px}.inventory-room-card{grid-template-columns:minmax(330px,1.7fr) .72fr .78fr .9fr minmax(250px,1.05fr);gap:14px;padding:20px 22px;border-radius:22px;min-height:116px;box-shadow:0 10px 28px rgba(25,62,104,.055)}.inventory-room-card:hover{transform:translateY(-2px);box-shadow:0 14px 34px rgba(25,62,104,.09)}.room-identity{gap:16px}.room-picture{width:114px;height:86px;border-radius:18px;background:linear-gradient(145deg,#fff0ef,#ffe4e2);overflow:hidden}.room-picture.server{background:linear-gradient(145deg,#eaf3ff,#dbeaff)}.room-picture .inv-icon{width:88px;height:72px}.room-name-wrap h3{font-size:19px;letter-spacing:-.2px}.room-location{display:flex;align-items:center;gap:4px;margin-top:7px;color:#6d82a0;font-size:11px}.room-location .inv-icon{width:15px;height:15px}.room-name-wrap p{margin-top:8px;padding:5px 11px;background:#e8f8ef;color:#168650;font-size:10px}.room-name-wrap p i{display:inline-block;width:6px;height:6px;background:#20b66a;border-radius:50%;margin-right:4px}.room-stat{min-height:78px;border-radius:16px;padding:12px 14px;position:relative}.room-stat .room-stat-icon{position:absolute;left:13px;top:13px;width:31px;height:31px}.room-stat .room-stat-icon .inv-icon{width:31px;height:31px}.room-stat strong{font-size:25px;margin-left:42px}.room-stat span{font-size:10px;margin-left:42px;margin-top:6px}.room-stat-blue{background:linear-gradient(145deg,#f2f7ff,#eaf2ff)}.room-stat-green{background:linear-gradient(145deg,#effaf5,#e6f7ef)}.room-stat-yellow{background:linear-gradient(145deg,#fffaf0,#fff5df)}.room-action{gap:12px;padding-left:18px}.room-action .btn{height:52px;min-width:205px;padding:0 20px;border-radius:14px;font-size:12px;box-shadow:0 9px 18px rgba(11,94,215,.16)}.room-action .btn>.inv-icon{width:19px;height:19px}.room-action .btn>.inv-icon:last-child{width:18px;height:18px;margin-left:auto}.room-more{width:52px;height:52px;border-radius:14px;background:#f7faff;font-size:16px}.room-more .inv-icon{width:22px;height:22px}.inventory-group-foot{display:flex;align-items:center;justify-content:space-between;padding:17px 4px 3px;font-size:10px}.inventory-pagination{display:flex;align-items:center;gap:10px}.inventory-pagination button,.inventory-pagination b{width:42px;height:42px;border:1px solid #dce6f2;border-radius:50%;background:#fff;color:#6b809c;display:grid;place-items:center;font-size:22px}.inventory-pagination b{background:#176be3;color:#fff;border-color:#176be3;font-size:14px}.inventory-group-foot b{color:#365a84}
@media(max-width:1100px){.inventory-banner-art{right:12%}.inventory-group-filter{min-width:220px}.inventory-add-btn{min-width:190px!important}.inventory-room-card{grid-template-columns:minmax(270px,1.4fr) .7fr .8fr .9fr}.room-action{grid-column:1/-1;border-left:0;border-top:1px solid #edf1f5;padding:14px 0 0;justify-content:flex-end}.room-action .btn{min-width:220px}}
@media(max-width:720px){.inventory-premium-banner{min-height:92px;padding:14px;border-radius:16px}.inventory-banner-icon{width:48px;height:48px;border-radius:14px}.inventory-banner-icon .inv-icon{width:29px;height:29px}.inventory-banner-left{gap:11px}.inventory-banner-left h3{font-size:14px}.inventory-banner-left p{font-size:9px}.inventory-banner-art{display:none}.inventory-banner-count{display:none}.inventory-group-filter{min-width:0}.inventory-group-summary{grid-template-columns:1fr}.group-stat{min-height:82px}.inventory-room-card{grid-template-columns:1fr 1fr;padding:14px;border-radius:17px}.room-identity{grid-column:1/-1}.room-picture{width:78px;height:64px}.room-picture .inv-icon{width:60px;height:50px}.room-name-wrap h3{font-size:15px}.room-stat{min-height:68px}.room-stat strong{font-size:21px}.room-action{grid-column:1/-1}.room-action .btn{flex:1;min-width:0}.inventory-group-foot{font-size:9px}.inventory-pagination{display:none}}


/* ===== FINAL RAPINYA INVENTARIS GRUP / RUANGAN ===== */
@media (max-width:1199px) and (min-width:721px){
  .inventory-premium-banner{min-height:104px;padding:16px 20px}
  .inventory-banner-art{display:none}
  .inventory-banner-left{gap:14px}
  .inventory-banner-icon{width:60px;height:60px;border-radius:17px}
  .inventory-banner-left h3{font-size:20px}
  .inventory-group-tools{display:grid;grid-template-columns:minmax(0,1fr) 230px;align-items:center}
  .inventory-group-search{width:100%}
  .inventory-group-filter{min-width:0;width:auto}
  .inventory-add-btn{grid-column:2;min-width:0!important;width:100%}
  .inventory-room-card{grid-template-columns:minmax(240px,1.5fr) repeat(3,minmax(115px,1fr));gap:12px;padding:16px 18px;min-height:0}
  .room-stat{display:grid;grid-template-columns:32px minmax(0,1fr);grid-template-rows:auto auto;column-gap:9px;align-content:center;min-height:72px;padding:10px 12px}
  .room-stat .room-stat-icon{position:static;grid-row:1 / span 2;align-self:center;width:32px;height:32px}
  .room-stat .room-stat-icon .inv-icon{width:32px;height:32px}
  .room-stat strong,.room-stat span{margin-left:0;min-width:0}
  .room-stat strong{font-size:22px;line-height:1.05}
  .room-stat span{font-size:9px;margin-top:3px;white-space:nowrap}
  .room-action{grid-column:1/-1;border-left:0;border-top:1px solid #edf1f5;padding:12px 0 0;justify-content:flex-end}
  .room-action .btn{min-width:190px;height:46px}
  .room-more{width:46px;height:46px}
}
@media (max-width:720px){
  .inventory-premium-banner{min-height:88px;padding:13px 14px}
  .inventory-banner-left h3{font-size:14px}
  .inventory-group-tools{display:flex}
  .inventory-room-card{grid-template-columns:1fr 1fr;gap:10px}
  .room-stat{display:grid;grid-template-columns:30px minmax(0,1fr);grid-template-rows:auto auto;column-gap:7px;align-content:center;min-height:66px;padding:9px 10px}
  .room-stat .room-stat-icon{position:static;grid-row:1 / span 2;align-self:center;width:30px;height:30px}
  .room-stat .room-stat-icon .inv-icon{width:30px;height:30px}
  .room-stat strong,.room-stat span{margin-left:0}
  .room-stat strong{font-size:20px}
  .room-stat span{font-size:8px;white-space:normal}
}

/* ===== DESKTOP FULLSCREEN INVENTARIS - FINAL FIX ===== */
@media (min-width:1200px){
  .inventory-room-card{
    display:grid;
    grid-template-columns:minmax(300px,1.55fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(150px,.8fr) minmax(245px,1.05fr);
    gap:14px;
    align-items:stretch;
    overflow:visible;
  }
  .inventory-room-card .room-identity{
    min-width:0;
    display:flex;
    align-items:center;
  }
  .inventory-room-card .room-stat{
    min-width:0;
    display:grid;
    grid-template-columns:36px minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:10px;
    align-content:center;
    align-items:center;
    min-height:78px;
    padding:12px 14px;
    overflow:hidden;
  }
  .inventory-room-card .room-stat .room-stat-icon{
    position:static;
    grid-row:1 / span 2;
    width:36px;
    height:36px;
    margin:0;
    align-self:center;
  }
  .inventory-room-card .room-stat .room-stat-icon .inv-icon{
    width:36px;
    height:36px;
    display:block;
  }
  .inventory-room-card .room-stat strong,
  .inventory-room-card .room-stat span{
    margin-left:0;
    min-width:0;
    position:static;
  }
  .inventory-room-card .room-stat strong{
    font-size:25px;
    line-height:1.05;
    white-space:nowrap;
  }
  .inventory-room-card .room-stat span{
    font-size:10px;
    line-height:1.2;
    margin-top:5px;
    white-space:nowrap;
  }
  .inventory-room-card .room-action{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:12px;
    padding-left:16px;
    border-left:1px solid #e6edf6;
    overflow:visible;
  }
  .inventory-room-card .room-action .btn{
    min-width:205px;
    width:100%;
    max-width:235px;
    flex:1 1 auto;
  }
  .inventory-room-card .room-more{
    flex:0 0 52px;
  }
}

@media (min-width:721px) and (max-width:1199px){
  .inventory-room-card .room-stat{
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:8px;
    align-items:center;
  }
  .inventory-room-card .room-stat .room-stat-icon{
    position:static;
    grid-row:1 / span 2;
    width:34px;
    height:34px;
  }
  .inventory-room-card .room-stat strong,
  .inventory-room-card .room-stat span{margin-left:0}
}

/* ===== INVENTARIS - IKON DESKTOP LEBIH RINGKAS ===== */
@media (min-width:1200px){
  .inventory-banner-icon{width:58px;height:58px;border-radius:17px}
  .inventory-banner-icon .inv-icon{width:34px;height:34px}
  .inventory-group-icon{width:48px;height:48px;border-radius:14px}
  .inventory-group-icon .inv-icon{width:28px;height:28px}
  .group-stat .stat-icon{width:48px;height:48px;border-radius:14px}
  .group-stat .stat-icon .inv-icon{width:27px;height:27px}
  .inventory-room-card{grid-template-columns:minmax(300px,1.6fr) minmax(145px,.78fr) minmax(145px,.78fr) minmax(145px,.78fr) minmax(235px,1fr);gap:12px;padding:16px 20px;min-height:96px;border-radius:19px}
  .room-picture{width:88px;height:72px;border-radius:16px}
  .room-picture .inv-icon,.room-picture.server .inv-icon{width:62px;height:54px}
  .room-identity{gap:13px}
  .room-name-wrap h3{font-size:17px}
  .room-location{font-size:10px;margin-top:5px}
  .room-location .inv-icon{width:13px;height:13px}
  .room-name-wrap p{margin-top:6px;padding:4px 9px;font-size:9px}
  .room-stat{min-height:66px;padding:9px 11px;border-radius:13px;grid-template-columns:29px minmax(0,1fr)!important;column-gap:8px!important}
  .inventory-room-card .room-stat .room-stat-icon{width:29px;height:29px}
  .inventory-room-card .room-stat .room-stat-icon .inv-icon{width:29px;height:29px}
  .inventory-room-card .room-stat strong{font-size:21px}
  .inventory-room-card .room-stat span{font-size:9px;margin-top:3px}
  .room-action{gap:9px;padding-left:13px}
  .inventory-room-card .room-action .btn{min-width:175px;max-width:205px;height:44px;padding:0 15px;border-radius:11px;font-size:11px}
  .inventory-room-card .room-action .btn>.inv-icon{width:16px;height:16px}
  .inventory-room-card .room-action .btn>.inv-icon:last-child{width:15px;height:15px}
  .room-more{width:44px;height:44px;border-radius:11px}
  .room-more .inv-icon{width:18px;height:18px}
}

/* Inventaris grup: tampil 5 kartu per halaman */
.inventory-pagination button:disabled{pointer-events:none;}
@media(max-width:720px){.inventory-pagination{display:none;}}

/* =========================================================
   LOGIN PRO FINAL — school photo + premium split layout
   ========================================================= */
.login-pro-final{background:#edf4fb;color:#102d53;overflow:hidden}
.login-pro-page{min-height:100vh;display:grid;grid-template-columns:60% 40%;overflow:hidden}
.login-pro-hero{position:relative;min-width:0;overflow:hidden;color:#fff;background:#063a78}
.hero-photo{position:absolute;inset:0;background-image:url('school-bg.jpg');background-size:cover;background-position:center center;transform:scale(1.02)}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,42,94,.96) 0%,rgba(0,58,123,.86) 45%,rgba(4,93,176,.64) 100%),linear-gradient(180deg,rgba(0,43,95,.18),rgba(0,33,77,.86))}
.hero-grid{position:absolute;inset:0;opacity:.11;background-image:radial-gradient(circle at 15% 20%,#fff 1px,transparent 1px),radial-gradient(circle at 82% 72%,#fff 1px,transparent 1px);background-size:28px 28px,42px 42px}
.login-pro-hero:after{content:"";position:absolute;left:-8%;right:-5%;bottom:-22%;height:42%;background:linear-gradient(135deg,rgba(0,48,116,.98),rgba(14,115,230,.88));border-radius:50% 55% 0 0;transform:rotate(-3deg);opacity:.92}
.hero-inner{position:relative;z-index:2;min-height:100vh;padding:48px 62px 24px;display:flex;flex-direction:column;max-width:1050px;margin:0 auto}
.hero-brand{display:flex;align-items:center;gap:18px}.hero-logo{width:86px;height:86px;border-radius:50%;background:#fff;padding:5px;box-shadow:0 12px 30px rgba(0,0,0,.22);flex:none}.hero-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%}.hero-school{font-size:23px;line-height:1.02;font-weight:900;letter-spacing:-.5px}.hero-motto{font-size:9px;letter-spacing:.19em;margin-top:9px;color:#d9ebff;white-space:nowrap}
.hero-slogan{position:absolute;right:70px;top:48px;font-family:cursive;font-style:italic;font-size:25px;line-height:1.05;text-align:center;color:#fff;transform:rotate(-4deg);opacity:.95}.hero-slogan:after{content:"";display:block;width:130px;height:4px;background:#16c8ff;border-radius:9px;margin:8px auto 0;transform:skewX(-28deg)}
.hero-main-copy{margin-top:78px;max-width:700px}.hero-eyebrow{font-size:13px;letter-spacing:.32em;font-weight:700;color:#e1efff;display:flex;align-items:center;gap:12px}.hero-eyebrow span{width:58px;height:4px;border-radius:20px;background:#17c8ff}.hero-main-copy h1{font-size:49px;line-height:1.05;letter-spacing:-1.8px;margin:18px 0 16px;font-weight:800}.hero-main-copy h1 strong{color:#11c8ff}.hero-main-copy p{font-size:15px;line-height:1.55;color:#e4effc;max-width:610px;margin:0}
.hero-features{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:28px;max-width:720px}.hero-feature{display:flex;align-items:center;gap:14px;padding:13px 15px;border:1px solid rgba(170,220,255,.22);background:rgba(7,71,139,.42);backdrop-filter:blur(5px);border-radius:16px;box-shadow:inset 0 1px rgba(255,255,255,.08)}.hf-icon{width:54px;height:54px;border-radius:13px;display:grid;place-items:center;flex:none;box-shadow:0 8px 20px rgba(0,0,0,.14)}.hf-icon svg{width:29px;height:29px;fill:#fff}.hf-blue{background:linear-gradient(145deg,#2b8eff,#0f61d1)}.hf-green{background:linear-gradient(145deg,#24d29c,#0aaf78)}.hf-purple{background:linear-gradient(145deg,#9d59ff,#6a37dc)}.hf-orange{background:linear-gradient(145deg,#ffbf3d,#ef9110)}.hero-feature b{display:block;font-size:12px;margin-bottom:4px}.hero-feature small{display:block;color:#cfe1f6;font-size:9.5px;line-height:1.35}
.hero-quote{margin-top:auto;font-family:cursive;font-style:italic;font-size:26px;line-height:1.02;color:#fff;transform:rotate(-4deg);width:max-content;max-width:270px}.hero-quote i{display:block;width:180px;height:4px;background:#11a9ff;border-radius:20px;transform:skewX(-28deg);margin:7px 0 0 12px}
.hero-stats{position:absolute;right:58px;bottom:88px;display:grid;grid-template-columns:repeat(3,1fr);gap:0;min-width:480px;padding:14px 18px;border:1px solid rgba(174,222,255,.25);background:rgba(4,67,130,.55);backdrop-filter:blur(9px);border-radius:20px;box-shadow:0 18px 38px rgba(0,0,0,.15)}.hero-stat{display:flex;align-items:center;gap:11px;padding:0 15px;border-right:1px solid rgba(205,232,255,.22)}.hero-stat:last-child{border-right:0}.stat-icon{width:43px;height:43px;border-radius:11px;display:grid;place-items:center;flex:none}.stat-icon svg{width:23px;height:23px;fill:#fff}.stat-icon.blue{background:#1681ed}.stat-icon.green{background:#12b88a}.stat-icon.orange{background:#f4a61e}.hero-stat strong{display:block;font-size:24px;line-height:1;color:#fff}.hero-stat span{display:block;font-size:9px;color:#e0edfb;margin-top:4px}
.hero-footer{position:relative;z-index:4;display:flex;gap:34px;align-items:flex-end;font-size:9px;line-height:1.45;color:#e4effc;margin-top:28px}.hero-footer span{display:flex;gap:9px;align-items:flex-start}.hero-footer b{font-size:17px;line-height:1;color:#fff}
.login-pro-side{position:relative;min-width:0;background:linear-gradient(135deg,#edf5fc 0%,#f8fbff 100%);padding:24px 28px 22px;display:flex;flex-direction:column;align-items:center;overflow:auto}.pro-topbar{width:100%;display:flex;justify-content:flex-end;align-items:center;gap:9px;color:#647a98;font-size:9px;margin:2px 2px 18px}.pro-topbar b{color:#21466f;font-size:10px}.pro-topbar em{height:13px;width:1px;background:#d5dfeb}.online-dot{width:8px;height:8px;border-radius:50%;background:#18b77b;box-shadow:0 0 0 5px #dff7ee}
.pro-login-card{width:min(520px,100%);background:#fff;border:1px solid #e1eaf3;border-radius:25px;padding:30px 34px 23px;box-shadow:0 24px 60px rgba(20,57,99,.12);text-align:left}.pro-login-logo{width:76px;height:76px;border-radius:50%;background:#fff;padding:6px;margin:0 auto 12px;box-shadow:0 8px 25px rgba(29,81,135,.13);border:1px solid #e2ebf4}.pro-login-logo img{width:100%;height:100%;object-fit:contain;border-radius:50%}.pro-login-card h2{text-align:center;font-size:20px;color:#0d2d58;margin:0;font-weight:900;letter-spacing:-.5px}.pro-system{text-align:center;font-size:9px;letter-spacing:.38em;color:#6e86a4;margin-top:6px}.pro-blue-line{width:52px;height:3px;border-radius:10px;background:#1683ee;margin:13px auto 22px}.pro-login-card h3{text-align:center;font-size:22px;color:#0d2d58;margin:0}.pro-desc{text-align:center;color:#7388a5;font-size:11px;line-height:1.5;margin:8px 0 24px}.pro-label{display:block;font-size:10px;font-weight:900;color:#203e65;margin:0 0 7px}.pro-input{height:51px;border:1px solid #d6e2ef;border-radius:11px;display:flex;align-items:center;gap:11px;padding:0 13px;margin-bottom:18px;background:#fff;transition:.18s}.pro-input:focus-within{border-color:#2385ed;box-shadow:0 0 0 4px rgba(35,133,237,.08)}.pro-input>span{display:grid;place-items:center;color:#8399b3}.pro-input svg{width:17px;height:17px;fill:currentColor}.pro-input input{border:0;outline:0;background:transparent;flex:1;min-width:0;height:100%;font:inherit;font-size:12px;color:#213c5d}.pro-input input::placeholder{color:#a5b4c6}.pro-eye{border:0;background:none;color:#7d91aa;padding:5px;cursor:pointer;display:grid;place-items:center}.pro-eye svg{width:18px;height:18px}.pro-options{display:flex;align-items:center;justify-content:space-between;margin:-2px 0 20px;font-size:10px;color:#61758f}.pro-options label{display:flex;align-items:center;gap:7px}.pro-options input{width:17px;height:17px;accent-color:#1679e2}.pro-options a{color:#1068cf;text-decoration:none;font-weight:800}.pro-submit{width:100%;height:52px;border:0;border-radius:11px;background:linear-gradient(90deg,#2191f5,#1467d4);color:#fff;font-size:14px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(20,103,212,.2);transition:.18s}.pro-submit:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(20,103,212,.25)}.pro-submit span{font-size:21px;margin-right:8px}.pro-unified{display:flex;gap:13px;align-items:center;border:1px solid #cfe1f4;background:linear-gradient(135deg,#f3f9ff,#f9fcff);border-radius:14px;padding:13px;margin-top:20px}.unified-icon{width:39px;height:39px;border-radius:50%;background:#ddf7ec;color:#0ca56d;display:grid;place-items:center;flex:none}.unified-icon svg{width:23px;height:23px;fill:currentColor}.pro-unified b{display:block;font-size:11px;color:#183a61;margin-bottom:3px}.pro-unified span{display:block;font-size:9px;color:#7287a3;line-height:1.45}.pro-footer{text-align:center;color:#7f94ad;font-size:9px;line-height:1.55;margin-top:18px}.pro-footer span{color:#91a3b9}.pro-footer i{display:block;width:54px;height:3px;background:#1683ee;border-radius:10px;margin:12px auto 8px}.pro-footer strong{display:block;color:#2486ea;font-family:cursive;font-size:17px;font-style:italic;font-weight:500}.login-pro-side .alert{font-size:10px;margin:-7px 0 15px}
@media(max-width:1050px){.login-pro-page{grid-template-columns:1fr;min-height:100vh}.hero-inner{padding:34px 32px 20px}.hero-brand{gap:14px}.hero-logo{width:70px;height:70px}.hero-school{font-size:20px}.hero-slogan{right:24px;top:34px;font-size:20px;max-width:180px}.hero-main-copy{margin-top:52px;max-width:610px}.hero-main-copy h1{font-size:36px;line-height:1.04;margin:14px 0 12px}.hero-main-copy p{font-size:12px;max-width:520px}.hero-features{gap:10px;margin-top:20px;max-width:610px}.hero-feature{padding:10px 11px;gap:10px;border-radius:13px}.hf-icon{width:46px;height:46px}.hf-icon svg{width:25px;height:25px}.hero-feature b{font-size:10px}.hero-feature small{font-size:8px}.hero-stats{right:24px;bottom:70px;min-width:380px;padding:11px 12px;border-radius:16px}.hero-stat{padding:0 10px;gap:8px}.stat-icon{width:38px;height:38px}.stat-icon svg{width:20px;height:20px}.hero-stat strong{font-size:20px}.hero-stat span{font-size:8px}.hero-footer{gap:20px;margin-top:20px;font-size:8px}.pro-login-card{padding:24px 22px 19px;border-radius:22px}.pro-login-logo{width:68px;height:68px}.pro-login-card h2{font-size:18px}.pro-login-card h3{font-size:20px}.pro-desc{font-size:10px;margin-bottom:18px}.pro-input{height:48px;margin-bottom:14px}.pro-submit{height:50px}.pro-unified{margin-top:15px;padding:11px}.pro-footer{margin-top:13px}}
@media(max-width:1000px){.login-pro-page{grid-template-columns:1fr}.login-pro-hero{min-height:700px}.hero-inner{min-height:700px}.login-pro-side{padding:26px 18px}.pro-login-card{margin-bottom:20px}.hero-stats{right:35px;bottom:80px}.hero-footer{margin-top:22px}}
@media(min-width:1051px) and (max-width:1250px){
  .login-pro-page{grid-template-columns:60% 40%}
  .hero-inner{padding:30px 30px 20px}
  .hero-brand{gap:13px}.hero-logo{width:66px;height:66px}.hero-school{font-size:19px}.hero-motto{font-size:8px}
  .hero-slogan{right:20px;top:30px;font-size:18px;max-width:160px}
  .hero-main-copy{margin-top:48px}.hero-main-copy h1{font-size:34px}.hero-main-copy p{font-size:11.5px}
  .hero-features{gap:9px;margin-top:18px}.hero-feature{padding:9px 10px}.hf-icon{width:44px;height:44px}.hf-icon svg{width:24px;height:24px}.hero-feature b{font-size:9.5px}.hero-feature small{font-size:7.7px}
  .hero-stats{right:20px;bottom:66px;min-width:350px;padding:10px}.hero-stat{padding:0 8px}.stat-icon{width:36px;height:36px}.stat-icon svg{width:19px;height:19px}.hero-stat strong{font-size:19px}.hero-stat span{font-size:7.5px}
  .hero-footer{gap:16px;font-size:7.5px}
  .login-pro-side{padding:20px 20px 18px}.pro-login-card{padding:24px 24px 20px}.pro-login-logo{width:66px;height:66px}
}

@media(max-width:650px){.login-pro-hero{min-height:auto}.hero-inner{min-height:0;padding:28px 20px 24px}.hero-logo{width:62px;height:62px}.hero-school{font-size:16px}.hero-motto{font-size:6px;letter-spacing:.12em}.hero-slogan{display:none}.hero-main-copy{margin-top:42px}.hero-eyebrow{font-size:9px;letter-spacing:.2em}.hero-eyebrow span{width:36px;height:3px}.hero-main-copy h1{font-size:30px;letter-spacing:-1px}.hero-main-copy p{font-size:11px}.hero-features{grid-template-columns:1fr;gap:10px;margin-top:22px}.hero-feature{padding:10px}.hf-icon{width:45px;height:45px}.hero-feature b{font-size:11px}.hero-feature small{font-size:9px}.hero-quote{margin-top:28px;font-size:21px}.hero-stats{position:relative;right:auto;bottom:auto;min-width:0;width:100%;margin-top:26px;padding:11px 6px}.hero-stat{padding:0 8px;gap:7px}.stat-icon{width:36px;height:36px}.stat-icon svg{width:19px;height:19px}.hero-stat strong{font-size:18px}.hero-stat span{font-size:7px}.hero-footer{flex-direction:column;gap:8px;margin-top:20px;font-size:8px}.login-pro-side{padding:16px 12px}.pro-topbar{font-size:8px;margin-bottom:12px}.pro-login-card{padding:25px 18px 20px;border-radius:20px}.pro-login-logo{width:62px;height:62px}.pro-login-card h2{font-size:17px}.pro-login-card h3{font-size:20px}.pro-desc{font-size:10px}.pro-input{height:48px}.pro-submit{height:50px}}

/* ===== FINAL MODERN ROOM FILTER ===== */
.inventory-group-filter{
  position:relative!important;
  min-width:270px!important;
  height:54px!important;
  padding:0 16px 0 17px!important;
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  border:1px solid #dbe6f3!important;
  border-radius:15px!important;
  color:#12345a!important;
  box-shadow:0 7px 20px rgba(35,75,120,.06)!important;
  overflow:hidden!important;
  cursor:pointer!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.inventory-group-filter:hover{
  border-color:#b9d2ef!important;
  box-shadow:0 9px 24px rgba(35,75,120,.09)!important;
}
.inventory-group-filter:focus-within{
  border-color:#4a91ea!important;
  box-shadow:0 0 0 3px rgba(48,126,231,.10),0 9px 24px rgba(35,75,120,.08)!important;
}
.inventory-group-filter>span:first-child{
  width:24px!important;height:24px!important;flex:0 0 24px!important;
  display:grid!important;place-items:center!important;color:#2375d7!important;
}
.inventory-group-filter>span:first-child .inv-icon{width:22px!important;height:22px!important}
.inventory-group-filter select{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  opacity:0!important;
  cursor:pointer!important;
  z-index:3!important;
  appearance:auto!important;
  -webkit-appearance:auto!important;
}
.inventory-group-filter::before{
  content:'Semua Ruangan';
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
  font-size:12px;
  font-weight:800;
  color:#18375d;
  pointer-events:none;
}
.inventory-group-filter select:has(option:checked:not([value=""])){ }
.inventory-group-filter .filter-chevron{
  position:relative!important;
  z-index:1!important;
  width:20px!important;height:20px!important;
  margin-left:auto!important;
  display:grid!important;place-items:center!important;
  color:#6f86a4!important;
  transform:none!important;
  pointer-events:none!important;
}
.inventory-group-filter .filter-chevron .inv-icon{width:17px!important;height:17px!important}
.inventory-group-filter .filter-chevron svg{transition:transform .18s ease}
@media(max-width:1100px){.inventory-group-filter{min-width:220px!important}}
@media(max-width:720px){.inventory-group-filter{min-width:0!important;width:100%!important}}

/* === DASHBOARD SARPRAS PRO === */
.sarpras-pro-welcome{position:relative;min-height:122px;border-radius:22px;overflow:hidden;background:linear-gradient(105deg,#0b3d91,#176fe1 72%,#1c91ed);color:#fff;padding:25px 28px;box-shadow:0 12px 30px rgba(22,89,180,.14);margin-bottom:18px}
.sarpras-pro-welcome:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,45,105,.12),transparent 65%);pointer-events:none}
.spw-copy{position:relative;z-index:3}.spw-kicker{font-size:9px;letter-spacing:.14em;font-weight:800;opacity:.9;display:flex;align-items:center;gap:7px}.spw-building{font-size:17px}.spw-copy h2{font-size:23px;margin:8px 0 4px;letter-spacing:-.4px}.spw-copy h2 strong{font-weight:900}.spw-copy p{margin:0;font-size:11px;opacity:.82}.spw-art{position:absolute;right:25%;bottom:0;width:270px;height:110px;opacity:.9}.spw-sun{position:absolute;width:60px;height:60px;border-radius:50%;background:rgba(255,255,255,.16);right:75px;top:8px}.spw-building-art{position:absolute;bottom:0;left:55px;width:150px;height:72px;background:rgba(255,255,255,.75);border-radius:7px 7px 0 0;box-shadow:0 8px 0 rgba(5,48,109,.08)}.spw-building-art:before{content:"";position:absolute;left:20px;right:20px;top:-15px;height:15px;background:rgba(255,255,255,.8);border-radius:4px 4px 0 0}.spw-building-art i{display:inline-block;width:16px;height:20px;margin:18px 0 0 15px;background:#5ea7f5;border-radius:2px}.spw-building-art b{position:absolute;width:28px;height:42px;bottom:0;left:61px;background:#2b74ca;border-radius:12px 12px 0 0}.spw-tree{position:absolute;width:35px;height:45px;background:#34b67a;border-radius:50%;bottom:14px}.spw-tree:after{content:"";position:absolute;width:8px;height:25px;background:#8a6845;left:14px;top:35px}.spw-tree.left{left:25px}.spw-tree.right{right:5px;background:#42c589}.spw-quote{position:absolute;right:28px;top:30px;z-index:3;text-align:right;font-size:12px;line-height:1.3;font-weight:800;font-style:italic;max-width:190px}
.sarpras-pro-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.sp-kpi{min-height:136px;background:#fff;border:1px solid #e2eaf4;border-radius:18px;padding:17px;display:flex;align-items:flex-start;gap:12px;position:relative;box-shadow:0 8px 22px rgba(22,56,95,.04);overflow:hidden}.sp-kpi:after{content:"";position:absolute;right:-30px;bottom:-38px;width:95px;height:95px;border-radius:50%;background:rgba(230,240,252,.45)}.sp-kpi-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;flex:none}.sp-kpi-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.sp-blue .sp-kpi-icon{background:#eaf3ff;color:#1972df}.sp-green .sp-kpi-icon{background:#e5f8ef;color:#11a56f}.sp-orange .sp-kpi-icon{background:#fff1db;color:#e8900d}.sp-purple .sp-kpi-icon{background:#f0eaff;color:#7651dc}.sp-kpi-body{min-width:0}.sp-kpi-body>span{display:block;font-size:9px;color:#71809a;font-weight:800;letter-spacing:.05em}.sp-kpi-body strong{display:block;font-size:30px;line-height:1;margin:12px 0 6px;color:#0d2850}.sp-kpi-body small{font-size:9px;color:#8794a8}.sp-kpi-trend{margin-left:auto;z-index:2;background:#e8f8f1;color:#0ca66e;border-radius:9px;padding:6px 8px;font-size:10px}.sp-kpi-trend small{display:block;color:#7d8b9d;font-size:8px;margin-top:7px;white-space:nowrap}.sp-kpi-link{margin-left:auto;z-index:2;color:#2266d1;text-decoration:none;font-size:10px;font-weight:800;align-self:center;background:#eef4ff;padding:8px 10px;border-radius:9px}.sp-kpi-link span{font-size:18px;margin-left:4px}.sp-ring{border-radius:50%;display:grid;place-items:center;background:conic-gradient(#16b878 var(--pct),#e5eef4 0);position:relative}.sp-ring:after{content:"";position:absolute;inset:5px;background:#fff;border-radius:50%}.sp-ring b{position:relative;z-index:2;font-size:8px;color:#174b3b}.sp-ring.mini{width:47px;height:47px;margin-left:auto;z-index:2}.sp-ring.warn{background:conic-gradient(#f0a21b var(--pct),#e8edf3 0)}.sp-ring.warn b{color:#9a690e}
.sarpras-pro-grid{display:grid;grid-template-columns:2fr 1fr;gap:18px}.sarpras-pro-grid.lower{grid-template-columns:1.8fr 1fr;margin-top:18px}.sp-panel{background:#fff;border:1px solid #e1e8f1;border-radius:18px;box-shadow:0 8px 25px rgba(22,56,95,.045);padding:20px;min-width:0}.sp-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.sp-panel-title h3{margin:0;color:#102a50;font-size:15px}.sp-panel-title p{margin:4px 0 0;color:#8795aa;font-size:10px}.sp-title-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;font-weight:900;font-size:22px}.sp-title-icon.bolt{background:#fff1dc;color:#f0a20b}.sp-title-icon.check{background:#e5f8ef;color:#12a872;font-size:18px}.sp-quick-actions{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.sp-action{position:relative;text-decoration:none;border-radius:14px;padding:14px 10px;min-height:112px;display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid transparent;transition:.18s}.sp-action:hover{transform:translateY(-2px)}.sp-action.blue{background:#eaf3ff;border-color:#d9e9ff;color:#1769d6}.sp-action.cyan{background:#edf8ff;color:#147ebc}.sp-action.green{background:#e8f9f1;color:#0b9a69}.sp-action.orange{background:#fff4df;color:#c97d05}.sp-action.purple{background:#f1ebff;color:#7650d5}.sp-action-icon{width:40px;height:40px;border-radius:11px;background:#fff;display:grid;place-items:center;font-size:23px;font-weight:800;margin-bottom:8px;box-shadow:0 4px 10px rgba(31,66,110,.06)}.sp-action b{font-size:10px;color:#18335a}.sp-action small{font-size:8px;color:#7c8ba0;margin-top:4px}.sp-action em{position:absolute;right:7px;top:7px;min-width:20px;height:20px;border-radius:50%;background:#0ca875;color:#fff;font-size:8px;font-style:normal;display:grid;place-items:center}.sp-action.orange em{background:#db910d}
.condition-main{display:grid;grid-template-columns:145px 1fr;gap:16px;align-items:center}.condition-chart{width:140px;height:140px;border-radius:50%;background:conic-gradient(#1688ea 0 var(--good),#ef5a2f var(--good) 100%);display:grid;place-items:center}.condition-chart>div{width:92px;height:92px;border-radius:50%;background:#fff;display:grid;place-items:center;align-content:center;box-shadow:0 2px 8px rgba(20,60,100,.05)}.condition-chart strong{font-size:23px;color:#0d315d}.condition-chart span{font-size:8px;color:#8492a5;margin-top:3px}.condition-list{display:grid;gap:12px}.condition-list>div:not(.condition-tip){display:grid;grid-template-columns:10px 1fr auto auto;gap:7px;align-items:center;font-size:10px}.condition-list b{color:#122d52}.condition-list small{color:#8794a7;font-size:9px}.dot{width:9px;height:9px;border-radius:50%}.dot.good{background:#1688ea}.dot.bad{background:#ef5a2f}.condition-tip{display:flex;align-items:center;gap:8px;padding:10px;border-radius:10px;background:#edf6ff;color:#1c5ea9;font-size:8px}.condition-tip strong{font-size:16px}.condition-tip span{font-weight:700;flex:1}.condition-tip span small{display:block;font-weight:400;margin-top:2px}.condition-tip>b{font-size:17px}
.sp-see-all{background:#eef5ff;color:#2168cc;border:1px solid #dce9fa;border-radius:9px;padding:8px 11px;text-decoration:none;font-size:9px;font-weight:800}.sp-see-all span{font-size:16px;margin-left:5px}.sp-table{font-size:10px}.sp-table th{font-size:8px;padding:10px}.sp-table td{padding:11px 9px}.sp-empty{text-align:center;padding:28px 10px;display:grid;gap:5px;color:#8190a6}.sp-empty span{font-size:30px;color:#a7bad1}.sp-empty b{font-size:11px;color:#405777}.sp-empty small{font-size:9px}.sp-filter{border:1px solid #dce5f0;border-radius:9px;padding:9px 11px;font-size:9px;color:#405876;background:#fff;white-space:nowrap}.sp-filter b{margin-left:18px;font-size:13px}.condition-bars{height:230px;display:flex;padding:12px 4px 20px 0}.axis{width:30px;display:flex;flex-direction:column;justify-content:space-between;font-size:8px;color:#8290a4;text-align:right;padding:3px 7px 23px 0}.bar-area{flex:1;display:flex;align-items:flex-end;justify-content:space-around;border-left:1px solid #e5ebf2;border-bottom:1px solid #e5ebf2;position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent 39px,#e9eef4 40px)}.bar-col{width:30%;height:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;position:relative}.bar-col i{display:block;width:65px;max-width:70%;background:linear-gradient(180deg,#2b96f0,#1670dc);border-radius:7px 7px 0 0;min-height:6px}.bar-col.bad i{background:linear-gradient(180deg,#ff7651,#ef5a2f)}.bar-col b{font-size:10px;color:#102d55;margin-bottom:4px}.bar-col span{position:absolute;bottom:-25px;font-size:8px;color:#687b96;white-space:nowrap}
@media(max-width:1250px){.sarpras-pro-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.sarpras-pro-grid,.sarpras-pro-grid.lower{grid-template-columns:1fr}.sp-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.sp-kpi{min-width:0}.sp-kpi-body{min-width:0}.sp-kpi-body>span{white-space:nowrap}.sp-kpi-body strong{font-size:28px}.sp-kpi-trend,.sp-kpi-link{flex:none}.spw-art{right:12%}.spw-quote{display:none}}
@media(max-width:720px){.sarpras-pro-welcome{min-height:110px;padding:18px}.spw-copy h2{font-size:18px}.spw-art{display:none}.sarpras-pro-kpis{grid-template-columns:1fr}.sp-kpi{min-height:110px}.sp-quick-actions{grid-template-columns:repeat(2,1fr)}.condition-main{grid-template-columns:1fr;justify-items:center}.condition-list{width:100%}.sp-panel{padding:15px}.chart-panel{overflow:hidden}}

/* Sarpras dashboard anti-overflow refinement */
.sarpras-pro-kpis > .sp-kpi{box-sizing:border-box;}
.sp-kpi-body small{display:block;line-height:1.45;}
.sp-kpi-trend small{line-height:1.25;}

/* Sarpras dashboard icon refresh - clean modern SVG icons */
.sarpras-pro-welcome .spw-building{font-size:0;display:inline-flex;width:20px;height:20px;vertical-align:middle}
.sp-kpi-icon,.sp-action-icon,.sp-title-icon{font-size:0}
.sp-kpi-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sp-action-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sp-title-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sp-title-icon.bolt svg{fill:currentColor;stroke:currentColor}
.sp-title-icon.check svg{fill:none}
.sp-action.blue .sp-action-icon{color:#0b6ff3}.sp-action.cyan .sp-action-icon{color:#10a978}.sp-action.green .sp-action-icon{color:#0b9b74}.sp-action.orange .sp-action-icon{color:#e89a0b}.sp-action.purple .sp-action-icon{color:#7250d8}
.sp-action-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#fff;box-shadow:0 8px 18px rgba(24,63,112,.10);margin-bottom:8px}
.sp-action:hover .sp-action-icon{transform:translateY(-1px);box-shadow:0 10px 22px rgba(24,63,112,.15)}
.empty-repair-icon{display:grid!important;place-items:center;width:42px!important;height:42px!important;margin:0 auto 9px!important;border-radius:12px;background:#edf4ff;color:#4b82c8}
.empty-repair-icon svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* === MODERN SARPRAS ICON SYSTEM v2 === */
.sp-kpi-icon{width:50px;height:50px;border-radius:15px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),0 8px 18px rgba(35,76,125,.08)}
.sp-kpi-icon svg{width:27px;height:27px;stroke-width:1.75}
.sp-blue .sp-kpi-icon{background:linear-gradient(145deg,#eaf4ff,#dcecff);color:#1674ea}
.sp-green .sp-kpi-icon{background:linear-gradient(145deg,#e7faf1,#d5f3e6);color:#0daa72}
.sp-orange .sp-kpi-icon{background:linear-gradient(145deg,#fff5e3,#ffebc8);color:#ec980c}
.sp-purple .sp-kpi-icon{background:linear-gradient(145deg,#f3edff,#e8ddff);color:#7656df}
.sp-action-icon{width:46px;height:46px;border-radius:14px;box-shadow:0 9px 20px rgba(30,70,120,.12);position:relative}
.sp-action-icon svg{width:25px;height:25px;stroke-width:1.75}
.sp-action:hover .sp-action-icon{transform:scale(1.05);box-shadow:0 11px 23px rgba(30,70,120,.16)}
.sp-title-icon{box-shadow:0 7px 16px rgba(30,70,120,.07)}

/* Sarpras icon polish v4 - filled premium icon tiles */
.sarpras-pro-kpis .sp-kpi-icon,
.sp-quick-actions .sp-action-icon,
.sp-panel-title .sp-title-icon{position:relative;overflow:hidden}
.sarpras-pro-kpis .sp-kpi-icon{border:0;box-shadow:0 10px 24px rgba(27,72,130,.12),inset 0 1px 0 rgba(255,255,255,.55)}
.sarpras-pro-kpis .sp-kpi-icon svg{width:28px;height:28px;stroke-width:2.4}
.sarpras-pro-kpis .sp-blue .sp-kpi-icon{background:linear-gradient(145deg,#2f8cff,#1267dc);color:#fff}
.sarpras-pro-kpis .sp-green .sp-kpi-icon{background:linear-gradient(145deg,#20c98b,#0ca66d);color:#fff}
.sarpras-pro-kpis .sp-orange .sp-kpi-icon{background:linear-gradient(145deg,#ffb52e,#ed8d00);color:#fff}
.sarpras-pro-kpis .sp-purple .sp-kpi-icon{background:linear-gradient(145deg,#9368ff,#6841d8);color:#fff}
.sarpras-pro-kpis .sp-kpi-icon::after{content:"";position:absolute;width:28px;height:28px;right:-9px;top:-10px;border-radius:50%;background:rgba(255,255,255,.16);pointer-events:none}
.sp-quick-actions .sp-action-icon{width:50px;height:50px;border-radius:15px;color:#fff!important;border:0;box-shadow:0 10px 22px rgba(30,70,120,.15),inset 0 1px 0 rgba(255,255,255,.55);margin-bottom:10px}
.sp-quick-actions .sp-action.blue .sp-action-icon{background:linear-gradient(145deg,#318dff,#1168df)}
.sp-quick-actions .sp-action.cyan .sp-action-icon{background:linear-gradient(145deg,#27cfa0,#0ba876)}
.sp-quick-actions .sp-action.green .sp-action-icon{background:linear-gradient(145deg,#36d6a3,#0ba878)}
.sp-quick-actions .sp-action.orange .sp-action-icon{background:linear-gradient(145deg,#ffc34d,#ed9200)}
.sp-quick-actions .sp-action.purple .sp-action-icon{background:linear-gradient(145deg,#a176ff,#7045dc)}
.sp-quick-actions .sp-action-icon svg{width:27px;height:27px;stroke-width:2.25;stroke:#fff;color:#fff}
.sp-action:hover .sp-action-icon{transform:translateY(-2px) scale(1.04);box-shadow:0 13px 26px rgba(30,70,120,.20)}
.sp-panel-title .sp-title-icon{width:42px;height:42px;border-radius:14px;box-shadow:0 8px 18px rgba(30,70,120,.10)}
.sp-title-icon.bolt{background:linear-gradient(145deg,#ffd166,#f09a00);color:#fff}
.sp-title-icon.check{background:linear-gradient(145deg,#36d6a3,#0ca875);color:#fff}
.sp-title-icon svg{width:24px;height:24px;stroke-width:2.4}
.condition-tip .tip-icon{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:8px;background:#eaf3ff;color:#1769d6}
.condition-tip .tip-icon svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:720px){.sarpras-pro-kpis .sp-kpi-icon svg{width:26px;height:26px}.sp-action-icon svg{width:24px;height:24px}}

/* ===== SARPRAS POLISH FINAL ===== */
.sarpras-pro-welcome{min-height:118px;padding:24px 28px;border-radius:20px;margin-bottom:16px;box-shadow:0 12px 28px rgba(20,73,145,.10)}
.spw-copy{position:relative;z-index:2}.spw-copy h2{letter-spacing:-.35px}.spw-copy p{margin-top:5px}
.sarpras-pro-kpis{gap:14px;margin-bottom:16px}
.sp-kpi{min-height:132px;padding:16px;border-radius:17px;gap:11px;box-shadow:0 6px 20px rgba(25,61,105,.045)}
.sp-kpi-body{padding-top:1px}.sp-kpi-body strong{font-size:29px;margin:10px 0 5px}.sp-kpi-body small{font-size:9.5px}
.sp-kpi-icon{width:48px;height:48px;border-radius:14px}.sp-kpi-icon svg{width:26px;height:26px}
.sp-kpi-trend,.sp-kpi-link{align-self:center}.sp-kpi-link{padding:8px 10px;white-space:nowrap}
.sarpras-pro-grid{gap:16px}.sarpras-pro-grid.lower{gap:16px;margin-top:16px}
.sp-panel{padding:18px;border-radius:17px;box-shadow:0 6px 22px rgba(25,61,105,.045)}
.sp-panel-title{margin-bottom:15px}.sp-panel-title h3{font-size:15px;letter-spacing:-.15px}.sp-panel-title p{font-size:9.5px}
.sp-title-icon{width:40px;height:40px;border-radius:13px}
.sp-quick-actions{gap:9px}.sp-action{min-height:108px;padding:12px 8px;border-radius:13px}.sp-action-icon{width:46px;height:46px;border-radius:14px;margin-bottom:8px}.sp-action b{font-size:9.5px}.sp-action small{font-size:8px}
.condition-main{grid-template-columns:140px 1fr;gap:14px}.condition-chart{width:136px;height:136px}.condition-chart>div{width:90px;height:90px}.condition-chart strong{font-size:22px}
.condition-list{gap:10px}.condition-list>div:not(.condition-tip){font-size:9.5px}.condition-tip{padding:9px 10px;min-height:48px}.condition-tip>b{display:none}
.tablewrap{border-radius:10px;overflow:hidden}.sp-table th{font-size:8px}.sp-table td{font-size:9px}
.sp-empty{min-height:170px}
.chart-panel .sp-filter{font-size:9px;padding:8px 10px;border-radius:9px}
.condition-bars{min-height:235px}

@media(max-width:1250px){
 .sarpras-pro-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .sp-kpi{min-height:124px}
 .sarpras-pro-grid,.sarpras-pro-grid.lower{grid-template-columns:1fr}
 .condition-main{grid-template-columns:150px 1fr}
}
@media(max-width:720px){
 .sarpras-pro-welcome{min-height:106px;padding:18px;border-radius:16px}
 .sarpras-pro-kpis{grid-template-columns:1fr;gap:10px}
 .sp-kpi{min-height:112px}
 .sp-panel{padding:14px;border-radius:15px}
 .sp-quick-actions{grid-template-columns:repeat(2,1fr);gap:8px}
 .sp-action{min-height:104px}
 .condition-main{grid-template-columns:1fr;justify-items:center}.condition-list{width:100%}
}


/* ===== DAFTAR PEMINJAM MOBILE HORIZONTAL SCROLL FIX ===== */
.borrower-tablewrap{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;}
.borrower-tablewrap #borrowers{min-width:820px;}
@media(max-width:720px){
  .borrower-tablewrap{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;touch-action:pan-x;display:block;}
  .borrower-tablewrap #borrowers{width:max-content;min-width:820px;table-layout:auto;}
  .borrower-tablewrap th,.borrower-tablewrap td{white-space:nowrap;}
}

/* ===== PEMINJAMAN MOBILE HORIZONTAL SCROLL FIX ===== */
.loan-tablewrap{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:pan-x;scrollbar-width:thin;}
.loan-tablewrap #loans{min-width:760px;}
@media(max-width:720px){
  .loan-tablewrap{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;touch-action:pan-x;display:block;}
  .loan-tablewrap #loans{width:max-content;min-width:760px;table-layout:auto;}
  .loan-tablewrap th,.loan-tablewrap td{white-space:nowrap;}
}

/* ===== PEMINJAM MOBILE - AKSI TETAP DI KOLOM PALING KANAN ===== */
@media(max-width:720px){
  .borrower-tablewrap #borrowers .aksi-col,
  .borrower-tablewrap #borrowers th.aksi-col,
  .borrower-tablewrap #borrowers td.aksi-col{
    position:static !important;
    right:auto !important;
    box-shadow:none !important;
    background:inherit !important;
    z-index:auto !important;
    min-width:170px !important;
  }
  .borrower-tablewrap #borrowers td.aksi-col .actions{
    display:flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;
  }
}

/* ===== PEMINJAM MOBILE V4 — vertical page scroll tetap lancar ===== */
@media(max-width:720px){
  .borrower-tablewrap{
    overflow-x:auto!important;
    overflow-y:visible!important;
    -webkit-overflow-scrolling:touch;
    touch-action:auto!important;
    overscroll-behavior-x:contain;
  }
  .borrower-tablewrap #borrowers{touch-action:auto!important;}
}


/* === SIDEBAR PRO: scrollbar tersembunyi + kontrol panah minimal === */
.sidebar .sidebar-nav-wrap{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}
.sidebar .sidebar-nav-wrap nav{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;scrollbar-width:none;-ms-overflow-style:none;scroll-behavior:smooth;padding-right:0}
.sidebar .sidebar-nav-wrap nav::-webkit-scrollbar{width:0!important;height:0!important;display:none!important}
.side-scroll-btn{display:none;position:absolute;right:7px;width:22px;height:22px;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:rgba(4,42,96,.72);color:rgba(255,255,255,.92);align-items:center;justify-content:center;cursor:pointer;z-index:6;box-shadow:0 3px 10px rgba(0,0,0,.16);backdrop-filter:blur(5px);padding:0;transition:opacity .18s,transform .18s,background .18s}
.side-scroll-btn svg{width:13px;height:13px;display:block}
.side-scroll-btn:hover{background:rgba(255,255,255,.18);border-color:rgba(255,255,255,.35);transform:scale(1.05)}
.side-scroll-btn:active{transform:scale(.94)}
.side-scroll-up{top:6px}.side-scroll-down{bottom:6px}
.side-scroll-btn.is-visible{display:flex}
/* warna icon sidebar tetap dibedakan, tetapi tidak mengubah layout menu */
.sidebar nav a .navicon-dashboard{background:#2b8cff!important}
.sidebar nav a .navicon-inventory{background:#3b7bf4!important;color:#fff!important}
.sidebar nav a .navicon-loan{background:#20c978!important}
.sidebar nav a .navicon-return{background:#ffae28!important}
.sidebar nav a .navicon-users{background:#9658ed!important}
.sidebar nav a .navicon-room{background:#f45191!important}
.sidebar nav a .navicon-repair{background:#ffc21f!important}
.sidebar nav a .navicon-purchase{background:#12c985!important}
.sidebar nav a .navicon-delete{background:#ff4f58!important}
.sidebar nav a .navicon-report{background:#8b5cf6!important}
.sidebar nav a .navicon-profile{background:#31c4e8!important}
@media(max-width:720px){.side-scroll-btn{display:none!important}.sidebar .sidebar-nav-wrap nav{scrollbar-width:none;-ms-overflow-style:none}.sidebar .sidebar-nav-wrap nav::-webkit-scrollbar{display:none!important;width:0!important}}

/* Sidebar arrow controls: clean and unobtrusive */
.side-scroll-btn{background:rgba(11,67,145,.92)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;width:24px!important;height:24px!important;padding:0!important}
.side-scroll-btn svg{width:13px!important;height:13px!important;color:#fff!important}
.side-scroll-btn.is-visible{display:flex!important}
@media(max-width:720px){.side-scroll-btn{display:none!important}}


/* FINAL SIDEBAR ARROW CLEANUP */
@media (min-width:721px){
  .sidebar .sidebar-nav-wrap nav,
  .sidebar nav{
    scrollbar-width:none !important;
    -ms-overflow-style:none !important;
  }
  .sidebar .sidebar-nav-wrap nav::-webkit-scrollbar,
  .sidebar nav::-webkit-scrollbar{
    width:0 !important;
    height:0 !important;
    display:none !important;
  }
  .sidebar .sidebar-nav-wrap nav::-webkit-scrollbar-button,
  .sidebar nav::-webkit-scrollbar-button,
  .sidebar .sidebar-nav-wrap nav::-webkit-scrollbar-corner,
  .sidebar nav::-webkit-scrollbar-corner{
    display:none !important;
    width:0 !important;
    height:0 !important;
  }
  .side-scroll-btn{
    width:24px !important;
    height:24px !important;
    right:8px !important;
    border-radius:50% !important;
    padding:0 !important;
    margin:0 !important;
    line-height:0 !important;
  }
  .side-scroll-btn svg{
    width:12px !important;
    height:12px !important;
  }
}


/* Pengembalian: tabel tetap bisa digeser horizontal di HP tanpa mengunci scroll halaman */
.return-tablewrap{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain;touch-action:auto;display:block;}
.return-table{min-width:760px;}
@media(max-width:720px){
  .return-tablewrap{width:100%;max-width:100%;overflow-x:auto!important;overflow-y:hidden!important;-webkit-overflow-scrolling:touch;touch-action:auto;scrollbar-width:thin;}
  .return-table{width:max-content;min-width:760px;table-layout:auto;}
  .return-table th,.return-table td{white-space:nowrap;}
}

/* ===== PENGEMBALIAN — KONDISI KEMBALI PRO ===== */
.condition-select-wrap{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-width:178px;
  height:44px;
  border:1px solid #d9e4f0;
  border-radius:12px;
  background:#fff;
  box-shadow:0 4px 12px rgba(24,55,93,.06);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.condition-select-wrap::before{
  content:"";
  width:9px;
  height:9px;
  margin-left:13px;
  border-radius:50%;
  background:#16b978;
  box-shadow:0 0 0 4px #e7f8f0;
  flex:0 0 auto;
}
.condition-select-wrap::after{
  content:"";
  position:absolute;
  right:13px;
  top:50%;
  width:7px;
  height:7px;
  border-right:2px solid #7890aa;
  border-bottom:2px solid #7890aa;
  transform:translateY(-65%) rotate(45deg);
  pointer-events:none;
}
.condition-select{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  outline:0!important;
  background:transparent!important;
  color:#17375e!important;
  font:inherit!important;
  font-size:12px!important;
  font-weight:800!important;
  width:100%!important;
  height:100%!important;
  padding:0 38px 0 12px!important;
  cursor:pointer;
}
.condition-select:focus{
  outline:none!important;
}
.condition-select-wrap:focus-within{
  border-color:#2d82ee;
  box-shadow:0 0 0 3px rgba(45,130,238,.11),0 6px 16px rgba(24,55,93,.08);
}
.condition-select-wrap.is-light{
  background:#fffaf0;
  border-color:#f2dca5;
}
.condition-select-wrap.is-light::before{
  background:#f0a51a;
  box-shadow:0 0 0 4px #fff0cc;
}
.condition-select-wrap.is-heavy{
  background:#fff5f5;
  border-color:#f0c0c0;
}
.condition-select-wrap.is-heavy::before{
  background:#e5484d;
  box-shadow:0 0 0 4px #ffe2e2;
}
@media(max-width:720px){
  .condition-select-wrap{
    min-width:174px;
    height:46px;
    border-radius:13px;
  }
  .condition-select{
    font-size:13px!important;
  }
}

/* ===== PENGEMBALIAN: STYLE KONDISI KEMBALI - DESKTOP OVERRIDE ===== */
.return-table .condition-select-wrap{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  box-sizing:border-box!important;
  width:190px!important;
  min-width:190px!important;
  height:46px!important;
  padding:0!important;
  border:1px solid #d7e3ef!important;
  border-radius:14px!important;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
  box-shadow:0 5px 16px rgba(18,54,91,.08)!important;
}
.return-table .condition-select-wrap::before{
  content:""!important;
  display:block!important;
  width:10px!important;height:10px!important;
  margin:0 0 0 14px!important;
  border-radius:50%!important;
  background:#16b978!important;
  box-shadow:0 0 0 5px #e5f8f0!important;
  flex:0 0 auto!important;
}
.return-table .condition-select-wrap::after{
  content:""!important;
  position:absolute!important;
  right:15px!important;top:50%!important;
  width:8px!important;height:8px!important;
  border-right:2px solid #7188a2!important;
  border-bottom:2px solid #7188a2!important;
  transform:translateY(-65%) rotate(45deg)!important;
  pointer-events:none!important;
}
.return-table .condition-select{
  box-sizing:border-box!important;
  appearance:none!important;-webkit-appearance:none!important;
  border:0!important;outline:0!important;
  background:transparent!important;
  color:#17375e!important;
  width:100%!important;height:100%!important;
  margin:0!important;
  padding:0 42px 0 12px!important;
  font-family:inherit!important;font-size:13px!important;font-weight:800!important;
  cursor:pointer!important;
}
.return-table .condition-select-wrap.is-light{background:#fffaf0!important;border-color:#f1d99d!important}
.return-table .condition-select-wrap.is-light::before{background:#f0a51a!important;box-shadow:0 0 0 5px #fff0ca!important}
.return-table .condition-select-wrap.is-heavy{background:#fff5f5!important;border-color:#efbcbc!important}
.return-table .condition-select-wrap.is-heavy::before{background:#e5484d!important;box-shadow:0 0 0 5px #ffe0e0!important}
.return-table .condition-select-wrap:focus-within{border-color:#2d82ee!important;box-shadow:0 0 0 3px rgba(45,130,238,.12),0 7px 18px rgba(18,54,91,.09)!important}
@media(max-width:720px){
  .return-table .condition-select-wrap{width:174px!important;min-width:174px!important;height:46px!important}
}


/* ===== INVENTARIS RUANGAN — MOBILE TABLE SCROLL FINAL ===== */
.room-detail-tablewrap{
  width:100%;
  max-width:100%;
  display:block;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:auto;
  scrollbar-width:thin;
  scrollbar-color:#b9c9dc transparent;
  border-radius:12px;
}
.room-detail-tablewrap .room-detail-table{
  width:100%;
  min-width:760px;
  table-layout:auto;
}
.room-detail-tablewrap .room-detail-table th,
.room-detail-tablewrap .room-detail-table td{
  white-space:nowrap;
}
@media(max-width:720px){
  .room-detail-tablewrap{
    width:100% !important;
    max-width:100% !important;
    overflow-x:scroll !important;
    overflow-y:hidden !important;
    display:block !important;
    -webkit-overflow-scrolling:touch !important;
    touch-action:pan-x pan-y !important;
    overscroll-behavior-x:contain;
    scrollbar-width:thin;
  }
  .room-detail-tablewrap::-webkit-scrollbar{height:7px;display:block;}
  .room-detail-tablewrap::-webkit-scrollbar-track{background:#eef3f8;border-radius:10px;}
  .room-detail-tablewrap::-webkit-scrollbar-thumb{background:#b8c9dd;border-radius:10px;}
  .room-detail-tablewrap .room-detail-table{
    width:max-content !important;
    min-width:760px !important;
    table-layout:auto !important;
  }
  .room-detail-tablewrap .room-detail-table th,
  .room-detail-tablewrap .room-detail-table td{
    white-space:nowrap !important;
    min-width:100px;
  }
  .room-detail-tablewrap .room-detail-table th:first-child,
  .room-detail-tablewrap .room-detail-table td:first-child{min-width:180px;}
  .room-detail-tablewrap .room-detail-table th:nth-child(2),
  .room-detail-tablewrap .room-detail-table td:nth-child(2){min-width:125px;}
  .room-detail-tablewrap .room-detail-table th:nth-child(3),
  .room-detail-tablewrap .room-detail-table td:nth-child(3){min-width:125px;}
  .room-detail-tablewrap .room-detail-table th:nth-child(6),
  .room-detail-tablewrap .room-detail-table td:nth-child(6){min-width:125px;}
  .room-detail-tablewrap .room-detail-table th:nth-child(7),
  .room-detail-tablewrap .room-detail-table td:nth-child(7){min-width:145px;}
}


/* ===== INVENTARIS GRUP/RUANGAN — DETAIL TABLE MOBILE FINAL ===== */
.room-items-tablewrap{
  width:100%;
  max-width:100%;
  display:block;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:pan-x pan-y;
  scrollbar-width:none;
  border-radius:12px;
}
.room-items-tablewrap::-webkit-scrollbar{display:none;height:0}
.room-items-tablewrap .room-items-table{
  width:max-content;
  min-width:920px;
  table-layout:auto;
}
.room-items-tablewrap .room-items-table th,
.room-items-tablewrap .room-items-table td{
  white-space:nowrap;
}
.room-items-tablewrap .room-items-table th:nth-child(1),
.room-items-tablewrap .room-items-table td:nth-child(1){min-width:190px}
.room-items-tablewrap .room-items-table th:nth-child(2),
.room-items-tablewrap .room-items-table td:nth-child(2){min-width:150px}
.room-items-tablewrap .room-items-table th:nth-child(3),
.room-items-tablewrap .room-items-table td:nth-child(3){min-width:125px}
.room-items-tablewrap .room-items-table th:nth-child(4),
.room-items-tablewrap .room-items-table td:nth-child(4){min-width:150px}
.room-items-tablewrap .room-items-table th:nth-child(5),
.room-items-tablewrap .room-items-table td:nth-child(5){min-width:90px}
.room-items-tablewrap .room-items-table th:nth-child(6),
.room-items-tablewrap .room-items-table td:nth-child(6){min-width:125px}
.room-items-tablewrap .room-items-table th:nth-child(7),
.room-items-tablewrap .room-items-table td:nth-child(7){min-width:105px}
.room-items-tablewrap .room-items-table th:nth-child(8),
.room-items-tablewrap .room-items-table td:nth-child(8){min-width:300px}
@media(max-width:720px){
  .room-items-tablewrap{
    width:100% !important;
    max-width:100% !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    display:block !important;
    -webkit-overflow-scrolling:touch !important;
    touch-action:pan-x pan-y !important;
    overscroll-behavior-x:contain !important;
  }
  .room-items-tablewrap .room-items-table{
    width:max-content !important;
    min-width:920px !important;
    table-layout:auto !important;
  }
  .room-items-tablewrap .room-items-table th,
  .room-items-tablewrap .room-items-table td{
    white-space:nowrap !important;
  }
  .room-items-tablewrap .room-items-table th:nth-child(1),
  .room-items-tablewrap .room-items-table td:nth-child(1){min-width:190px !important}
  .room-items-tablewrap .room-items-table th:nth-child(2),
  .room-items-tablewrap .room-items-table td:nth-child(2){min-width:150px !important}
  .room-items-tablewrap .room-items-table th:nth-child(3),
  .room-items-tablewrap .room-items-table td:nth-child(3){min-width:125px !important}
  .room-items-tablewrap .room-items-table th:nth-child(4),
  .room-items-tablewrap .room-items-table td:nth-child(4){min-width:150px !important}
  .room-items-tablewrap .room-items-table th:nth-child(5),
  .room-items-tablewrap .room-items-table td:nth-child(5){min-width:90px !important}
  .room-items-tablewrap .room-items-table th:nth-child(6),
  .room-items-tablewrap .room-items-table td:nth-child(6){min-width:125px !important}
  .room-items-tablewrap .room-items-table th:nth-child(7),
  .room-items-tablewrap .room-items-table td:nth-child(7){min-width:105px !important}
  .room-items-tablewrap .room-items-table th:nth-child(8),
  .room-items-tablewrap .room-items-table td:nth-child(8){min-width:300px !important}
}


/* ===== DAFTAR RUANGAN MOBILE SWIPE FIX ===== */
.room-list-tablewrap{
  width:100%;
  max-width:100%;
  display:block;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:auto;
  scrollbar-width:none;
}
.room-list-tablewrap::-webkit-scrollbar{display:none;width:0;height:0}
.room-list-tablewrap .room-list-table{
  width:max-content !important;
  min-width:900px !important;
  table-layout:auto !important;
}
.room-list-tablewrap .room-list-table th,
.room-list-tablewrap .room-list-table td{
  white-space:nowrap !important;
}
.room-list-tablewrap .room-list-table th:nth-child(1),
.room-list-tablewrap .room-list-table td:nth-child(1){min-width:105px}
.room-list-tablewrap .room-list-table th:nth-child(2),
.room-list-tablewrap .room-list-table td:nth-child(2){min-width:190px}
.room-list-tablewrap .room-list-table th:nth-child(3),
.room-list-tablewrap .room-list-table td:nth-child(3){min-width:120px}
.room-list-tablewrap .room-list-table th:nth-child(4),
.room-list-tablewrap .room-list-table td:nth-child(4){min-width:135px}
.room-list-tablewrap .room-list-table th:nth-child(5),
.room-list-tablewrap .room-list-table td:nth-child(5){min-width:120px}
.room-list-tablewrap .room-list-table th:nth-child(6),
.room-list-tablewrap .room-list-table td:nth-child(6){min-width:145px}
.room-list-tablewrap .room-list-table th:nth-child(7),
.room-list-tablewrap .room-list-table td:nth-child(7){min-width:150px}
@media(max-width:720px){
  .room-list-tablewrap{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
    touch-action:auto !important;
  }
  .room-list-tablewrap .room-list-table{
    min-width:965px !important;
  }
}

/* ===== TABLE SWIPE UNIVERSAL - DESKTOP + HP ===== */
.room-items-tablewrap,
.room-detail-tablewrap,
.room-list-tablewrap{
  position:relative !important;
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  overflow-x:auto !important;
  overflow-y:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  overscroll-behavior-x:contain !important;
  touch-action:pan-x pan-y !important;
  scrollbar-width:thin !important;
  scrollbar-color:#9fb4cc #eef3f8 !important;
  cursor:grab;
}
.room-items-tablewrap:active,
.room-detail-tablewrap:active,
.room-list-tablewrap:active{cursor:grabbing}
.room-items-tablewrap::-webkit-scrollbar,
.room-detail-tablewrap::-webkit-scrollbar,
.room-list-tablewrap::-webkit-scrollbar{display:block !important;height:8px !important;width:8px !important}
.room-items-tablewrap::-webkit-scrollbar-track,
.room-detail-tablewrap::-webkit-scrollbar-track,
.room-list-tablewrap::-webkit-scrollbar-track{background:#eef3f8;border-radius:10px}
.room-items-tablewrap::-webkit-scrollbar-thumb,
.room-detail-tablewrap::-webkit-scrollbar-thumb,
.room-list-tablewrap::-webkit-scrollbar-thumb{background:#9fb4cc;border-radius:10px}
.room-items-tablewrap .room-items-table{width:max-content !important;min-width:1100px !important;table-layout:auto !important}
.room-detail-tablewrap .room-detail-table{width:max-content !important;min-width:900px !important;table-layout:auto !important}
.room-list-tablewrap .room-list-table{width:max-content !important;min-width:965px !important;table-layout:auto !important}
.room-items-tablewrap th,.room-items-tablewrap td,
.room-detail-tablewrap th,.room-detail-tablewrap td,
.room-list-tablewrap th,.room-list-tablewrap td{white-space:nowrap !important}
@media(max-width:720px){
  .room-items-tablewrap,.room-detail-tablewrap,.room-list-tablewrap{
    scrollbar-width:none !important;
    cursor:auto;
  }
  .room-items-tablewrap::-webkit-scrollbar,
  .room-detail-tablewrap::-webkit-scrollbar,
  .room-list-tablewrap::-webkit-scrollbar{height:0 !important;display:none !important}
}

/* ===== HEADER INVENTARIS RUANGAN — POLISH ===== */
.room-inventory-panel{overflow:hidden}
.room-inventory-head{align-items:center;gap:18px;margin-bottom:16px;padding:2px 2px 0}
.room-title-group{display:flex;align-items:center;gap:11px;min-width:0}
.room-title-icon{width:38px;height:38px;flex:0 0 38px;border-radius:11px;display:grid;place-items:center;background:#eaf2ff;color:#1268d9;border:1px solid #d7e7ff;font-size:21px;font-weight:900;line-height:1;box-shadow:0 5px 14px rgba(18,104,217,.08)}
.room-title-group h3{margin:0 0 3px;font-size:16px;line-height:1.2;color:#15233b}
.room-title-group .muted{display:block;font-size:11px;line-height:1.35}
.room-count-badge{flex:0 0 auto;padding:8px 12px;border-radius:999px;background:#f1f6fd;border:1px solid #dce8f7;color:#5f718b;font-size:11px;font-weight:800;white-space:nowrap}
@media(max-width:720px){
  .room-inventory-head{align-items:flex-start;gap:10px}
  .room-title-group{align-items:flex-start;gap:9px}
  .room-title-icon{width:34px;height:34px;flex-basis:34px;border-radius:10px;font-size:19px}
  .room-title-group h3{font-size:15px}
  .room-title-group .muted{font-size:10px}
  .room-count-badge{padding:7px 10px;font-size:10px}
}

/* Tanpa Ruangan — icon lebih elegan, bukan kotak/emoji */
.room-title-icon-unassigned{width:42px;height:42px;display:grid;place-items:center;flex:0 0 42px;border-radius:13px;background:linear-gradient(145deg,#fff7e8,#fff0cf);color:#e49a16;box-shadow:inset 0 0 0 1px rgba(228,154,22,.10),0 7px 16px rgba(228,154,22,.10)}
.room-title-icon-unassigned .inv-icon{width:29px;height:29px}
.room-title-icon-unassigned .inv-icon svg{width:100%;height:100%}
@media(max-width:720px){.room-title-icon-unassigned{width:38px;height:38px;flex-basis:38px;border-radius:11px}.room-title-icon-unassigned .inv-icon{width:26px;height:26px}}


/* ===== RESPONSIVE LOGIN RESIZE POLISH ===== */
/* Saat desktop diperkecil (tablet/desktop kecil), hero tetap rapi dan tidak menumpuk. */
@media (min-width:651px) and (max-width:1050px){
  .login-pro-page{display:flex;flex-direction:column;min-height:100vh;overflow:visible}
  .login-pro-hero{min-height:auto;overflow:hidden}
  .hero-inner{min-height:auto;padding:30px 24px 24px;max-width:980px}
  .hero-brand{gap:13px}
  .hero-logo{width:66px;height:66px}
  .hero-school{font-size:19px}
  .hero-motto{font-size:7.5px;letter-spacing:.13em}
  .hero-slogan{right:20px;top:28px;font-size:18px;max-width:155px}
  .hero-main-copy{margin-top:52px;max-width:680px}
  .hero-main-copy h1{font-size:36px;line-height:1.04;margin:14px 0 12px}
  .hero-main-copy p{font-size:12px;max-width:650px}
  .hero-features{grid-template-columns:1fr 1fr;gap:10px;margin-top:20px;max-width:none}
  .hero-feature{padding:10px 11px;gap:10px;border-radius:13px}
  .hf-icon{width:46px;height:46px}
  .hf-icon svg{width:25px;height:25px}
  .hero-feature b{font-size:10px}
  .hero-feature small{font-size:8px}
  .hero-quote{margin-top:28px;font-size:22px}
  .hero-stats{position:relative;right:auto;bottom:auto;width:100%;min-width:0;margin:24px 0 0;padding:11px 12px;box-sizing:border-box;border-radius:17px}
  .hero-stat{padding:0 12px;gap:8px}
  .stat-icon{width:38px;height:38px}
  .stat-icon svg{width:20px;height:20px}
  .hero-stat strong{font-size:20px}
  .hero-stat span{font-size:8px}
  .hero-footer{margin-top:18px;gap:18px;justify-content:space-between;flex-wrap:wrap;font-size:8px;padding-bottom:2px}
  .login-pro-side{padding:24px 20px 22px;overflow:visible}
  .pro-login-card{margin-bottom:0}
}

@media (min-width:651px) and (max-width:780px){
  .hero-inner{padding-left:18px;padding-right:18px}
  .hero-slogan{right:10px;top:24px;font-size:16px;max-width:135px}
  .hero-main-copy{margin-top:48px}
  .hero-main-copy h1{font-size:32px}
  .hero-main-copy p{max-width:600px}
  .hero-feature{min-width:0}
  .hero-feature b,.hero-feature small{white-space:normal}
  .hero-stats{padding:10px 6px}
  .hero-stat{padding:0 7px;gap:6px}
  .stat-icon{width:36px;height:36px}
  .hero-stat strong{font-size:19px}
  .hero-footer{gap:12px;font-size:7.5px}
}


/* ===== FIX FINAL: RIWAYAT TRANSAKSI HP - SCROLL VERTIKAL + HORIZONTAL =====
   Hanya berlaku untuk tabel Peminjaman/Riwayat Transaksi.
   Memungkinkan halaman ikut bergerak atas-bawah saat jari mulai dari area tabel,
   tanpa menghilangkan swipe kiri-kanan tabel. */
@media(max-width:720px){
  .loan-tablewrap{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch !important;
    touch-action:pan-x pan-y !important;
    overscroll-behavior-x:contain !important;
    overscroll-behavior-y:auto !important;
  }
  .loan-tablewrap #loans{
    touch-action:pan-x pan-y !important;
  }
}

/* ===== SARPRAS DASHBOARD PREMIUM V2 ===== */
body:has(.sarpras-pro-welcome) .content{padding-top:24px}
body:has(.sarpras-pro-welcome) .sarpras-pro-welcome{
  min-height:156px!important;
  padding:28px 30px!important;
  border:1px solid rgba(126,190,255,.22)!important;
  background:
    linear-gradient(90deg,rgba(8,49,113,.98) 0%,rgba(16,91,190,.96) 52%,rgba(30,139,231,.88) 100%)!important;
  box-shadow:0 16px 36px rgba(21,87,174,.16)!important;
}
body:has(.sarpras-pro-welcome) .sarpras-pro-welcome:before{
  content:""!important;position:absolute!important;right:0!important;top:0!important;bottom:0!important;
  width:48%!important;
  background:
    linear-gradient(90deg,rgba(16,91,190,1) 0%,rgba(16,91,190,.48) 30%,rgba(16,91,190,.08) 65%,rgba(16,91,190,.02) 100%),
    url("school-bg.jpg") center 56%/cover no-repeat!important;
  opacity:.86!important;
}
body:has(.sarpras-pro-welcome) .sarpras-pro-welcome:after{
  background:linear-gradient(90deg,rgba(5,43,101,.16),rgba(255,255,255,0) 70%)!important;
}
body:has(.sarpras-pro-welcome) .spw-copy h2{font-size:25px!important;line-height:1.12!important}
body:has(.sarpras-pro-welcome) .spw-copy p{font-size:11.5px!important}
body:has(.sarpras-pro-welcome) .spw-kicker{letter-spacing:.16em!important}
body:has(.sarpras-pro-welcome) .spw-art{opacity:.28!important;right:24%!important}
body:has(.sarpras-pro-welcome) .spw-quote{
  right:28px!important;top:31px!important;max-width:220px!important;font-size:13px!important;
  text-shadow:0 2px 10px rgba(0,32,80,.25)!important;
}

body:has(.sarpras-pro-welcome) .sarpras-pro-kpis{gap:14px!important}
body:has(.sarpras-pro-welcome) .sp-kpi{
  min-height:142px!important;padding:19px!important;border-radius:19px!important;
  border-color:#dce7f3!important;
  box-shadow:0 10px 26px rgba(28,68,116,.055)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
body:has(.sarpras-pro-welcome) .sp-kpi:hover{
  transform:translateY(-2px)!important;box-shadow:0 14px 30px rgba(28,68,116,.09)!important;
}
body:has(.sarpras-pro-welcome) .sp-kpi-icon{
  width:48px!important;height:48px!important;border-radius:14px!important;
  box-shadow:0 5px 13px rgba(30,78,140,.07)!important;
}
body:has(.sarpras-pro-welcome) .sp-kpi-icon svg{width:27px!important;height:27px!important}
body:has(.sarpras-pro-welcome) .sp-kpi-body>span{font-size:9px!important;letter-spacing:.06em!important}
body:has(.sarpras-pro-welcome) .sp-kpi-body strong{font-size:32px!important;margin:11px 0 5px!important}
body:has(.sarpras-pro-welcome) .sp-kpi-body small{font-size:9.5px!important}
body:has(.sarpras-pro-welcome) .sp-kpi-trend,.sp-kpi-link{
  box-shadow:0 4px 12px rgba(40,84,140,.05)!important
}
body:has(.sarpras-pro-welcome) .sp-kpi-link{padding:9px 11px!important}

body:has(.sarpras-pro-welcome) .sp-panel{
  border-radius:19px!important;padding:21px!important;
  border-color:#dfe8f2!important;box-shadow:0 10px 28px rgba(28,68,116,.05)!important;
}
body:has(.sarpras-pro-welcome) .sp-panel-title{margin-bottom:18px!important}
body:has(.sarpras-pro-welcome) .sp-panel-title h3{font-size:16px!important}
body:has(.sarpras-pro-welcome) .sp-panel-title p{font-size:10px!important}
body:has(.sarpras-pro-welcome) .sp-title-icon{
  width:42px!important;height:42px!important;border-radius:13px!important;
  box-shadow:0 5px 13px rgba(35,78,130,.07)!important
}
body:has(.sarpras-pro-welcome) .sp-action{
  min-height:118px!important;border-radius:15px!important;padding:15px 10px!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.34)!important;
}
body:has(.sarpras-pro-welcome) .sp-action-icon{
  width:43px!important;height:43px!important;border-radius:13px!important;
  margin-bottom:9px!important;box-shadow:0 6px 14px rgba(31,66,110,.09)!important
}
body:has(.sarpras-pro-welcome) .sp-action-icon svg{width:24px!important;height:24px!important}
body:has(.sarpras-pro-welcome) .sp-action b{font-size:10.5px!important}
body:has(.sarpras-pro-welcome) .sp-action small{font-size:8.5px!important}

body:has(.sarpras-pro-welcome) .condition-chart{
  width:148px!important;height:148px!important;
  filter:drop-shadow(0 8px 15px rgba(25,105,210,.10))!important
}
body:has(.sarpras-pro-welcome) .condition-chart>div{width:96px!important;height:96px!important}
body:has(.sarpras-pro-welcome) .condition-chart strong{font-size:25px!important}

body:has(.sarpras-pro-welcome) .sp-table th{padding:11px 10px!important}
body:has(.sarpras-pro-welcome) .sp-table td{padding:12px 10px!important}
body:has(.sarpras-pro-welcome) .sp-see-all,.sp-filter{
  transition:.18s ease!important
}
body:has(.sarpras-pro-welcome) .sp-see-all:hover,.sp-filter:hover{
  transform:translateY(-1px)!important;box-shadow:0 5px 12px rgba(38,93,164,.08)!important
}

@media(max-width:1100px){
  body:has(.sarpras-pro-welcome) .sarpras-pro-welcome{min-height:145px!important}
  body:has(.sarpras-pro-welcome) .spw-copy h2{font-size:22px!important}
  body:has(.sarpras-pro-welcome) .spw-quote{font-size:11px!important;max-width:180px!important}
}
@media(max-width:720px){
  body:has(.sarpras-pro-welcome) .content{padding:15px!important}
  body:has(.sarpras-pro-welcome) .sarpras-pro-welcome{
    min-height:190px!important;padding:21px!important;border-radius:18px!important
  }
  body:has(.sarpras-pro-welcome) .sarpras-pro-welcome:before{
    width:100%!important;opacity:.34!important;
    background:
      linear-gradient(180deg,rgba(9,57,125,.94) 0%,rgba(9,57,125,.68) 48%,rgba(9,57,125,.26) 100%),
      url("school-bg.jpg") center/cover no-repeat!important;
  }
  body:has(.sarpras-pro-welcome) .spw-copy h2{font-size:21px!important}
  body:has(.sarpras-pro-welcome) .spw-copy p{font-size:10px!important}
  body:has(.sarpras-pro-welcome) .spw-quote{left:21px!important;right:auto!important;top:auto!important;bottom:20px!important;text-align:left!important;font-size:10px!important}
  body:has(.sarpras-pro-welcome) .spw-art{display:none!important}
  body:has(.sarpras-pro-welcome) .sp-kpi{min-height:125px!important}
  body:has(.sarpras-pro-welcome) .sp-kpi-body strong{font-size:28px!important}
  body:has(.sarpras-pro-welcome) .sp-quick-actions{grid-template-columns:repeat(2,1fr)!important}
  body:has(.sarpras-pro-welcome) .sp-action{min-height:110px!important}
  body:has(.sarpras-pro-welcome) .condition-main{grid-template-columns:1fr!important;justify-items:center!important}
  body:has(.sarpras-pro-welcome) .condition-list{width:100%!important}
}

/* === DAFTAR PERBAIKAN: horizontal swipe HP yang stabil === */
.maintenance-tablewrap{
  width:100%!important;max-width:100%!important;
  overflow-x:auto!important;overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain;
  touch-action:auto!important;
  display:block!important;position:relative;
  scrollbar-width:thin;
}
.maintenance-tablewrap .maintenance-table{
  width:900px!important;min-width:900px!important;
  max-width:none!important;table-layout:auto!important;
}
.maintenance-tablewrap th,.maintenance-tablewrap td{white-space:nowrap!important;}
.maintenance-tablewrap th:first-child,.maintenance-tablewrap td:first-child{min-width:230px!important;white-space:normal!important;}
.maintenance-tablewrap th:nth-child(2),.maintenance-tablewrap td:nth-child(2){min-width:180px!important;}
.maintenance-tablewrap th:nth-child(3),.maintenance-tablewrap td:nth-child(3){min-width:110px!important;}
.maintenance-tablewrap th:nth-child(4),.maintenance-tablewrap td:nth-child(4){min-width:140px!important;}
.maintenance-tablewrap th:nth-child(5),.maintenance-tablewrap td:nth-child(5){min-width:210px!important;}
@media(max-width:720px){
  .maintenance-tablewrap{
    overflow-x:auto!important;overflow-y:hidden!important;
    touch-action:auto!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:thin!important;
    overscroll-behavior-x:contain!important;
  }
  .maintenance-tablewrap .maintenance-table{width:900px!important;min-width:900px!important;}
  .maintenance-tablewrap::-webkit-scrollbar{height:7px!important;display:block!important;}
  .maintenance-tablewrap::-webkit-scrollbar-track{background:#eef3f8;border-radius:10px;}
  .maintenance-tablewrap::-webkit-scrollbar-thumb{background:#9fb4cc;border-radius:10px;}
}

/* ===== DAFTAR PERBAIKAN PRO ===== */
.repair-list-head{align-items:flex-start!important}
.repair-subtitle{margin:5px 0 0;color:#8a97aa;font-size:10px}
.repair-total{padding:7px 11px;border:1px solid #e0e8f2;background:#f6f9fd;color:#5e6d83;border-radius:999px;font-size:10px;font-weight:800;white-space:nowrap}
.maintenance-tablewrap .maintenance-table{min-width:980px!important;width:980px!important}
.maintenance-table .repair-title-cell{min-width:230px!important}.repair-title-cell b{display:block;color:#17243a}.repair-title-cell small{display:block;color:#8a97a8;margin-top:5px;line-height:1.45;white-space:normal;max-width:300px}
.repair-location{display:block;font-weight:700;color:#25334a}.repair-meta{display:block;color:#8a97a8;margin-top:4px;font-size:9px}
.repair-priority{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:9px;font-weight:800}.priority-rendah{background:#edf7ff;color:#3273b8}.priority-sedang{background:#fff4d9;color:#916600}.priority-tinggi{background:#ffe9e9;color:#bd3b3b}
.badge.repair-red{background:#ffe9e9;color:#b52e3b}
.repair-actions{display:flex;align-items:center;gap:7px;white-space:nowrap}.repair-action{border:0;border-radius:9px;min-height:36px;padding:0 11px;font:inherit;font-size:10px;font-weight:800;cursor:pointer}.repair-action.detail{background:#eaf2ff;color:#0b5ed7;border:1px solid #d8e6fb}.repair-action.delete{background:#fff0f0;color:#c73340;border:1px solid #ffd8dc}.repair-action:hover{transform:translateY(-1px)}
.repair-status-form{margin:0}.repair-status-form select{height:36px!important;width:170px!important;padding:0 10px!important;border:1px solid #dbe3ed!important;border-radius:9px!important;background:#fff!important;font:inherit!important;font-size:10px!important;font-weight:700!important;color:#43536b!important}
.repair-modal{display:none;position:fixed;inset:0;z-index:1000;align-items:center;justify-content:center;padding:18px}.repair-modal.show{display:flex}.repair-modal-backdrop{position:absolute;inset:0;background:rgba(5,25,58,.48);backdrop-filter:blur(3px)}.repair-modal-card{position:relative;width:min(620px,94vw);background:#fff;border:1px solid #e2e9f2;border-radius:20px;box-shadow:0 25px 70px rgba(4,31,70,.25);padding:24px;z-index:1}.repair-modal-close{position:absolute;right:16px;top:14px;width:34px;height:34px;border:0;border-radius:10px;background:#eef3f9;color:#617087;font-size:22px;cursor:pointer}.repair-modal-top{display:flex;gap:13px;align-items:center;padding-right:35px}.repair-modal-icon{width:46px;height:46px;border-radius:13px;background:#fff4d9;display:grid;place-items:center;font-size:22px}.repair-modal-label{font-size:9px;font-weight:800;letter-spacing:.1em;color:#8a97a8}.repair-modal-card h3{margin:4px 0 0;font-size:19px;color:#17243a}.repair-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:20px}.repair-detail-grid>div,.repair-description{border:1px solid #e7edf4;background:#f9fbfd;border-radius:12px;padding:11px}.repair-detail-grid span,.repair-description>span{display:block;font-size:9px;color:#8a97a8;text-transform:uppercase;font-weight:800;margin-bottom:5px}.repair-detail-grid b{font-size:11px;color:#27364d}.repair-description{margin-top:10px}.repair-description p{margin:0;color:#536178;font-size:11px;line-height:1.55;white-space:pre-wrap}
@media(max-width:720px){.repair-list-head{align-items:flex-start!important}.repair-total{font-size:9px}.repair-modal-card{padding:20px;border-radius:17px}.repair-detail-grid{grid-template-columns:1fr}.maintenance-tablewrap .maintenance-table{min-width:980px!important;width:980px!important}.repair-actions{gap:6px}.repair-action{min-height:38px}.repair-status-form select{height:38px!important}}

.repair-item-note{display:block;margin-top:8px;font-size:12px;color:#6b7a90;line-height:1.5}.repair-item-note::before{content:"ⓘ ";font-weight:700}

/* ===== PERBAIKAN FORM — ROOM FILTER PRO ===== */
.repair-form-panel{overflow:visible!important}
.repair-form-head{align-items:center!important}
.repair-form-icon{width:38px;height:38px;border:1px solid #e5ebf3;background:#f7f9fc;border-radius:12px;display:grid;place-items:center;font-size:18px;flex:0 0 auto}
.repair-formgrid{grid-template-columns:1fr 1fr!important;gap:16px!important}
.repair-formgrid .field label,.repair-description-field label{display:flex;align-items:center;gap:7px}
.required-dot{font-size:9px;color:#d94a4a;font-weight:800}
.optional-label{font-size:8px;letter-spacing:.06em;padding:3px 6px;border-radius:999px;background:#eef3f8;color:#7b899d;font-weight:800}
.repair-formgrid select,.repair-formgrid input,.repair-description-field textarea{width:100%;box-sizing:border-box}
.repair-formgrid select:disabled{background:#f4f7fa;color:#9aa6b5;cursor:not-allowed}
.repair-field-note{display:block;margin-top:7px;font-size:10px;line-height:1.45;color:#7d8b9f}
.repair-item-note{margin-top:7px!important;font-size:10px!important;line-height:1.45!important;color:#7d8b9f!important}
.repair-item-note::before{content:"ⓘ "!important;color:#6f8198}
.repair-description-field{margin-top:16px!important}
.repair-description-field textarea{min-height:105px;resize:vertical}
.repair-form-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:16px;padding-top:14px;border-top:1px solid #edf1f5}
.repair-helper{font-size:10px;color:#8491a3;line-height:1.45}
.repair-save-btn{white-space:nowrap;min-width:160px}
@media(max-width:720px){
  .repair-formgrid{grid-template-columns:1fr!important;gap:13px!important}
  .repair-description-field{margin-top:13px!important}
  .repair-form-footer{align-items:stretch;flex-direction:column}
  .repair-save-btn{width:100%}
}

/* === PENGADAAN RIWAYAT: HORIZONTAL SWIPE HP === */
.proc-table-wrap{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  -webkit-overflow-scrolling:touch!important;
  overscroll-behavior-x:contain!important;
  touch-action:pan-x!important;
  scrollbar-width:thin!important;
  position:relative!important;
}
.proc-table-wrap .proc-table{
  width:1050px!important;
  min-width:1050px!important;
  max-width:none!important;
}
@media(max-width:720px){
  .proc-table-wrap{
    display:block!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    touch-action:pan-x!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-width:thin!important;
  }
  .proc-table-wrap::-webkit-scrollbar{height:7px!important;display:block!important}
  .proc-table-wrap::-webkit-scrollbar-track{background:#eef3f8;border-radius:10px}
  .proc-table-wrap::-webkit-scrollbar-thumb{background:#9fb4cc;border-radius:10px}
  .proc-table-wrap .proc-table{width:1050px!important;min-width:1050px!important}
}

/* Responsive horizontal scrolling - Daftar Ruangan */
.room-list-tablewrap{
  width:100%;
  max-width:100%;
  overflow-x:auto !important;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior-x:contain;
  touch-action:pan-x;
  scrollbar-width:thin;
}
.room-list-tablewrap .room-list-table{
  min-width:920px;
  width:920px;
  max-width:none;
}
.room-list-tablewrap::-webkit-scrollbar{height:8px}
.room-list-tablewrap::-webkit-scrollbar-thumb{background:#b8c5d8;border-radius:20px}
.room-list-tablewrap::-webkit-scrollbar-track{background:#edf2f8;border-radius:20px}
@media(max-width:1100px){
  .room-list-tablewrap{margin-right:0}
  .room-list-tablewrap .room-list-table{min-width:900px;width:900px}
}
@media(max-width:720px){
  .room-list-tablewrap{border-radius:12px}
  .room-list-tablewrap .room-list-table{min-width:860px;width:860px}
  .room-list-tablewrap .room-list-table th,
  .room-list-tablewrap .room-list-table td{white-space:nowrap}
}

/* Ruangan: action buttons & responsive layout */
.room-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap;min-width:280px}
.inline-delete{display:inline-flex;margin:0}
.room-actions .btn{white-space:nowrap}
@media (max-width:900px){
  .room-list-table{min-width:980px}
  .room-list-tablewrap{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y}
  .room-actions{min-width:300px}
}
/* Sarpras welcome banner - polished image treatment */
.sarpras-image-welcome{width:100%;margin:0 0 18px;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px rgba(22,89,180,.14);background:#0b3d91;line-height:0}
.sarpras-image-welcome img{display:block;width:100%;height:auto;max-width:100%;object-fit:cover}
@media(max-width:720px){.sarpras-image-welcome{border-radius:16px;margin-bottom:14px}.sarpras-image-welcome img{width:100%;height:auto}}


/* ===== INVENTARIS PRO POLISH - 2026 ===== */
.inventory-premium-banner,
.inventory-group-tools,
.inventory-group-summary,
.inventory-group-list,
.inventory-group-foot{max-width:100%;box-sizing:border-box}

.inventory-premium-banner{
  min-height:112px;
  padding:18px 22px;
  border-radius:20px;
  background:linear-gradient(110deg,#fff 0%,#f8fbff 52%,#eef6ff 100%);
}
.inventory-banner-left h3{font-size:21px;line-height:1.2}
.inventory-banner-left p{font-size:10px;line-height:1.45}
.inventory-banner-icon{width:64px;height:64px;border-radius:18px}
.inventory-banner-count{min-width:86px}
.inventory-banner-count strong{font-size:28px}

.inventory-group-tools{
  display:grid;
  grid-template-columns:minmax(0,1fr) 250px 205px;
  align-items:center;
  gap:11px;
  margin:15px 0 13px;
}
.inventory-group-search{max-width:none;width:100%;min-width:0}
.inventory-group-search .search{
  box-sizing:border-box;width:100%;height:50px;border-radius:14px;
}
.inventory-group-filter{
  box-sizing:border-box;width:100%;min-width:0;height:50px;padding:0 14px;border-radius:14px;
}
.inventory-add-btn{
  box-sizing:border-box;width:100%;min-width:0!important;height:50px!important;border-radius:14px!important;
  justify-content:center;
}

.inventory-group-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:15px}
.group-stat{min-width:0;min-height:88px;padding:13px 15px;border-radius:16px}
.group-stat strong{font-size:25px}
.group-stat span{font-size:10px}
.group-stat .stat-icon{width:50px;height:50px;border-radius:14px;flex:none}

.inventory-room-card{
  min-width:0;
  box-sizing:border-box;
  grid-template-columns:minmax(250px,1.55fr) repeat(3,minmax(105px,.75fr)) minmax(190px,1fr);
  gap:11px;
  padding:16px 18px;
  border-radius:18px;
}
.room-identity,.room-stat,.room-action{min-width:0}
.room-name-wrap h3{font-size:16px}
.room-location{font-size:10px}
.room-picture{width:76px;height:68px;border-radius:15px}
.room-picture .inv-icon{width:58px;height:52px}
.room-stat{min-height:68px;padding:10px}
.room-stat strong{font-size:21px}
.room-stat span{font-size:9px;white-space:normal}
.room-action .btn{min-width:0;width:100%;height:46px;padding:0 14px}

@media (max-width:1199px) and (min-width:721px){
  .inventory-premium-banner{min-height:98px;padding:15px 18px}
  .inventory-banner-count{display:none}
  .inventory-group-tools{
    grid-template-columns:minmax(0,1fr) 220px;
    gap:10px;
  }
  .inventory-add-btn{grid-column:2;grid-row:2}
  .inventory-group-search{grid-column:1;grid-row:1}
  .inventory-group-filter{grid-column:2;grid-row:1}
  .inventory-group-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .group-stat{padding:11px 12px}
  .group-stat .stat-icon{width:44px;height:44px}
  .group-stat strong{font-size:23px}
  .inventory-room-card{
    grid-template-columns:minmax(220px,1.5fr) repeat(3,minmax(100px,.8fr));
  }
  .room-action{
    grid-column:1/-1;
    border-left:0;
    border-top:1px solid #edf1f5;
    padding:11px 0 0;
    justify-content:flex-end;
  }
  .room-action .btn{width:auto;min-width:190px}
}
@media (max-width:720px){
  .inventory-premium-banner{min-height:86px;padding:13px 14px;border-radius:16px}
  .inventory-banner-left{gap:10px}
  .inventory-banner-icon{width:46px;height:46px;border-radius:13px}
  .inventory-banner-icon .inv-icon{width:27px;height:27px}
  .inventory-banner-left h3{font-size:14px}
  .inventory-banner-left p{font-size:8px;margin-top:4px}
  .inventory-group-tools{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:9px;
    margin:12px 0;
  }
  .inventory-group-search,.inventory-group-filter,.inventory-add-btn{
    grid-column:1!important;grid-row:auto!important;width:100%;
  }
  .inventory-group-filter,.inventory-add-btn{height:48px!important}
  .inventory-group-summary{grid-template-columns:1fr 1fr;gap:9px}
  .inventory-group-summary .group-stat:last-child{grid-column:1/-1}
  .group-stat{min-height:74px;padding:10px 12px}
  .group-stat .stat-icon{width:40px;height:40px;border-radius:12px}
  .group-stat strong{font-size:21px}
  .group-stat span{font-size:8px}
  .inventory-room-card{
    grid-template-columns:1fr 1fr;
    gap:9px;
    padding:13px;
  }
  .room-identity{grid-column:1/-1}
  .room-picture{width:68px;height:60px}
  .room-picture .inv-icon{width:52px;height:46px}
  .room-name-wrap h3{font-size:14px}
  .room-stat{min-height:64px}
  .room-stat strong{font-size:19px}
  .room-action{grid-column:1/-1}
  .room-action .btn{width:100%;min-width:0}
}

/* ===== PEMINJAMAN PRO POLISH ===== */
.loan-history-panel{border-radius:20px!important;padding:20px!important;box-shadow:0 10px 28px rgba(25,62,104,.055)!important}
.loan-history-head{padding:0 0 16px!important;align-items:center!important}
.loan-history-title{gap:12px!important}
.loan-history-icon{width:50px!important;height:50px!important;flex-basis:50px!important;border-radius:15px!important}
.loan-history-title h3{font-size:18px!important}
.loan-history-title small{font-size:11px!important}
.loan-history-tools{gap:10px!important}
.loan-total-badge{height:36px!important;background:#f4f8fd!important}
.loan-search-form .search{height:40px!important;border-color:#d9e3ef!important;background:#fff!important}
.loan-tablewrap{border:1px solid #e0e8f2!important;border-radius:15px!important;overflow-x:auto!important;overflow-y:hidden!important;background:#fff!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.loan-tablewrap #loans{min-width:930px!important;width:100%!important;border-collapse:separate!important;border-spacing:0!important}
.loan-tablewrap #loans th{height:42px!important;padding:0 13px!important;background:#f6f9fc!important;color:#687d97!important;font-size:9px!important;letter-spacing:.06em!important;white-space:nowrap!important;border-bottom:1px solid #e1e8f0!important}
.loan-tablewrap #loans td{padding:13px!important;height:52px!important;border-bottom:1px solid #edf1f5!important;vertical-align:middle!important;white-space:nowrap!important;font-size:11px!important;color:#29415f!important}
.loan-tablewrap #loans tbody tr:last-child td{border-bottom:0!important}
.loan-tablewrap #loans tbody tr:hover td{background:#fbfdff!important}
.loan-tablewrap #loans td:nth-child(2) b{color:#1467d7!important}
.loan-tablewrap #loans td:last-child .actions{display:flex!important;align-items:center!important;gap:6px!important;white-space:nowrap!important}
.loan-tablewrap #loans .btn.sm{min-height:34px!important;padding:0 11px!important;border-radius:9px!important;font-size:10px!important}
.loan-empty-row td{padding:0!important;background:#fff!important}
.loan-empty-state{min-height:210px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:25px 15px;box-sizing:border-box;text-align:center;color:#7c8fa6}
.loan-empty-icon{width:54px;height:54px;border-radius:17px;background:#edf5ff;color:#2471d8;display:flex;align-items:center;justify-content:center;margin-bottom:5px;box-shadow:inset 0 0 0 1px #dbe9fa}
.loan-empty-icon svg{width:28px;height:28px}
.loan-empty-state b{font-size:13px;color:#29415f}
.loan-empty-state span{font-size:10px;color:#8a9aae}
.loan-empty-state .btn{margin-top:8px;height:36px!important;padding:0 13px!important;border-radius:9px!important;font-size:10px!important}
@media(max-width:720px){
 .loan-history-panel{padding:15px!important;border-radius:17px!important}
 .loan-history-head{align-items:flex-start!important}
 .loan-history-title h3{font-size:16px!important}
 .loan-history-title small{font-size:9px!important}
 .loan-history-icon{width:44px!important;height:44px!important;flex-basis:44px!important;border-radius:13px!important}
 .loan-history-icon svg{width:24px!important;height:24px!important}
 .loan-total-badge{height:34px!important;font-size:10px!important}
 .loan-tablewrap{border-radius:13px!important;max-width:100%!important}
 .loan-tablewrap #loans{min-width:930px!important}
 .loan-tablewrap #loans th{height:38px!important;padding:0 11px!important;font-size:8px!important}
 .loan-tablewrap #loans td{padding:11px!important;font-size:10px!important}
 .loan-empty-state{min-height:185px;padding:20px 12px}
 .loan-empty-icon{width:48px;height:48px;border-radius:15px}
 .loan-empty-state b{font-size:12px}
 .loan-empty-state span{font-size:9px}
}


/* ===== RIWAYAT TRANSAKSI - EMPTY STATE CENTER FIX ===== */
/* Saat belum ada data, tabel mengikuti lebar card agar empty state benar-benar
   berada di tengah dan tidak membuat horizontal scrollbar. Tabel berisi data
   tetap memakai layout/min-width yang sudah ada. */
.loan-tablewrap #loans.loan-table-empty{
  width:100%!important;
  min-width:100%!important;
  max-width:100%!important;
  table-layout:fixed!important;
}
.loan-tablewrap #loans.loan-table-empty .loan-empty-row td{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}
.loan-tablewrap #loans.loan-table-empty .loan-empty-state{
  width:100%!important;
  margin:0 auto!important;
  transform:none!important;
}
@media(max-width:720px){
  .loan-tablewrap #loans.loan-table-empty{
    min-width:100%!important;
    width:100%!important;
  }
}

/* ===== RIWAYAT TRANSAKSI - EMPTY STATE POLISH ===== */
.loan-tablewrap .loan-empty-row > td{padding:0!important;height:auto!important;white-space:normal!important;vertical-align:middle!important}
.loan-tablewrap .loan-empty-state{
  width:100%!important;min-height:260px!important;
  display:flex!important;flex-direction:column!important;
  align-items:center!important;justify-content:center!important;
  gap:0!important;padding:32px 20px 34px!important;
  box-sizing:border-box!important;text-align:center!important;
}
.loan-tablewrap .loan-empty-state .loan-empty-icon{
  width:64px!important;height:64px!important;min-width:64px!important;
  min-height:64px!important;max-width:64px!important;max-height:64px!important;
  flex:0 0 64px!important;border-radius:18px!important;
  margin:0 0 14px!important;display:flex!important;
  align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;
}
.loan-tablewrap .loan-empty-state .loan-empty-icon svg{
  width:32px!important;height:32px!important;min-width:32px!important;
  min-height:32px!important;max-width:32px!important;max-height:32px!important;
  flex:0 0 32px!important;display:block!important;
}
.loan-tablewrap .loan-empty-state b{
  display:block!important;margin:0!important;
  font-size:15px!important;line-height:1.45!important;
  font-weight:700!important;color:#29415f!important;
}
.loan-tablewrap .loan-empty-state > span{
  display:block!important;margin:6px 0 0!important;
  font-size:11px!important;line-height:1.5!important;
  color:#8a9aae!important;
}
.loan-tablewrap .loan-empty-state .btn{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  margin:18px 0 0!important;height:38px!important;min-height:38px!important;
  padding:0 16px!important;border-radius:10px!important;
  font-size:11px!important;font-weight:700!important;
  line-height:1!important;white-space:nowrap!important;
}
@media(max-width:720px){
 .loan-tablewrap .loan-empty-state{min-height:235px!important;padding:28px 16px 30px!important}
 .loan-tablewrap .loan-empty-state .loan-empty-icon{width:58px!important;height:58px!important;min-width:58px!important;min-height:58px!important;max-width:58px!important;max-height:58px!important;flex-basis:58px!important;border-radius:16px!important;margin-bottom:12px!important}
 .loan-tablewrap .loan-empty-state .loan-empty-icon svg{width:29px!important;height:29px!important;min-width:29px!important;min-height:29px!important;max-width:29px!important;max-height:29px!important;flex-basis:29px!important}
 .loan-tablewrap .loan-empty-state b{font-size:13px!important}
 .loan-tablewrap .loan-empty-state > span{font-size:10px!important;max-width:280px!important}
 .loan-tablewrap .loan-empty-state .btn{margin-top:15px!important;height:36px!important;min-height:36px!important;padding:0 14px!important;font-size:10px!important}
}

/* ===== RAPikan EMPTY STATE PENGEMBALIAN ===== */
.return-tablewrap.return-table-empty{overflow-x:hidden!important;overflow-y:hidden!important}
.return-tablewrap.return-table-empty .return-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
.return-tablewrap.return-table-empty .return-table th{white-space:nowrap!important}
.return-tablewrap.return-table-empty .return-empty-row td{padding:0!important;height:245px!important;background:#fff!important;vertical-align:middle!important}
.return-empty-state{min-height:245px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:24px 16px;box-sizing:border-box}
.return-empty-icon{width:58px;height:58px;border-radius:16px;background:#edf5ff;color:#2471d8;display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #dbe9fa;margin-bottom:2px}
.return-empty-icon svg{width:29px;height:29px;display:block}
.return-empty-state strong{font-size:14px;line-height:1.35;color:#29415f;font-weight:700}
.return-empty-state span{font-size:11px;line-height:1.5;color:#8a9aae}
@media(max-width:700px){
 .return-tablewrap.return-table-empty .return-table th{font-size:9px!important}
 .return-tablewrap.return-table-empty .return-empty-row td,.return-empty-state{height:220px!important;min-height:220px}
 .return-empty-icon{width:50px;height:50px;border-radius:15px}
 .return-empty-icon svg{width:26px;height:26px}
 .return-empty-state strong{font-size:12px}
 .return-empty-state span{font-size:10px}
}

/* ===== POLISH HALAMAN PERBAIKAN ===== */
.repair-form-panel{border-radius:18px!important}
.repair-form-head{margin-bottom:16px!important}
.repair-form-icon{width:40px!important;height:40px!important;font-size:18px!important}
.repair-formgrid{gap:15px 16px!important}
.repair-description-field{margin-top:15px!important}
.repair-description-field textarea{min-height:108px!important;padding:12px 13px!important;line-height:1.5!important}
.repair-form-footer{margin-top:14px!important;padding-top:13px!important}
.repair-save-btn{min-width:168px!important;min-height:40px!important;padding:0 18px!important;border-radius:10px!important}
.repair-helper{display:flex;align-items:center;gap:5px!important}
@media(max-width:720px){
  .repair-form-head{margin-bottom:13px!important}
  .repair-description-field{margin-top:12px!important}
  .repair-form-footer{margin-top:12px!important;padding-top:12px!important}
  .repair-save-btn{min-height:42px!important}
}


/* ===== FIX RIWAYAT PENGADAAN EMPTY STATE =====
   Empty state dipusatkan saat tidak ada data.
   Scroll horizontal disembunyikan hanya untuk kondisi kosong.
   Tabel tetap dapat scroll saat memiliki data. */
.pengadaan-history .table-wrap.is-empty,
.pengadaan-history .pengadaan-table-wrap.is-empty{
  overflow-x:hidden !important;
}
.pengadaan-history .empty-state,
.pengadaan-history .pengadaan-empty-state,
.pengadaan-history .empty-state td{
  text-align:center !important;
}
.pengadaan-history .empty-state td{
  padding:52px 24px !important;
  vertical-align:middle !important;
}
.pengadaan-history .empty-state-content,
.pengadaan-history .pengadaan-empty-state{
  width:100% !important;
  max-width:620px !important;
  margin:0 auto !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;
}
.pengadaan-history .empty-state-icon,
.pengadaan-history .pengadaan-empty-icon{
  width:56px !important;
  height:56px !important;
  min-width:56px !important;
  min-height:56px !important;
  max-width:56px !important;
  max-height:56px !important;
  margin:0 auto 12px !important;
}
.pengadaan-history .empty-state-icon svg,
.pengadaan-history .pengadaan-empty-icon svg{
  width:28px !important;
  height:28px !important;
  max-width:28px !important;
  max-height:28px !important;
}
.pengadaan-history .empty-state-title,
.pengadaan-history .pengadaan-empty-title{
  margin:0 0 6px !important;
  text-align:center !important;
}
.pengadaan-history .empty-state-desc,
.pengadaan-history .pengadaan-empty-desc{
  margin:0 !important;
  text-align:center !important;
  max-width:520px !important;
}
@media(max-width:720px){
  .pengadaan-history .empty-state td{
    padding:40px 16px !important;
  }
  .pengadaan-history .empty-state-content,
  .pengadaan-history .pengadaan-empty-state{
    max-width:100% !important;
  }
}

/* QR icon polish - scoped to QR controls */
.qr-action-btn,.scan-quick-btn{align-items:center;gap:7px;}
.qr-action-icon{width:17px;height:17px;display:block;color:#0b5ed7;flex:0 0 17px;}
.qr-action-btn:hover .qr-action-icon{transform:scale(1.08);}
.scan-quick-icon{width:19px;height:19px;display:block;color:#ef4050;flex:0 0 19px;}
.scan-quick-btn:hover .scan-quick-icon{transform:translateY(-1px) scale(1.05);}
.sidebar nav a .navicon-scan svg{transform-origin:center;}
