:root{--navy:#172554;--blue:#3157d5;--blue-light:#edf2ff;--ink:#1e293b;--muted:#64748b;--line:#e7ebf2;--bg:#f6f8fc;--green:#0f9f6e;--orange:#e58a19;--red:#dc4c64}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:14px}
.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:258px;background:#fff;border-right:1px solid var(--line);padding:24px 16px 14px;display:flex;flex-direction:column;z-index:1030}
.brand{display:flex;align-items:center;gap:12px;padding:0 10px 28px;color:var(--ink);text-decoration:none}.brand-mark{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,#3157d5,#6787ff);color:#fff;display:grid;place-items:center;font-size:21px;box-shadow:0 7px 18px #3157d52b}.brand strong{display:block;font-size:17px;letter-spacing:.8px}.brand small{display:block;color:var(--muted);font-size:11px;margin-top:1px}
.sidebar-label{font-size:10px;letter-spacing:1.2px;color:#94a3b8;font-weight:800;padding:0 12px 10px}.app-nav{gap:4px}.app-nav .nav-link{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:10px;color:#64748b;font-weight:600;transition:.18s}.app-nav .nav-link i{font-size:17px;width:21px;text-align:center}.app-nav .nav-link:hover{background:#f5f7fc;color:var(--blue)}.app-nav .nav-link.active{background:var(--blue-light);color:var(--blue)}
.sidebar-bottom{margin-top:auto}.help-card{display:flex;gap:10px;background:#f5f7ff;border:1px solid #e5eaff;padding:13px;border-radius:12px;margin:18px 2px}.help-card>i{font-size:19px;color:var(--blue)}.help-card strong{display:block;font-size:12px}.help-card small{display:block;color:var(--muted);font-size:11px;line-height:1.45;margin-top:3px}.sidebar-user{display:flex;align-items:center;gap:10px;padding:14px 4px 2px;border-top:1px solid var(--line)}.avatar,.topbar-avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#dfe7ff;color:var(--blue);font-weight:800}.user-meta{min-width:0;flex:1}.user-meta strong{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-meta small{font-size:11px;color:var(--muted)}.logout-icon{color:#94a3b8;font-size:17px}
.main-content{margin-left:258px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:91px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;position:sticky;top:0;z-index:100}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#94a3b8;font-weight:800}.topbar h1{font-size:23px;margin:3px 0 0;font-weight:750;letter-spacing:-.5px}.topbar-right{display:flex;align-items:center;gap:16px}.date-pill{padding:9px 12px;background:#f8fafc;border:1px solid var(--line);border-radius:9px;color:#64748b;font-size:12px}.date-pill i{margin-right:6px}.topbar-avatar{width:37px;height:37px}.page-body{padding:29px 34px;flex:1}.app-footer{display:flex;justify-content:space-between;padding:17px 34px;border-top:1px solid var(--line);font-size:11px;color:#94a3b8;background:#fff}
.welcome-banner{position:relative;overflow:hidden;background:linear-gradient(110deg,#243e9b 0%,#3157d5 57%,#6482f5 100%);border-radius:18px;padding:27px 30px;color:#fff;display:flex;justify-content:space-between;align-items:center;min-height:160px;margin-bottom:24px;box-shadow:0 12px 28px #3157d51c}.welcome-banner:after{content:"";position:absolute;width:250px;height:250px;border:1px solid #ffffff26;border-radius:50%;right:70px;top:-130px;box-shadow:0 0 0 35px #ffffff0b,0 0 0 70px #ffffff08}.welcome-copy{position:relative;z-index:1;max-width:650px}.welcome-copy .tag{display:inline-flex;align-items:center;gap:6px;background:#ffffff20;border:1px solid #ffffff30;padding:5px 9px;border-radius:20px;font-size:10px;letter-spacing:.5px;margin-bottom:12px}.welcome-copy h2{font-size:23px;font-weight:750;letter-spacing:-.4px;margin:0 0 7px}.welcome-copy p{color:#e0e7ff;margin:0;line-height:1.6;font-size:13px}.banner-icon{position:relative;z-index:1;font-size:76px;color:#ffffffd9;margin-right:22px;filter:drop-shadow(0 8px 14px #17255435)}
.section-heading{display:flex;align-items:center;justify-content:space-between;margin:26px 0 14px}.section-heading h2{font-size:16px;font-weight:750;margin:0}.section-heading p{font-size:12px;color:var(--muted);margin:4px 0 0}.stat-card{height:100%;background:#fff;border:1px solid var(--line);border-radius:15px;padding:19px;box-shadow:0 2px 7px #0f172a04}.stat-top{display:flex;align-items:center;justify-content:space-between}.stat-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;font-size:20px}.stat-icon.blue{background:#edf2ff;color:#3157d5}.stat-icon.green{background:#e7f8f1;color:#0f9f6e}.stat-icon.orange{background:#fff3df;color:#c7790d}.stat-icon.purple{background:#f2eaff;color:#8054cf}.stat-label{font-size:12px;color:var(--muted);font-weight:600;margin-top:15px}.stat-value{font-size:29px;font-weight:800;letter-spacing:-1px;margin-top:2px;line-height:1.3}.stat-note{font-size:11px;color:#94a3b8;margin-top:5px}.stat-note .positive{color:var(--green);font-weight:700}
.panel{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;height:100%}.panel-title{font-weight:750;font-size:14px;margin:0}.panel-subtitle{color:var(--muted);font-size:11px;margin-top:4px}.table{--bs-table-bg:transparent;margin:14px 0 0}.table thead th{background:#f8fafc;color:#94a3b8;text-transform:uppercase;font-size:10px;letter-spacing:.6px;font-weight:800;border-bottom:1px solid var(--line);padding:12px 10px;white-space:nowrap}.table tbody td{padding:13px 10px;border-color:#f0f2f7;vertical-align:middle;font-size:12px}.item-name{font-weight:700;color:#334155}.item-code{font-size:10px;color:#94a3b8;margin-top:3px}.status-badge{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:20px;font-size:10px;font-weight:750;white-space:nowrap}.status-green{background:#e7f8f1;color:#0b8a5f}.status-orange{background:#fff3df;color:#ad6a09}.status-red{background:#ffedf0;color:#c13e54}.status-blue{background:#edf2ff;color:#3157d5}.status-gray{background:#f1f5f9;color:#64748b}.btn-primary{background:var(--blue);border-color:var(--blue)}.btn-primary:hover{background:#2446bc;border-color:#2446bc}.btn-soft{background:#edf2ff;color:var(--blue);border:1px solid #e0e8ff;font-weight:700}.btn-soft:hover{background:#e0e8ff;color:#2446bc}.quick-link{display:flex;align-items:center;gap:12px;padding:13px 0;text-decoration:none;color:var(--ink);border-bottom:1px solid #f0f2f7}.quick-link:last-child{border-bottom:0;padding-bottom:0}.quick-icon{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;background:#edf2ff;color:var(--blue);font-size:17px}.quick-link strong{display:block;font-size:12px}.quick-link small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.quick-arrow{margin-left:auto;color:#94a3b8}.page-intro{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.page-intro h2{font-size:17px;font-weight:750;margin:0}.page-intro p{font-size:12px;color:var(--muted);margin:5px 0 0}.search-input{max-width:300px}.empty-state{text-align:center;padding:36px 15px;color:var(--muted)}.empty-state i{font-size:35px;color:#cbd5e1}.empty-state h3{font-size:14px;color:#475569;margin:12px 0 5px}.empty-state p{font-size:12px;margin:0}.module-icon{width:52px;height:52px;display:grid;place-items:center;background:#edf2ff;color:var(--blue);font-size:24px;border-radius:15px;margin-bottom:16px}.module-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:24px;height:100%}.module-card h3{font-size:15px;font-weight:750}.module-card p{color:var(--muted);font-size:12px;line-height:1.6}.form-label{font-size:12px;font-weight:700}.form-control,.form-select{font-size:13px;border-color:#dfe5ef;padding:10px 12px}.login-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:#fff}.login-visual{background:linear-gradient(145deg,#172554,#3157d5 65%,#6d8aff);color:#fff;display:flex;flex-direction:column;justify-content:center;padding:9%;position:relative;overflow:hidden}.login-visual:after{content:"";position:absolute;width:420px;height:420px;border:1px solid #ffffff30;border-radius:50%;right:-120px;bottom:-140px;box-shadow:0 0 0 55px #ffffff0c,0 0 0 110px #ffffff08}.login-visual h1{font-size:38px;font-weight:800;line-height:1.15;max-width:470px;letter-spacing:-1px}.login-visual p{color:#dbe5ff;line-height:1.8;max-width:440px}.login-visual .big-icon{font-size:75px;margin-bottom:24px}.login-form-side{display:flex;align-items:center;justify-content:center;padding:35px}.login-form{width:100%;max-width:390px}.login-form h2{font-size:25px;font-weight:800;letter-spacing:-.6px}.login-form .muted{color:var(--muted);font-size:13px}.login-brand{font-size:12px;color:var(--blue);font-weight:800;letter-spacing:1px;margin-bottom:32px}.login-form .form-control{padding:12px}.alert{font-size:12px}
@media(max-width:991px){.sidebar{transform:translateX(-100%);transition:transform .2s;box-shadow:0 0 0 transparent}.sidebar.show{transform:translateX(0);box-shadow:20px 0 40px #0f172a1a}.main-content{margin-left:0}.topbar{padding:0 20px}.page-body{padding:22px 20px}.app-footer{padding:15px 20px}.banner-icon{font-size:55px;margin-right:0}}
@media(max-width:575px){.topbar{height:78px;padding:0 14px}.topbar h1{font-size:19px}.topbar-right{gap:8px}.date-pill{display:none}.page-body{padding:16px 13px}.welcome-banner{padding:22px 20px;min-height:0}.welcome-copy h2{font-size:19px}.welcome-copy p{font-size:12px}.banner-icon{display:none}.stat-card{padding:15px}.stat-value{font-size:25px}.panel{padding:15px}.app-footer{gap:8px;flex-wrap:wrap}.login-page{grid-template-columns:1fr}.login-visual{display:none}.login-form-side{min-height:100vh;padding:25px}}

/* Identitas resmi SMK Pawiyatan Surabaya */
.school-logo-sidebar{width:45px;height:54px;object-fit:contain;flex-shrink:0}
.brand{display:flex;align-items:center;gap:11px}
.brand strong{font-size:13px;line-height:1.2}
.brand small{display:block;font-size:10px;letter-spacing:.5px}
.topbar-school-brand{display:flex;align-items:center;gap:13px;min-width:0}
.topbar-school-brand img{width:49px;height:59px;object-fit:contain}
.topbar-school-brand strong{display:block;color:#173b6c;font-size:19px;line-height:1.25;font-weight:800}
.topbar-school-brand small{display:block;color:#315b88;font-size:12px}
.topbar-page-title{display:block;color:#64748b;font-size:11px;margin-top:3px}
.welcome-banner{background:linear-gradient(110deg,#eaf4ff 0%,#f7fbff 70%,#e4f3ff 100%);color:#173b6c;box-shadow:none;border:1px solid #d7e8fa;gap:22px}
.welcome-banner:after{border-color:#8db9e326}
.welcome-copy .tag{background:#dbeafe;color:#1d4f91;border-color:#c4ddfb}
.welcome-copy h2{color:#173b6c;font-size:25px}
.welcome-copy p{color:#315b88}
.welcome-copy .school-address{font-size:14px;font-weight:600;margin-bottom:8px}
.welcome-school-logo{width:105px;height:130px;object-fit:contain;position:relative;z-index:1;flex-shrink:0}
.banner-icon{color:#8dbce8}
.app-footer{align-items:center;gap:18px}
.footer-school{display:flex;align-items:center;gap:10px}
.footer-school img{width:38px;height:46px;object-fit:contain}
.footer-school strong,.footer-school small{display:block}
.footer-school strong{font-size:11px;color:#214a7b}
.footer-school small{font-size:10px;color:#64748b}
.footer-credit{text-align:right;font-size:10px;line-height:1.6;color:#315b88}
.login-school-logo{width:100px;height:120px;object-fit:contain;margin-bottom:20px}
@media(max-width:575px){.topbar-school-brand img{width:36px;height:44px}.topbar-school-brand strong{font-size:13px}.topbar-school-brand small{font-size:10px}.topbar-page-title{font-size:10px}.welcome-school-logo{width:65px;height:85px}.welcome-banner{gap:12px}.welcome-copy h2{font-size:17px}.footer-credit{text-align:left;width:100%}}
@media print{.app-footer{display:none!important}}

/* Fix identitas sekolah: ukuran logo dikunci agar tidak membesar akibat CSS lama/cache. */
img.school-logo-sidebar{display:block!important;width:42px!important;height:50px!important;max-width:42px!important;max-height:50px!important;object-fit:contain!important;flex:0 0 42px!important}
img.welcome-school-logo{display:block!important;width:88px!important;height:118px!important;max-width:88px!important;max-height:118px!important;object-fit:contain!important;flex:0 0 88px!important}
.footer-school img{display:block!important;width:32px!important;height:42px!important;max-width:32px!important;max-height:42px!important;object-fit:contain!important;flex:0 0 32px!important}
img.login-school-logo{display:block!important;width:86px!important;height:112px!important;max-width:86px!important;max-height:112px!important;object-fit:contain!important}
.topbar-school-brand{display:flex;align-items:center;min-width:0;flex:1}
.topbar-school-brand strong{font-size:17px!important}
.topbar-school-brand small{font-size:11px!important}
@media(max-width:575px){img.welcome-school-logo{width:58px!important;height:78px!important;max-width:58px!important;max-height:78px!important;flex-basis:58px!important}.topbar-school-brand strong{font-size:14px!important}.topbar-school-brand small{font-size:10px!important}}

/* Identitas akun aktif pada topbar */
.topbar-user-label{display:flex;flex-direction:column;line-height:1.25;min-width:100px}.topbar-user-label strong{font-size:.84rem;color:#172033}.topbar-user-label small{font-size:.7rem;color:#687386}.topbar-logout{display:inline-flex;align-items:center;gap:.35rem;white-space:nowrap}.sidebar-user .logout-icon{display:inline-flex}
@media(max-width:767.98px){.topbar-user-label{display:none}.topbar-right{gap:.45rem}.topbar-logout span{display:none}}

/* Halaman awal SIPRAS: gaya split-screen mengikuti referensi login yang diberikan. */
.sipras-auth-body{min-height:100vh;background:linear-gradient(90deg,#fff 0%,#fff 51.3%,#2da9e8 51.3%,#249fe0 100%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.sipras-auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:34px}
.sipras-auth-card{width:min(1120px,100%);min-height:560px;display:grid;grid-template-columns:1fr 1fr;background:#fff;box-shadow:0 22px 70px #0c5b8a20}
.sipras-auth-art{position:relative;min-height:560px;background:#f2faff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.sipras-art-image{position:absolute;inset:0;background-image:url('../images/login-illustration.png');background-position:center;background-repeat:no-repeat;background-size:cover;opacity:.94}
.sipras-auth-art:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 65%,#eaf7ffb8)}
.sipras-art-caption{position:absolute;z-index:1;left:30px;bottom:25px;display:flex;align-items:center;gap:10px;color:#24527b}
.sipras-mini-mark{width:38px;height:38px;border-radius:12px;background:#fff;display:grid;place-items:center;color:#269fdd;font-size:19px;box-shadow:0 5px 18px #2d8ec51c}
.sipras-art-caption strong,.sipras-art-caption small{display:block}.sipras-art-caption strong{font-size:13px;letter-spacing:1.5px}.sipras-art-caption small{font-size:10px;color:#567a98}
.sipras-auth-form-side{display:flex;align-items:center;justify-content:center;padding:50px 58px;background:#fff}
.sipras-auth-form{width:100%;max-width:390px}
.sipras-auth-eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#269fdd}
.sipras-auth-heading h1{font-size:25px;font-weight:800;color:#172b3d;letter-spacing:-.6px;margin:12px 0 8px}
.sipras-auth-heading p{font-size:12px;line-height:1.65;color:#718096;margin:0 0 28px}
.sipras-auth-form .form-label{font-size:11px;font-weight:700;color:#243447;margin-bottom:7px}
.sipras-auth-form .form-control{height:46px;border:1px solid #d8e0e8;border-radius:9px;padding:0 14px;font-size:12px;box-shadow:none}
.sipras-auth-form .form-control:focus{border-color:#2ba8e8;box-shadow:0 0 0 3px #2ba8e81c}
.sipras-password-wrap{position:relative}.sipras-password-wrap .form-control{padding-right:46px}
.sipras-password-toggle{position:absolute;right:4px;top:4px;width:38px;height:38px;border:0;background:transparent;color:#718096;border-radius:7px}
.sipras-auth-help{font-size:10px;color:#8292a2}.sipras-auth-help i{color:#2da9e8}
.sipras-login-button{height:46px;border-radius:9px;background:#2da9e8;color:#fff;font-size:12px;font-weight:700;box-shadow:0 6px 14px #2da9e82c}.sipras-login-button:hover{background:#168fce;color:#fff}
.sipras-auth-register{text-align:center;margin-top:23px;font-size:11px;color:#5e6d7b;line-height:1.7}.sipras-auth-register a{font-weight:800;color:#168fce;text-decoration:none}.sipras-auth-register a:hover{text-decoration:underline}
.sipras-auth-footer{text-align:center;margin-top:30px;font-size:10px;color:#a0acb8}
@media(max-width:767px){.sipras-auth-body{background:#f3f9fd}.sipras-auth-page{padding:18px}.sipras-auth-card{grid-template-columns:1fr;min-height:0;max-width:470px;border-radius:16px;overflow:hidden}.sipras-auth-art{min-height:175px;height:175px}.sipras-art-image{background-size:cover;background-position:center 43%}.sipras-art-caption{left:18px;bottom:12px}.sipras-auth-form-side{padding:30px 25px 28px}.sipras-auth-heading h1{font-size:23px}.sipras-auth-footer{margin-top:22px}}
@media(max-width:380px){.sipras-auth-page{padding:10px}.sipras-auth-form-side{padding:25px 18px}}
