/* SIPRAJA — stylesheet utama. Pertahankan komentar bagian untuk memudahkan pengembangan. */

*{box-sizing:border-box}
:root{--nav:#132f49;--nav2:#0f263b;--primary:#1769e0;--bg:#f4f7fb;--border:#dce5ef;--text:#203348;--muted:#6b7d90;--ok:#178a47;--danger:#b42318;--login-blue:#0d55c7;--login-blue-dark:#07357f;}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--bg);color:var(--text)}
button,input,select,textarea{font:inherit}
.hide{display:none!important}
.btn{border:0;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer}
.btn-primary{background:var(--primary);color:#fff}
.btn-soft{background:#eaf2ff;color:#185db7}
.btn-green{background:#159447;color:#fff}
.btn-danger{background:#fee4e2;color:#9b1c16}
.btn-gray{background:#e9eef4;color:#33485d}
.login{
  min-height:100vh;
  min-height:100dvh;
  position:relative;
  overflow-x:hidden;
  overflow-y:auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:max(20px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(110px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left));
  background:radial-gradient(circle at 10% 25%,rgba(43,123,232,.10) 0 3px,transparent 4px) 0 0/28px 28px,linear-gradient(155deg,#f7fbff 0%,#edf5fd 47%,#dceafb 100%);
}
.login::before{content:"";position:absolute;left:-8%;right:-8%;bottom:-18%;height:52%;background:linear-gradient(160deg,#2688e7 0%,#0d55c7 50%,#08387f 100%);border-radius:48% 52% 0 0/35% 38% 0 0;transform:rotate(-3deg);box-shadow:0 -30px 0 rgba(40,137,235,.30),0 -58px 0 rgba(75,162,238,.14)}
.login::after{content:none!important;display:none!important;background:none!important;background-image:none!important}
/* REVIEW: login ::after decorative background removed per user request */
.login-shell{position:relative;z-index:2;width:min(620px,92vw);min-width:0;margin:auto}
.login-card{width:100%;margin:auto;background:rgba(255,255,255,.97);padding:clamp(18px,4vw,34px);border-radius:clamp(18px,3vw,24px);border:1px solid rgba(159,190,222,.55);box-shadow:0 28px 60px rgba(9,50,104,.18);text-align:left;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.login-brand{text-align:center;margin-bottom:clamp(12px,2.5vh,18px)}
.login-logo{width:clamp(76px,18vw,108px);height:auto;max-height:88px;object-fit:contain;display:block;margin:0 auto 6px}
.login-brand h1{font-size:clamp(30px,7vw,48px);letter-spacing:clamp(.03em,.8vw,.08em);margin:0;color:#103f85;line-height:1.05;overflow-wrap:anywhere}
.login-brand .subtitle{font-size:clamp(14px,3.4vw,19px);color:#173d72;margin-top:8px}
.login-brand .mini-line{width:min(130px,36vw);height:3px;border-radius:3px;background:linear-gradient(90deg,transparent,#1c69d6,transparent);margin:clamp(10px,2vh,16px) auto}
.login-intro{display:flex;gap:12px;align-items:flex-start;max-width:500px;margin:0 auto 18px;color:#214b7d;line-height:1.45;font-size:clamp(12px,2.8vw,14px)}
.login-intro .ico{font-size:23px;flex:0 0 auto}.login-card label{color:#183b69}
.login-card input{min-height:48px;height:auto;font-size:16px;border-radius:10px;border:1px solid #bfd0e3;padding:12px 14px;background:#fff}
.login-card .btn-primary{min-height:50px;height:auto;font-size:16px;background:linear-gradient(180deg,#2d83ee,#0d55c7);box-shadow:0 7px 14px rgba(13,85,199,.19);touch-action:manipulation}
.login-help{margin-top:16px;border-top:1px solid #e0e8f1;padding-top:14px;display:flex;justify-content:space-between;gap:12px;align-items:center;color:#516b87;font-size:12px}.login-ready{color:#168346;font-weight:700;white-space:nowrap}
.login-topline{position:absolute;left:28px;top:22px;z-index:3;color:#0d3575;font-size:12px;font-weight:800;line-height:1.45}.login-quote{position:absolute;right:32px;top:28px;z-index:3;color:#0d3575;font-size:15px;font-style:italic;max-width:240px;text-align:right;line-height:1.45}.login-slogan{position:absolute;z-index:2;left:30px;bottom:95px;color:#fff;font-style:italic;font-size:18px;line-height:1.45;border-left:2px solid rgba(255,255,255,.9);padding-left:14px;max-width:230px}
.login-features{position:absolute;z-index:2;left:50%;transform:translateX(-50%);bottom:70px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:min(760px,92vw);color:#fff;text-align:left}.login-feature{display:flex;align-items:center;gap:11px;padding:10px 14px;border-right:1px solid rgba(255,255,255,.32);min-width:0}.login-feature:last-child{border-right:0}.login-feature .fi{font-size:28px;flex:0 0 auto}.login-feature b{font-size:13px;display:block}.login-feature small{opacity:.88}.login-footer{position:absolute;z-index:2;left:10px;right:10px;bottom:max(18px,env(safe-area-inset-bottom));text-align:center;color:rgba(255,255,255,.94);font-size:12px}
@media(max-width:1100px){.login-topline,.login-quote,.login-slogan{display:none}}
@media(max-width:760px){.login{justify-content:flex-start;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(24px,env(safe-area-inset-bottom))}.login-shell{width:min(94vw,620px);margin:0 auto}.login-card{padding:clamp(16px,5vw,22px)}.login-features{position:relative;left:auto;bottom:auto;transform:none;grid-template-columns:1fr;gap:0;width:100%;margin:16px auto 0;padding:0 4px}.login-feature{border-right:0;border-bottom:1px solid rgba(255,255,255,.23);padding:9px 10px}.login-help{align-items:flex-start;flex-direction:column}.login-footer{position:relative;left:auto;right:auto;bottom:auto;margin:16px auto 0;padding-bottom:env(safe-area-inset-bottom);font-size:10px}.login::before{height:62%;bottom:-20%}}
@media(max-width:380px){.login-brand h1{font-size:clamp(27px,9vw,34px)}.login-intro{gap:8px}.login-card{padding:16px 14px}.login-help{font-size:11px}}
@media(max-height:700px) and (min-width:761px){.login{justify-content:flex-start;padding-top:18px;padding-bottom:100px}.login-card{padding:18px 24px}.login-logo{width:70px;max-height:58px}.login-brand{margin-bottom:10px}.login-brand .mini-line{margin:8px auto}.login-intro{margin-bottom:10px}.login-features{bottom:48px}.login-footer{bottom:10px}}
@media(orientation:landscape) and (max-height:520px){.login{justify-content:flex-start;padding:10px 14px 18px}.login-shell{width:min(720px,94vw)}.login-card{padding:14px 20px}.login-logo{display:none}.login-brand{margin-bottom:8px}.login-brand h1{font-size:28px}.login-brand .subtitle{font-size:13px}.login-brand .mini-line{margin:7px auto}.login-intro{display:none}.login-features,.login-footer,.login-topline,.login-quote,.login-slogan{display:none}.login-help{margin-top:9px;padding-top:9px;flex-direction:row}.login-card input{min-height:44px}.login-card .btn-primary{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
label{display:block;font-size:12px;font-weight:700;margin:10px 0 5px}
input,select,textarea{width:100%;border:1px solid #cbd7e3;border-radius:8px;padding:10px;background:#fff}
textarea{min-height:90px;resize:vertical}
.shell{min-height:100vh;display:grid;grid-template-columns:235px 1fr}
.sidebar{background:linear-gradient(180deg,var(--nav),var(--nav2));color:#fff;padding:18px 14px;position:sticky;top:0;height:100vh}
.brand{display:flex;gap:10px;align-items:center;padding:8px 10px 20px}
.brand-logo{font-size:25px}
.brand strong{display:block;font-size:17px}
.brand small{opacity:.75}
.nav-btn{width:100%;display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#e9f1f8;padding:11px 12px;border-radius:8px;margin:3px 0;cursor:pointer;text-align:left}
.nav-btn:hover,.nav-btn.active{background:#1970ea;color:#fff}
.nav-btn.logout{color:#ff8e88;margin-top:18px}
.main{min-width:0}
.topbar{height:68px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:5}
.topbar h2{font-size:18px;margin:0}
.userbox{font-size:13px;color:var(--muted)}
.content{padding:22px;max-width:1500px;margin:0 auto}
.page{display:none}
.page.active{display:block}
.card{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px;box-shadow:0 2px 8px rgba(31,54,76,.03)}
.hero{display:grid;grid-template-columns:1fr 270px;gap:14px}
.hero h1{font-size:26px;margin:0 0 6px}
.hero .subtitle{color:#1769e0;font-size:17px;font-weight:700}
.hero p{line-height:1.55;color:#44586d}
.status-list{display:grid;gap:10px}
.status-row{display:flex;justify-content:space-between;border-bottom:1px solid #edf1f5;padding-bottom:8px;font-size:13px}
.status-ok{color:var(--ok);font-weight:700}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:14px 0}
.stat{background:#fff;border:1px solid var(--border);border-radius:14px;padding:18px}
.stat small{color:var(--muted)}
.stat b{display:block;font-size:22px;margin:6px 0}
.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.quick button{min-height:74px;text-align:left;font-size:14px}
.page-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.page-title h2{margin:0}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}
.form-grid .full{grid-column:1/-1}
.actions{display:flex;justify-content:flex-end;gap:8px;margin-top:14px}
.filters{display:grid;grid-template-columns:1fr 1fr 1fr 2fr auto;gap:8px;align-items:end}
.table-wrap{overflow:auto;margin-top:14px}
table{border-collapse:collapse;width:100%;min-width:950px}
th,td{padding:9px 8px;border-bottom:1px solid #e7edf3;font-size:12px;text-align:left;vertical-align:top}
th{background:#eef4fa;position:sticky;top:0}
.pill{display:inline-block;background:#eaf2ff;color:#1769e0;border-radius:999px;padding:4px 8px}
.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.report-box{border:1px solid var(--border);border-radius:12px;padding:22px;text-align:center}
.admin-actions{display:flex;flex-wrap:wrap;gap:8px}
.note{font-size:12px;color:var(--muted)}
.mobile-menu{display:none}
@media(max-width:980px){
 .shell{grid-template-columns:1fr}
 .sidebar{position:fixed;left:-250px;width:235px;z-index:20;transition:.2s}
 .sidebar.open{left:0}
 .mobile-menu{display:inline-block}
 .hero{grid-template-columns:1fr}
 .stats,.quick{grid-template-columns:1fr 1fr}
 .filters{grid-template-columns:1fr 1fr}
}
@media(max-width:620px){
 .content{padding:12px}
 .stats,.quick,.report-grid,.form-grid,.filters{grid-template-columns:1fr}
 .form-grid .full{grid-column:auto}
 .topbar{padding:0 12px}
}

/* ===== SIPRAJA HOME 2026 — visual implementation from approved mockup ===== */
:root{--primary:#1261ee;--text:#09206e;--muted:#49648e;--border:rgba(118,159,211,.22)}
body{background:#eaf5ff;color:var(--text)}
.shell{grid-template-columns:276px 1fr;background:#edf7ff}
.sidebar{background:rgba(255,255,255,.88)!important;color:#09206e!important;padding:22px 16px;border-right:1px solid rgba(118,159,211,.18);box-shadow:10px 0 40px rgba(60,112,170,.06)}
.brand{display:flex;gap:12px;align-items:center;padding:0 10px 24px;margin-bottom:10px;border-bottom:1px solid #e7eff8}.brand-logo{width:60px;height:60px;display:grid;place-items:center;background:transparent!important}.brand-logo img{width:58px;height:58px}.brand strong{font-size:28px;color:#1649c7;letter-spacing:.3px}.brand small{color:#09206e;line-height:1.45}
.nav-btn{color:#0b257e!important;background:transparent!important;border-radius:12px!important;padding:14px 16px!important;margin:4px 0!important}.nav-btn.active{background:linear-gradient(135deg,#1768f5,#2d73ef)!important;color:#fff!important;box-shadow:0 10px 24px rgba(23,104,245,.22)}.nav-btn.logout{margin-top:20px!important;border:1px solid #e5edf8!important;background:rgba(255,255,255,.7)!important;color:#0b257e!important}
.main{background-image:linear-gradient(rgba(239,248,255,.38),rgba(239,248,255,.52)),url('assets/civic-building.svg')!important;background-size:cover!important;background-position:center!important;background-attachment:fixed!important}
.topbar{height:88px;background:rgba(238,248,255,.72)!important;backdrop-filter:blur(16px);border-bottom:0!important;padding:14px 26px!important}.topbar h2{display:none}.topbar input{background:rgba(255,255,255,.82)!important;border:1px solid rgba(255,255,255,.95)!important;border-radius:13px!important;box-shadow:0 8px 24px rgba(60,112,170,.08)}.userbox{background:rgba(255,255,255,.82)!important;border:1px solid rgba(255,255,255,.95)!important;border-radius:13px!important;color:#0b257e!important;box-shadow:0 8px 24px rgba(60,112,170,.08)}
.content{padding:0 20px 28px!important}.home-dashboard{padding:26px!important;border:1px solid rgba(255,255,255,.8)!important;border-radius:22px!important;background:rgba(229,243,255,.34)!important;backdrop-filter:blur(5px);box-shadow:0 20px 50px rgba(62,112,165,.08)!important}.home-dashboard::before,.home-dashboard::after{display:none!important}
.home-head{min-height:170px;align-items:flex-start!important}.home-welcome h1{font-size:40px!important;color:#12358e!important;margin:10px 0 8px!important}.welcome-small{color:#0d287d!important;font-weight:700}.home-welcome p{max-width:520px;color:#173b86!important;line-height:1.75}.home-motto{max-width:340px!important;padding:30px 34px!important;font-size:18px!important;line-height:1.65!important;color:#0a287d!important;background:rgba(255,255,255,.68)!important;border:1px solid rgba(255,255,255,.92)!important;border-radius:18px!important;box-shadow:0 16px 35px rgba(67,108,156,.12)!important}.home-motto::before{content:'“';font-size:42px;color:#657ec1;position:absolute;margin:-17px 0 0 -19px}
.home-stats{gap:16px!important}.home-stat{min-height:138px!important;background:rgba(255,255,255,.72)!important;border:1px solid rgba(255,255,255,.95)!important;border-radius:18px!important;box-shadow:0 14px 30px rgba(57,108,164,.10)!important}.stat-icon{width:60px!important;height:60px!important;border-radius:50%!important;background:#1f69f3!important;color:white!important;font-size:27px!important}.home-stat:nth-child(2) .stat-icon{background:#12b777!important}.home-stat:nth-child(3) .stat-icon{background:#ff9419!important}.home-stat:nth-child(4) .stat-icon{background:#7257ef!important}.home-stat .value{color:#102b82!important;font-size:24px!important}
.home-grid{gap:16px!important}.glass-card,.chart-card,.recent-card,.quick-glass{background:rgba(255,255,255,.76)!important;border:1px solid rgba(255,255,255,.95)!important;border-radius:18px!important;box-shadow:0 14px 35px rgba(57,108,164,.09)!important;backdrop-filter:blur(16px)}.card-head h3,.quick-glass h3{color:#0c287e!important}.pill{background:white!important;color:#1762e9!important}.recent-table{background:rgba(255,255,255,.45)!important;border-radius:13px;overflow:hidden}.recent-table th{background:rgba(247,251,255,.86)!important;color:#0b287d!important}.quick-glass .quick button{min-height:76px!important;background:rgba(255,255,255,.76)!important;color:#0b287d!important;border:1px solid #edf3fa!important;border-radius:13px!important}
@media(max-width:900px){.shell{grid-template-columns:1fr}.sidebar{width:260px}.topbar{height:auto;min-height:72px}.home-head{min-height:auto}.home-welcome h1{font-size:32px!important}.home-motto{max-width:none!important}.content{padding:0 10px 20px!important}.home-dashboard{padding:14px!important}}


/* ===== SIPRAJA BERANDA — GENERATED ARCHITECTURAL BACKGROUND ===== */
.main{
  background-image:
    linear-gradient(rgba(239,248,255,.20),rgba(239,248,255,.30)),
    url('assets/sipraja-beranda-background.png') !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  background-attachment:fixed !important;
}
.home-dashboard{
  background:rgba(235,247,255,.20) !important;
  backdrop-filter:blur(2px) !important;
  -webkit-backdrop-filter:blur(2px) !important;
}


/* ===== SIPRAJA UPLOAD STATUS MODAL ===== */
.upload-status-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(16,38,67,.38);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.upload-status-overlay.show{display:flex}
.upload-status-card{
  width:min(430px,94vw);
  border-radius:24px;
  padding:26px 24px 22px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.86);
  box-shadow:0 28px 70px rgba(17,58,101,.28);
  text-align:center;
  color:#173f78;
  animation:uploadPop .22s ease-out;
}
@keyframes uploadPop{
  from{opacity:0;transform:scale(.94) translateY(10px)}
  to{opacity:1;transform:scale(1) translateY(0)}
}
.upload-status-icon{
  width:86px;height:86px;
  margin:0 auto 16px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:40px;
  position:relative;
}
.upload-status-icon.loading{
  background:linear-gradient(145deg,#eaf3ff,#dbeaff);
  color:#1769e0;
}
.upload-status-icon.loading::before{
  content:"";
  position:absolute;
  inset:4px;
  border-radius:50%;
  border:5px solid rgba(23,105,224,.16);
  border-top-color:#1769e0;
  animation:uploadSpin .9s linear infinite;
}
@keyframes uploadSpin{to{transform:rotate(360deg)}}
.upload-status-icon.success{
  background:linear-gradient(145deg,#dff8e9,#c9f0da);
  color:#168346;
  animation:successPulse .38s ease-out;
}
.upload-status-icon.error{
  background:linear-gradient(145deg,#ffe7e4,#ffd8d4);
  color:#b42318;
  animation:errorShake .35s ease-out;
}
@keyframes successPulse{
  0%{transform:scale(.75)}
  70%{transform:scale(1.12)}
  100%{transform:scale(1)}
}
@keyframes errorShake{
  0%,100%{transform:translateX(0)}
  25%{transform:translateX(-7px)}
  50%{transform:translateX(7px)}
  75%{transform:translateX(-4px)}
}
.upload-status-title{
  font-size:22px;
  font-weight:800;
  margin:0 0 8px;
}
.upload-status-text{
  color:#5b7189;
  line-height:1.5;
  margin:0 0 16px;
  font-size:14px;
}
.upload-progress{
  height:9px;
  overflow:hidden;
  border-radius:999px;
  background:#e8eef5;
  margin:12px 0 8px;
}
.upload-progress-bar{
  height:100%;
  width:15%;
  border-radius:999px;
  background:linear-gradient(90deg,#1769e0,#46a0ff);
  animation:progressFlow 1.6s ease-in-out infinite;
}
@keyframes progressFlow{
  0%{width:12%;transform:translateX(-15%)}
  50%{width:68%}
  100%{width:100%;transform:translateX(10%)}
}
.upload-status-steps{
  text-align:left;
  margin:14px 0 2px;
  padding:12px 14px;
  border-radius:14px;
  background:#f5f8fc;
  color:#486078;
  font-size:12px;
  line-height:1.8;
}
.upload-status-actions{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:16px;
}
.upload-status-actions .btn{min-width:120px}


/* ===== SIPRAJA 2026 — CLEAN BACKGROUND / NO DECORATIVE SHAPE ===== */
/* Hilangkan shape/lapisan dekoratif pada background, pertahankan foto gedung. */
.main::before,
.main::after,
.home-dashboard::before,
.home-dashboard::after,
.hero::before,
.hero::after,
.bg-shape,
.background-shape,
.decorative-shape,
.hero-shape,
.shape,
.shape-1,
.shape-2,
.shape-3{
  display:none !important;
  content:none !important;
  background:none !important;
  box-shadow:none !important;
}

/* Area konten dibuat bersih dan transparan agar background asli terlihat. */
.main{
  background-image:
    linear-gradient(rgba(239,248,255,.10), rgba(239,248,255,.16)),
    url('assets/sipraja-beranda-background.png') !important;
  background-size:cover !important;
  background-position:center center !important;
  background-repeat:no-repeat !important;
  background-attachment:fixed !important;
}

.home-dashboard{
  background:transparent !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

/* Form tetap readable, tetapi tanpa shape besar di belakangnya. */
.card,
.form-card,
.archive-form,
.content-card{
  background:rgba(255,255,255,.88);
}


/* =============================================================================
   LOGIN LAYOUT FIX v2
   Tujuan:
   - mencegah fitur/footer menabrak kartu login
   - menjaga keterbacaan pada layar laptop resolusi rendah
   - tetap responsif pada tablet/HP
   ============================================================================= */

.login{
  justify-content:flex-start !important;
  padding-top:clamp(28px,6vh,70px) !important;
  padding-bottom:clamp(32px,7vh,80px) !important;
}

.login-shell{
  position:relative !important;
  z-index:5 !important;
  width:min(620px,92vw) !important;
  margin:0 auto 24px !important;
}

.login-card{
  position:relative !important;
  z-index:5 !important;
  max-height:none !important;
}

.login-features{
  position:relative !important;
  left:auto !important;
  bottom:auto !important;
  transform:none !important;
  width:min(860px,92vw) !important;
  margin:18px auto 0 !important;
  padding:0 8px !important;
  z-index:4 !important;
}

.login-feature{
  background:rgba(255,255,255,.16) !important;
  border:1px solid rgba(255,255,255,.24) !important;
  border-radius:14px !important;
  min-height:82px !important;
  padding:12px 14px !important;
}

.login-feature:last-child{
  border-right:1px solid rgba(255,255,255,.24) !important;
}

.login-footer{
  position:relative !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
  width:min(900px,94vw) !important;
  margin:16px auto 0 !important;
  padding:0 10px max(14px,env(safe-area-inset-bottom)) !important;
  z-index:4 !important;
}

.login-topline,
.login-quote,
.login-slogan{
  z-index:3 !important;
}

/* Layar laptop pendek / zoom browser */
@media(max-height:820px) and (min-width:761px){
  .login{
    padding-top:18px !important;
    padding-bottom:24px !important;
  }

  .login-card{
    padding:18px 24px !important;
  }

  .login-logo{
    width:70px !important;
    max-height:58px !important;
  }

  .login-brand{
    margin-bottom:8px !important;
  }

  .login-brand h1{
    font-size:34px !important;
  }

  .login-brand .subtitle{
    font-size:15px !important;
  }

  .login-brand .mini-line{
    margin:8px auto !important;
  }

  .login-intro{
    margin-bottom:10px !important;
  }

  .login-features{
    margin-top:12px !important;
  }

  .login-feature{
    min-height:68px !important;
    padding:9px 11px !important;
  }

  .login-feature .fi{
    font-size:22px !important;
  }

  .login-feature b{
    font-size:12px !important;
  }

  .login-feature small{
    font-size:11px !important;
  }

  .login-footer{
    margin-top:10px !important;
  }
}

/* Tablet / ponsel */
@media(max-width:760px){
  .login{
    padding:16px 12px 24px !important;
  }

  .login-shell{
    width:min(94vw,620px) !important;
    margin:0 auto 14px !important;
  }

  .login-features{
    grid-template-columns:1fr !important;
    width:min(94vw,620px) !important;
    margin-top:12px !important;
  }

  .login-feature{
    min-height:64px !important;
  }

  .login-footer{
    width:min(94vw,620px) !important;
    margin-top:12px !important;
  }
}


/* ==========================================================================
   SIPRAJA v1.0 — PRODUCTION UI OVERRIDES
   Fokus: logo stabil, dashboard responsif, keterbacaan HP/tablet/desktop.
   ========================================================================== */
.brand-logo{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center}
.brand-logo img{display:block;width:48px;height:48px;object-fit:contain}
.brand{min-width:0}
.brand>div:last-child{min-width:0}
.brand strong{letter-spacing:.03em}
.brand small{display:block;line-height:1.35}

.production-build{
  position:fixed;right:8px;bottom:5px;z-index:1;
  font-size:9px;color:rgba(16,50,105,.28);pointer-events:none
}

.home-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(260px,340px)!important;gap:18px!important}
.home-welcome{min-width:0}
.home-welcome h1{overflow-wrap:anywhere}
.home-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important}
.home-stat{display:flex!important;align-items:center!important;gap:14px!important;min-width:0!important;padding:18px!important}
.home-stat>div:last-child{min-width:0}
.home-stat .label{font-weight:700;color:#163574}
.home-stat .value{
  font-size:clamp(18px,2.05vw,25px)!important;
  line-height:1.15!important;
  overflow-wrap:anywhere;
  word-break:break-word
}
.home-stat .note{line-height:1.35}
.stat-icon{flex:0 0 58px!important}
.topbar>div:last-child{min-width:0}
#topSearch{font-size:14px}

@media(max-width:1180px){
  .home-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .home-grid{grid-template-columns:1fr!important}
}

@media(max-width:900px){
  body{font-size:14px}
  .sidebar{height:100dvh!important;overflow-y:auto;box-shadow:14px 0 34px rgba(7,39,91,.18)}
  .topbar{
    padding:10px 14px!important;
    min-height:78px!important;
    align-items:flex-start!important;
    gap:9px!important
  }
  .topbar>div:first-child{flex:0 0 auto}
  .topbar>div:last-child{
    flex:1 1 auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px!important
  }
  .topbar>div:last-child>div:first-child{
    min-width:0!important;max-width:none!important;grid-column:1/-1
  }
  .userbox{padding:7px 9px!important;font-size:11px!important;white-space:nowrap}
  #who{max-width:145px;display:block;overflow:hidden;text-overflow:ellipsis}
  .content{padding:0 8px 18px!important}
  .home-dashboard{padding:14px 12px!important;border-radius:18px!important}
  .home-head{grid-template-columns:1fr!important;gap:12px!important}
  .home-welcome h1{font-size:clamp(30px,10vw,42px)!important;margin:7px 0!important}
  .home-welcome p{font-size:15px!important;line-height:1.6!important;margin-bottom:4px}
  .home-motto{
    max-width:none!important;padding:20px 24px!important;
    font-size:16px!important;line-height:1.55!important
  }
  .home-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  .home-stat{
    min-height:122px!important;display:flex!important;flex-direction:column!important;
    align-items:flex-start!important;justify-content:flex-start!important;gap:8px!important;
    padding:14px!important
  }
  .stat-icon{width:46px!important;height:46px!important;flex-basis:46px!important;font-size:21px!important}
  .home-stat .value{font-size:clamp(17px,5.4vw,23px)!important}
  .chart-card,.recent-card,.quick-glass{padding:14px!important}
  .chart-total{grid-template-columns:1fr!important}
  .quick{grid-template-columns:1fr!important}
  .filters{grid-template-columns:1fr 1fr!important}
  .filters>*:last-child{grid-column:1/-1}
  .page-title{align-items:flex-start;gap:10px;flex-direction:column}
  .form-grid{grid-template-columns:1fr!important}
  .form-grid .full{grid-column:auto!important}
  .actions{flex-wrap:wrap}
  .actions .btn{flex:1 1 150px}
}

@media(max-width:520px){
  .login-shell{width:min(94vw,620px)}
  .login-card{padding:20px 16px}
  .login-logo{width:78px;max-height:78px}
  .login-brand h1{font-size:36px}
  .login-brand .subtitle{font-size:14px;line-height:1.35}
  .login-help{flex-direction:column!important;align-items:flex-start!important}
  .home-stats{grid-template-columns:1fr!important}
  .home-stat{
    min-height:auto!important;display:grid!important;
    grid-template-columns:48px minmax(0,1fr)!important;align-items:center!important
  }
  .home-stat .value{font-size:22px!important}
  .home-motto{font-size:15px!important}
  .topbar>div:last-child{grid-template-columns:1fr!important}
  .userbox{justify-self:start}
  #topSearch{font-size:16px}
}


/* ==========================================================================
   SIPRAJA v1.0.1 PRODUCTION — REFERENCE-MATCH DASHBOARD
   ========================================================================== */
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.ui-icon{width:1.35em;height:1.35em;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;display:inline-block;vertical-align:middle}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.desktop-only{display:inline}

body{background:#eaf5ff;color:#09206e}
.shell{grid-template-columns:234px minmax(0,1fr);background:#eaf5ff}
.sidebar{
  background:rgba(255,255,255,.82)!important;color:#0b2a7b!important;padding:22px 15px 15px!important;
  border-right:1px solid rgba(255,255,255,.84);box-shadow:8px 0 28px rgba(38,94,151,.06);
  backdrop-filter:blur(18px) saturate(125%);-webkit-backdrop-filter:blur(18px) saturate(125%);
  display:flex;flex-direction:column
}
.brand-v101{display:block!important;text-align:center;padding:0 8px 18px!important;margin:0 0 8px!important;border:0!important}
.brand-v101 .brand-logo{width:86px!important;height:86px!important;margin:0 auto 4px!important}
.brand-v101 .brand-logo img{width:84px!important;height:84px!important}
.brand-v101 strong{font-size:31px!important;letter-spacing:.02em!important;color:#123b91!important}
.brand-v101 small{font-size:12px;line-height:1.45;color:#123b91!important}
.nav-v101{display:flex;flex-direction:column;gap:2px}
.nav-btn{
  display:flex!important;align-items:center!important;gap:13px!important;
  color:#0a2a7b!important;background:transparent!important;border-radius:12px!important;
  padding:11px 12px!important;margin:1px 0!important;font-size:13px!important;font-weight:600!important
}
.nav-btn .ui-icon{font-size:18px;flex:0 0 24px}
.nav-btn.active{background:linear-gradient(180deg,#1882ff,#0069ec)!important;color:white!important;box-shadow:0 7px 18px rgba(0,100,236,.23)}
.nav-btn.logout{margin-top:8px!important;color:#0a2a7b!important;border:0!important}
.sidebar-security{
  margin-top:auto;padding:14px 12px 12px;border-radius:14px;background:rgba(255,255,255,.58);
  border:1px solid rgba(255,255,255,.86);box-shadow:0 8px 22px rgba(48,95,146,.07)
}
.security-row{display:flex;align-items:center;gap:10px;color:#0c2c7e}
.security-row b{display:block;font-size:12px}.security-row small{display:block;margin-top:3px;font-size:10px;color:#315590}
.security-icon{display:grid;place-items:center;width:30px;height:30px}.security-icon .ui-icon{font-size:26px}
.online-row{display:flex;align-items:center;gap:8px;margin-top:12px;color:#00a544;font-size:11px;font-weight:700}
.online-dot{width:13px;height:13px;border-radius:50%;background:#10bd51;box-shadow:0 0 0 3px rgba(16,189,81,.08)}

.main{
  background-image:linear-gradient(rgba(238,248,255,.24),rgba(231,244,255,.34)),url('../assets/sipraja-v101-background.png')!important;
  background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;background-attachment:fixed!important
}
.main::before,.main::after,.home-dashboard::before,.home-dashboard::after{display:none!important}

.topbar-v101{
  min-height:84px;height:84px!important;margin:15px 17px 0!important;padding:0 16px!important;border-radius:16px!important;
  background:rgba(255,255,255,.58)!important;border:1px solid rgba(255,255,255,.83)!important;
  box-shadow:0 8px 25px rgba(42,98,157,.07)!important;backdrop-filter:blur(18px) saturate(130%);
  display:flex;align-items:center;justify-content:space-between;gap:15px;position:sticky;top:8px
}
.top-search-wrap{height:48px;flex:1 1 690px;max-width:700px;position:relative;display:flex;align-items:center}
.top-search-wrap .search-icon{position:absolute;left:14px;font-size:23px;color:#0065e8;z-index:2}
.top-search-wrap input{
  height:48px!important;padding:0 88px 0 47px!important;border-radius:12px!important;background:rgba(255,255,255,.78)!important;
  border:1px solid rgba(255,255,255,.92)!important;box-shadow:0 4px 14px rgba(37,91,149,.08)!important;color:#123783
}
.shortcut{position:absolute;right:10px;padding:6px 10px;border-radius:7px;background:rgba(255,255,255,.78);border:1px solid rgba(137,173,214,.22);font-size:11px;font-weight:700;color:#0a5ddc}
.top-actions{display:flex;align-items:center;gap:13px;margin-left:auto}
.top-date{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#0b2d7f;white-space:nowrap}
.top-date .ui-icon{font-size:21px;color:#0069e8}
.top-icon-btn{width:42px;height:42px;border:1px solid rgba(255,255,255,.88);border-radius:50%;background:rgba(255,255,255,.58);color:#075cd1;display:grid;place-items:center;position:relative;cursor:pointer}
.top-icon-btn .ui-icon{font-size:22px}.notif-badge{position:absolute;right:-1px;top:-7px;width:19px;height:19px;border-radius:50%;background:#ff1729;color:#fff;display:grid;place-items:center;font-size:10px;font-weight:800;border:2px solid white}
.top-user{display:flex;align-items:center;gap:9px;min-width:175px;color:#0b2b7c}
.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.64);border:1px solid white;color:#075fcf}.avatar .ui-icon{font-size:23px}
.top-user-copy b{display:block;font-size:12px}.top-user-copy small{font-size:10px;color:#315590}.chev{margin-left:auto;color:#0767e0;font-size:18px}

.content{padding:15px 17px 20px!important;max-width:none!important;margin:0!important}
.v101-dashboard{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;overflow:visible!important}

.hero-v101{
  min-height:194px;display:grid;grid-template-columns:260px minmax(0,1fr) 390px;gap:16px;align-items:center;
  padding:12px 22px 12px 16px;border-radius:17px;background:rgba(255,255,255,.38);border:1px solid rgba(255,255,255,.76);box-shadow:0 8px 26px rgba(52,99,150,.06)
}
.hero-logo-card{height:170px;display:grid;place-items:center;border-radius:18px;background:rgba(255,255,255,.30);border:1px solid rgba(255,255,255,.70)}
.hero-logo-card img{width:145px;height:145px}
.home-welcome{padding:0!important}.home-welcome .welcome-small{font-size:15px!important;font-weight:700!important;color:#0a2b7e!important}.home-welcome h1{font-size:50px!important;line-height:.95!important;color:#0a2c80!important;margin:8px 0 11px!important}.home-welcome p{font-size:13px!important;line-height:1.65!important;color:#123b88!important;margin:0!important}
.home-motto{
  min-height:125px!important;max-width:none!important;padding:27px 28px 20px 54px!important;border-radius:18px!important;
  background:rgba(255,255,255,.54)!important;border:1px solid rgba(255,255,255,.88)!important;box-shadow:0 8px 25px rgba(42,98,157,.07)!important;
  color:#123888!important;font-size:18px!important;font-weight:700!important;font-style:italic!important;line-height:1.55!important;text-align:center!important;justify-content:center!important
}
.home-motto::before{display:block!important;content:"“"!important;position:absolute!important;left:19px!important;top:4px!important;font-size:48px!important;color:#1470dc!important;opacity:.9!important}
.home-motto::after{content:"”";position:absolute;right:16px;bottom:-4px;font-size:48px;color:#1470dc;opacity:.9}

.home-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:13px 0!important}
.home-stat{
  min-height:131px!important;display:grid!important;grid-template-columns:62px minmax(0,1fr) 34px!important;align-items:center!important;gap:13px!important;
  padding:16px 12px 16px 16px!important;border-radius:17px!important;background:rgba(255,255,255,.63)!important;border:1px solid rgba(255,255,255,.92)!important;
  box-shadow:0 8px 24px rgba(43,98,156,.07)!important
}
.stat-icon{width:58px!important;height:58px!important;border-radius:50%!important;display:grid!important;place-items:center!important;color:white!important}
.stat-icon .ui-icon{font-size:29px}
.stat-blue .stat-icon{background:linear-gradient(145deg,#2788ff,#0067ec)!important}
.stat-green .stat-icon{background:linear-gradient(145deg,#22cb6f,#00a744)!important}
.stat-purple .stat-icon{background:linear-gradient(145deg,#a13bff,#6d00df)!important}
.stat-orange .stat-icon{background:linear-gradient(145deg,#ffad25,#ff7200)!important}
.stat-copy{min-width:0}.home-stat .label{font-size:13px!important;color:#092b80!important;font-weight:800!important}.home-stat .value{font-size:23px!important;color:#0b2b7c!important;margin:7px 0 8px!important;white-space:nowrap}.home-stat .note{font-size:11px!important;color:#31558d!important}
.stat-arrow{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.66);border:1px solid rgba(161,191,224,.35);color:#0670ef}.stat-arrow .ui-icon{font-size:15px}

.home-grid{display:grid!important;grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr)!important;gap:13px!important}
.chart-card,.recent-card{min-height:305px!important;padding:13px 14px!important;border-radius:17px!important;background:rgba(255,255,255,.66)!important;border:1px solid rgba(255,255,255,.92)!important;box-shadow:0 8px 24px rgba(43,98,156,.07)!important}
.card-head{height:38px;display:flex;align-items:center;justify-content:space-between}.card-head h3{display:flex;align-items:center;gap:9px;margin:0!important;font-size:14px!important;color:#0b2d7f!important}.section-icon{font-size:18px;color:#006fe9}
.year-select,.see-all{height:31px;border-radius:9px;border:1px solid rgba(255,255,255,.9);background:rgba(255,255,255,.78);color:#0a5bd5;font-size:11px;font-weight:700;padding:0 10px;display:flex;align-items:center;gap:8px}
.see-all{cursor:pointer}.see-all .ui-icon{font-size:13px}
.chart-legend{display:flex;justify-content:center;gap:22px;margin:4px 0 0!important;font-size:10px!important;color:#15387e!important}.legend-bar{display:inline-block;width:23px;height:5px;border-radius:5px;margin-right:6px}.legend-bar.blue{background:#0877f5}.legend-bar.green{background:#08a849}
.chart-v101{height:228px;position:relative;padding:10px 6px 22px 42px}.chart-v101 svg{width:100%;height:100%;display:block}.grid-lines path{stroke:#cfe1f3;stroke-width:1;opacity:.7}.ylabels{position:absolute;left:0;top:13px;bottom:24px;width:40px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;font-size:9px;color:#1a3a7e}.xlabels{position:absolute;left:42px;right:6px;bottom:3px;display:grid;grid-template-columns:repeat(12,1fr);font-size:8px;color:#143476;text-align:center}

.recent-wrap{margin-top:3px!important;overflow:hidden!important}.v101-recent{min-width:0!important;background:rgba(255,255,255,.42)!important}.v101-recent thead th{padding:7px 7px!important;font-size:9px!important;background:rgba(247,251,255,.83)!important;color:#0a2e7f!important}.v101-recent tbody td{padding:7px 7px!important;font-size:9px!important;color:#0d347e!important;vertical-align:middle!important}.v101-recent tbody tr:last-child td{border-bottom:0}
.v101-recent .file-badge{width:25px;height:25px;border-radius:6px;display:grid;place-items:center;color:white;font-size:7px;font-weight:800}.file-badge.pdf{background:#f31426}.file-badge.xls{background:#09a948}
.v101-recent .type-pill,.v101-recent .status-pill{display:inline-block;padding:4px 9px;border-radius:6px;font-size:8px;font-weight:700}.type-pill.ppn{background:#ffe3e4;color:#e21a26}.type-pill.ppn2{background:#dfeeff;color:#1264d7}.type-pill.pph{background:#ffeedc;color:#f06b17}.type-pill.belanja{background:#dff3e9;color:#168654}.type-pill.sp2d{background:#eadcff;color:#7124d3}.status-pill{background:#daf3df;color:#148242}
.row-actions{display:flex;gap:6px}.round-action{width:26px;height:26px;border:0;border-radius:50%;display:grid;place-items:center;color:#0870ec;background:white;box-shadow:0 2px 7px rgba(48,94,146,.12)}.round-action .ui-icon{font-size:13px}

.quick-glass{margin-top:13px!important;padding:8px 13px 10px!important;border-radius:15px!important;background:rgba(255,255,255,.60)!important;border:1px solid rgba(255,255,255,.91)!important;box-shadow:0 8px 24px rgba(43,98,156,.06)!important}.quick-glass h3{margin:0 0 7px!important;font-size:14px!important;color:#0b2d7e!important}.bolt{color:#ff9b00;margin-right:5px}.quick-glass .quick{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important}
.quick-btn{min-height:59px!important;display:flex!important;align-items:center!important;gap:10px!important;text-align:left!important;padding:8px 10px!important;border:1px solid rgba(255,255,255,.94)!important;border-radius:12px!important;background:rgba(255,255,255,.70)!important;color:#0a2e7d!important;box-shadow:0 5px 15px rgba(43,98,156,.06)!important}.quick-btn small{display:block;margin-top:3px;font-size:9px;color:#31558d}.quick-btn b{font-size:10px}.quick-icon{width:37px;height:37px;border-radius:9px;display:grid;place-items:center;color:#fff;flex:0 0 37px}.quick-icon .ui-icon{font-size:19px}.qb-blue .quick-icon{background:#0878f6}.qb-green .quick-icon{background:#0bbd51}.qb-purple .quick-icon{background:#9021ec}.qb-orange .quick-icon{background:#ff8300}.qb-cyan .quick-icon{background:#08a8c9}.qb-pink .quick-icon{background:#ff2758}

.dashboard-footer{height:33px;margin-top:8px;padding:0 6px;display:flex;align-items:center;justify-content:center;position:relative;font-size:9px;color:#28528d}.prod-badge{position:absolute;right:8px;padding:5px 9px;border-radius:9px;background:#d8f5dc;color:#07953b;font-weight:700}

/* Maintain other production pages without changing their behavior. */
.page:not(#page-home) .card{background:rgba(255,255,255,.91)!important;border:1px solid rgba(255,255,255,.97)!important;box-shadow:0 10px 28px rgba(45,94,147,.08)!important}.page:not(#page-home) .page-title{padding:10px 4px}.page:not(#page-home) .page-title h2{color:#0b2f7f!important}

@media(max-width:1250px){
  .shell{grid-template-columns:215px minmax(0,1fr)}
  .hero-v101{grid-template-columns:210px minmax(0,1fr) 310px}.hero-logo-card img{width:125px;height:125px}
  .home-welcome h1{font-size:43px!important}.home-stat .value{font-size:20px!important}
  .top-user{min-width:140px}.quick-btn small{display:none}
}
@media(max-width:1050px){
  .shell{grid-template-columns:1fr}
  .sidebar{position:fixed!important;left:-250px!important;width:230px!important;z-index:50!important;transition:left .2s ease}.sidebar.open{left:0!important}
  .topbar-v101{margin-left:10px!important;margin-right:10px!important}.mobile-menu{display:inline-block!important}
  .hero-v101{grid-template-columns:165px 1fr}.home-motto{grid-column:1/-1}
  .home-stats{grid-template-columns:repeat(2,1fr)!important}.home-grid{grid-template-columns:1fr!important}.quick-glass .quick{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:700px){
  .topbar-v101{height:auto!important;min-height:72px!important;padding:9px!important;flex-wrap:wrap}.top-search-wrap{order:2;flex-basis:100%;max-width:none}.top-actions{width:100%;justify-content:flex-end}.top-date{margin-right:auto}.shortcut,.notif-badge{display:none}
  .content{padding:10px!important}.hero-v101{grid-template-columns:1fr;padding:13px}.hero-logo-card{display:none}.home-motto{min-height:auto!important}.home-welcome h1{font-size:36px!important}
  .home-stats{grid-template-columns:1fr!important}.home-stat{min-height:104px!important}
  .quick-glass .quick{grid-template-columns:1fr 1fr!important}.recent-wrap{overflow:auto!important}.v101-recent{min-width:680px!important}.dashboard-footer{justify-content:flex-start;padding-bottom:35px;height:auto}.prod-badge{bottom:4px}
}
@media(max-width:420px){
  .top-user-copy small,.top-date span{display:none}.top-user{min-width:0}.avatar{width:36px;height:36px}.home-motto{font-size:15px!important}
  .quick-glass .quick{grid-template-columns:1fr!important}.desktop-only{display:none}
}

/* ===== SIPRAJA v1.0.2 UNIFIED POPUPS ===== */
.sipraja-modal-overlay{z-index:10050}
.sipraja-modal-card{width:min(470px,94vw);padding:26px 25px 22px}
.sipraja-modal-icon{font-weight:800;user-select:none}
.sipraja-modal-icon.info{background:linear-gradient(145deg,#e5f1ff,#d8eaff);color:#1769e0}
.sipraja-modal-icon.success{background:linear-gradient(145deg,#dff8e9,#c9f0da);color:#168346}
.sipraja-modal-icon.warning{background:linear-gradient(145deg,#fff3d8,#ffe6a9);color:#d87900}
.sipraja-modal-icon.error{background:linear-gradient(145deg,#ffe7e4,#ffd8d4);color:#b42318}
.sipraja-modal-icon.confirm{background:linear-gradient(145deg,#e9efff,#dce5ff);color:#365fca}
.sipraja-modal-text{
  white-space:pre-line;text-align:left;padding:12px 14px;border-radius:14px;background:#f5f8fc;
  color:#486078;line-height:1.65;max-height:48vh;overflow:auto;margin:0 0 14px;font-size:13px
}
.sipraja-modal-input-wrap{text-align:left;margin:3px 0 16px}
.sipraja-modal-input-wrap label{display:block;margin:0 0 7px;color:#173f78;font-size:12px;font-weight:800}
.sipraja-modal-input{
  width:100%;min-height:48px;border:1px solid #bfd0e3;border-radius:11px;padding:11px 13px;
  background:#fff;color:#173f78;outline:none
}
.sipraja-modal-input:focus{border-color:#5e9eea;box-shadow:0 0 0 3px rgba(23,105,224,.11)}
.sipraja-modal-actions{margin-top:6px}.sipraja-modal-actions .btn{min-width:118px;min-height:42px}
.sipraja-modal-actions .btn-primary{background:linear-gradient(180deg,#2d83ee,#0d55c7);color:#fff}
@media(max-width:520px){
  .sipraja-modal-card{padding:22px 17px 18px}.sipraja-modal-text{font-size:12px;max-height:46vh}
  .sipraja-modal-actions{display:grid;grid-template-columns:1fr 1fr}
  .sipraja-modal-actions .btn{width:100%;min-width:0}
}


/* ===== SIPRAJA v1.0.3 — Animated Progress Popups ===== */
@keyframes siprajaModalIn{
  from{opacity:0;transform:translateY(14px) scale(.975)}
  to{opacity:1;transform:translateY(0) scale(1)}
}
@keyframes siprajaSpin{
  to{transform:rotate(360deg)}
}
@keyframes siprajaPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(23,105,224,.15)}
  50%{box-shadow:0 0 0 12px rgba(23,105,224,0)}
}
@keyframes siprajaShimmer{
  0%{transform:translateX(-120%)}
  100%{transform:translateX(260%)}
}
@keyframes siprajaStepIn{
  from{opacity:0;transform:translateY(4px)}
  to{opacity:1;transform:translateY(0)}
}

.sipraja-modal-overlay.show .sipraja-modal-card{
  animation:siprajaModalIn .22s ease-out both;
}

.sipraja-modal-icon.loading{
  position:relative;
  color:transparent!important;
  background:#e8f2ff!important;
  animation:siprajaPulse 1.6s ease-in-out infinite;
}
.sipraja-modal-icon.loading::before{
  content:"";
  width:30px;height:30px;
  border-radius:50%;
  border:4px solid rgba(23,105,224,.20);
  border-top-color:#1769e0;
  position:absolute;
  inset:0;
  margin:auto;
  animation:siprajaSpin .85s linear infinite;
}

.sipraja-progress-wrap{
  margin:0 0 16px;
  padding:13px 14px 12px;
  border-radius:14px;
  background:linear-gradient(180deg,#f7fbff,#f1f7fd);
  border:1px solid #deebf8;
}
.sipraja-progress-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:#173f78;
  font-size:12px;
  font-weight:800;
  margin-bottom:9px;
}
#siprajaProgressPercent{
  min-width:40px;
  text-align:right;
  color:#1769e0;
}
.sipraja-progress-track{
  height:9px;
  border-radius:99px;
  background:#dce9f7;
  overflow:hidden;
  position:relative;
}
.sipraja-progress-bar{
  width:0%;
  height:100%;
  border-radius:99px;
  background:linear-gradient(90deg,#1769e0,#2f91ff);
  transition:width .35s ease;
  position:relative;
  overflow:hidden;
}
.sipraja-progress-bar::after{
  content:"";
  position:absolute;
  top:0;bottom:0;
  width:42%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.55),transparent);
  animation:siprajaShimmer 1.2s linear infinite;
}
.sipraja-progress-steps{
  margin-top:11px;
  display:grid;
  gap:6px;
  max-height:132px;
  overflow:auto;
}
.sipraja-progress-item{
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:#60758b;
  font-size:11px;
  line-height:1.35;
  animation:siprajaStepIn .18s ease-out both;
}
.sipraja-progress-item .dot{
  width:16px;height:16px;
  flex:0 0 16px;
  border-radius:50%;
  display:grid;
  place-items:center;
  margin-top:1px;
  background:#e0ebf7;
  color:#7b90a7;
  font-size:9px;
  font-weight:800;
}
.sipraja-progress-item.active{
  color:#173f78;
  font-weight:700;
}
.sipraja-progress-item.active .dot{
  color:transparent;
  background:#dcecff;
  position:relative;
}
.sipraja-progress-item.active .dot::after{
  content:"";
  width:8px;height:8px;
  border-radius:50%;
  border:2px solid rgba(23,105,224,.25);
  border-top-color:#1769e0;
  animation:siprajaSpin .7s linear infinite;
}
.sipraja-progress-item.done{
  color:#2b6c4d;
}
.sipraja-progress-item.done .dot{
  background:#dff4e7;
  color:#168346;
}
.sipraja-progress-item.error{
  color:#9f332b;
}
.sipraja-progress-item.error .dot{
  background:#f9e2df;
  color:#b42318;
}

.sipraja-modal-card.is-progress .sipraja-modal-text{
  margin-bottom:10px;
}
.sipraja-modal-card.is-progress .sipraja-modal-actions{
  opacity:.72;
}
.sipraja-modal-card.is-progress #siprajaModalOk{
  pointer-events:none;
  filter:saturate(.55);
}

@media(max-width:520px){
  .sipraja-progress-wrap{padding:12px}
  .sipraja-progress-steps{max-height:118px}
}


/* ===== SIPRAJA v1.0.4 — Simple Progress Only ===== */
.sipraja-progress-wrap{
  padding:14px 15px 15px!important;
  margin:0 0 16px!important;
}
.sipraja-progress-head{
  margin-bottom:10px!important;
  font-size:12px!important;
}
#siprajaProgressStep{
  color:#355473!important;
  font-weight:700!important;
}
.sipraja-progress-track{
  height:10px!important;
}
.sipraja-progress-steps{
  display:none!important;
}
.sipraja-modal-card.is-progress{
  width:min(430px,94vw)!important;
}
.sipraja-modal-card.is-progress .sipraja-modal-text{
  text-align:center!important;
  background:transparent!important;
  padding:2px 0 12px!important;
  margin:0!important;
  color:#61758a!important;
}


/* ==========================================================================
   SIPRAJA v1.0.5 — READABLE DASHBOARD TOTALS
   Menjaga nominal panjang (khususnya Total Belanja/Total Pajak) tetap terbaca.
   ========================================================================== */

/* Beri ruang lebih efisien pada konten kartu tanpa mengubah urutan ikon. */
.home-stat{
  grid-template-columns:58px minmax(0,1fr) 30px!important;
  column-gap:10px!important;
}
.home-stat .stat-copy{
  min-width:0!important;
  width:100%!important;
  overflow:visible!important;
}

/* Nilai rupiah menggunakan angka tabular dan ukuran responsif. */
.home-stat .value{
  max-width:100%!important;
  font-variant-numeric:tabular-nums lining-nums;
  letter-spacing:-.025em!important;
  text-overflow:clip!important;
}

/* Total Belanja: nominal penuh harus tetap satu baris di desktop. */
.home-stat.stat-green .value{
  font-size:clamp(17px,1.42vw,23px)!important;
  line-height:1.08!important;
  white-space:nowrap!important;
  overflow:visible!important;
}

/* Total Pajak juga sering memiliki nominal panjang. */
.home-stat.stat-purple .value{
  font-size:clamp(17px,1.38vw,22px)!important;
  line-height:1.08!important;
  white-space:nowrap!important;
  overflow:visible!important;
}

/* Sedikit perkecil tombol panah agar tidak menimpa nominal. */
.home-stat .stat-arrow{
  width:29px!important;
  height:29px!important;
  justify-self:end!important;
}

/* Desktop menengah: prioritaskan ruang angka daripada dekorasi. */
@media (max-width:1366px) and (min-width:1051px){
  .home-stat{
    grid-template-columns:54px minmax(0,1fr) 26px!important;
    column-gap:8px!important;
    padding-left:13px!important;
    padding-right:9px!important;
  }
  .home-stat .stat-icon{
    width:54px!important;
    height:54px!important;
  }
  .home-stat.stat-green .value,
  .home-stat.stat-purple .value{
    font-size:17px!important;
    letter-spacing:-.035em!important;
  }
  .home-stat .stat-arrow{
    width:25px!important;
    height:25px!important;
  }
}

/* Saat dashboard menjadi 2 kolom, angka dapat kembali lebih besar. */
@media (max-width:1050px){
  .home-stat.stat-green .value,
  .home-stat.stat-purple .value{
    font-size:clamp(18px,3.2vw,23px)!important;
  }
}

/* HP: kartu satu kolom memberi ruang cukup untuk nominal penuh. */
@media (max-width:700px){
  .home-stat{
    grid-template-columns:50px minmax(0,1fr) 28px!important;
  }
  .home-stat.stat-green .value,
  .home-stat.stat-purple .value{
    font-size:clamp(18px,5vw,22px)!important;
    white-space:nowrap!important;
  }
}

/* HP sangat sempit: izinkan pemenggalan hanya pada spasi "Rp", bukan digit. */
@media (max-width:360px){
  .home-stat.stat-green .value,
  .home-stat.stat-purple .value{
    font-size:17px!important;
  }
}


/* ==========================================================================
   SIPRAJA v1.0.6 — ACTIVE TOPBAR / PROFILE / NOTIFICATIONS / CALENDAR
   ========================================================================== */
.top-actions{position:relative}
.top-clickable{cursor:pointer;font-family:inherit}
button.top-date,button.top-user{border:0}
button.top-date{background:transparent}
button.top-user{background:transparent;text-align:left}
.top-clickable:hover,.top-icon-btn:hover{filter:brightness(.97)}
.top-user:focus-visible,.top-date:focus-visible,.top-icon-btn:focus-visible{
  outline:3px solid rgba(23,105,224,.18);outline-offset:2px
}
.top-panel{
  position:absolute;
  top:58px;
  z-index:80;
  width:min(360px,calc(100vw - 26px));
  padding:15px;
  border-radius:15px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(212,228,244,.96);
  box-shadow:0 18px 48px rgba(33,72,117,.20);
  backdrop-filter:blur(22px) saturate(120%);
  -webkit-backdrop-filter:blur(22px) saturate(120%);
  color:#173f78
}
.calendar-panel{right:225px;width:300px}
.notification-panel{right:105px;width:390px}
.profile-panel{right:0;width:330px}
.top-panel-title{font-size:12px;font-weight:800;color:#5b718a;margin-bottom:8px;text-transform:uppercase;letter-spacing:.06em}
.calendar-date{font-size:18px;font-weight:800;color:#102f7d;line-height:1.35}
.calendar-time{font-size:30px;font-weight:800;color:#1769e0;margin:7px 0 8px;font-variant-numeric:tabular-nums}
.top-panel-note{font-size:11px;color:#64788c;padding-top:9px;border-top:1px solid #e9f0f7}
.top-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:10px;border-bottom:1px solid #e7eef6}
.top-panel-head b{display:block;color:#102f7d}.top-panel-head small{display:block;font-size:10px;color:#72869b;margin-top:2px}
.mini-link{border:0;background:transparent;color:#1769e0;font-size:10px;font-weight:800;cursor:pointer;padding:4px}
.notification-list{display:grid;gap:6px;margin-top:8px;max-height:330px;overflow:auto}
.notification-item{display:grid;grid-template-columns:9px minmax(0,1fr);gap:9px;padding:9px 7px;border-radius:10px}
.notification-item:hover{background:#f3f8fd}
.notification-dot{width:8px;height:8px;border-radius:50%;background:#1769e0;margin-top:5px}
.notification-item.read .notification-dot{background:#c2d0df}
.notification-item b{display:block;font-size:11px;color:#173f78}
.notification-item small{display:block;font-size:9px;color:#71849a;margin-top:3px}
.top-panel-empty{text-align:center;color:#8192a4;font-size:11px;padding:22px 8px}
.profile-head{display:flex;align-items:center;gap:11px;padding-bottom:12px;border-bottom:1px solid #e7eef6}
.profile-avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:#e8f2ff;color:#1769e0}
.profile-avatar .ui-icon{font-size:25px}.profile-head b{display:block;font-size:15px;color:#102f7d}.profile-head small{display:block;font-size:10px;color:#698096;margin-top:3px}
.profile-info-grid{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px 12px;padding:13px 0;font-size:10px;border-bottom:1px solid #e7eef6}
.profile-info-grid span{color:#71849a}.profile-info-grid b{color:#173f78;overflow-wrap:anywhere}
.profile-url{font-size:9px;color:#59728c;overflow-wrap:anywhere;padding:10px 0 2px}
.profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}
.profile-actions .btn{min-height:38px;font-size:10px}
.btn-danger{background:#fff0ef!important;color:#a6261e!important;border:1px solid #ffd8d4!important}
.notif-badge.hide{display:none!important}

/* Status Online hasil dinamis */
.online-status-grid{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px 15px;margin-top:12px}
.online-status-grid span{color:#60758b}.online-status-grid b{color:#173f78;overflow-wrap:anywhere}
.status-good{color:#138347!important}.status-warn{color:#c27000!important}

@media(max-width:1050px){
  .calendar-panel,.notification-panel,.profile-panel{right:0;top:55px}
}
@media(max-width:700px){
  .top-panel{position:fixed;top:78px!important;right:10px!important;left:10px!important;width:auto!important}
  .profile-actions{grid-template-columns:1fr}
}


/* ==========================================================================
   SIPRAJA v1.0.7 — ACTIVE DASHBOARD ARROWS
   ========================================================================== */
.stat-arrow-btn{
  padding:0!important;
  border:1px solid rgba(161,191,224,.35)!important;
  cursor:pointer!important;
  font:inherit!important;
  transition:
    transform .16s ease,
    background .16s ease,
    box-shadow .16s ease,
    border-color .16s ease!important;
}
.stat-arrow-btn:hover{
  transform:translateX(2px) scale(1.06)!important;
  background:#ffffff!important;
  border-color:rgba(23,105,224,.34)!important;
  box-shadow:0 5px 13px rgba(23,105,224,.16)!important;
}
.stat-arrow-btn:active{
  transform:translateX(1px) scale(.96)!important;
}
.stat-arrow-btn:focus-visible{
  outline:3px solid rgba(23,105,224,.19)!important;
  outline-offset:2px!important;
}
.stat-arrow-btn .ui-icon{
  pointer-events:none;
}
