@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
:root{--navy:#082e67;--navy-2:#06447f;--blue:#087bd2;--blue-2:#0b8ce4;--cyan:#14b6c5;--lime:#d8ed19;--green:#16b77b;--ink:#102a56;--muted:#6d7f9b;--bg:#f2f7fd;--line:#dfe9f5;--shadow:0 10px 28px rgba(15,58,103,.08)}
*{box-sizing:border-box;font-family:'Plus Jakarta Sans',sans-serif}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-size:13px}a{text-decoration:none}
/* Public profile / welcome page */
.public-page{background:#f4f8fd;overflow-x:hidden}.public-nav{height:76px;position:sticky;top:0;z-index:30;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(20px,5vw,82px);box-shadow:0 3px 18px rgba(7,48,93,.08);border-radius:0 0 18px 18px}.public-brand{display:flex;align-items:center;gap:12px;color:var(--navy)}.public-brand img{width:46px;height:46px;object-fit:contain}.public-brand b{font-size:22px;line-height:1;display:block;font-weight:800}.public-brand small{display:block;font-size:10px;line-height:1.35;font-weight:700;margin-top:4px}.public-links{display:flex;align-items:center;gap:36px;margin-left:auto;margin-right:38px}.public-links a{font-size:13px;font-weight:700;color:#19345f;padding:26px 0;position:relative}.public-links a.active:after,.public-links a:hover:after{content:"";height:4px;border-radius:4px;background:var(--blue);position:absolute;left:0;right:0;bottom:15px}.public-login{padding:12px 20px;border-radius:12px;font-size:13px;white-space:nowrap}.public-hero{position:relative;min-height:430px;overflow:hidden;background:linear-gradient(115deg,#06417d 0%,#087ac3 60%,#0a5a9c 100%);color:white}.public-hero-photo{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,54,109,.98) 0%,rgba(4,73,132,.83) 38%,rgba(5,76,130,.15) 100%),url('img/gedung-kelurahan-login.jpg') center 44%/cover no-repeat;opacity:.98;filter:saturate(.78) brightness(.86)}.public-hero:before{content:"";position:absolute;width:540px;height:540px;border:54px solid rgba(255,255,255,.08);border-radius:50%;left:38%;top:-260px}.public-hero-inner{position:relative;z-index:2;min-height:430px;padding:36px clamp(24px,6.2vw,104px) 62px;display:flex;align-items:center;justify-content:space-between}.public-hero-copy{max-width:610px}.public-logo-lockup{display:flex;align-items:center;gap:22px;margin-bottom:26px}.public-logo-lockup img{width:130px;height:130px;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.16))}.lockup-divider{width:2px;height:104px;background:rgba(255,255,255,.68)}.public-logo-lockup h1{font-size:58px;font-weight:800;line-height:1;margin:0 0 5px;letter-spacing:-2px}.public-logo-lockup p{font-size:18px;line-height:1.35;margin:0;color:#f0f8ff}.public-intro{display:flex;gap:18px;align-items:stretch;max-width:600px;margin-bottom:22px}.lime-line{width:5px;flex:0 0 5px;background:var(--lime);border-radius:5px}.public-intro h2{font-size:22px;font-weight:800;margin:0 0 6px}.public-intro p{font-size:14px;line-height:1.65;color:#e5f3ff;margin:0}.public-hero-cta{display:inline-flex;align-items:center;gap:14px;border:2px solid white;border-radius:18px;padding:13px 24px;background:linear-gradient(110deg,#087bd8,#0562b7);color:white;font-size:16px;font-weight:800;box-shadow:0 10px 25px rgba(0,0,0,.16)}.public-hero-cta:hover{background:#fff;color:var(--navy)}.public-hero-cta .fa-chevron-right{margin-left:18px}.public-hero-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.public-guide-cta{display:inline-flex;align-items:center;gap:9px;border:1px solid rgba(255,255,255,.72);border-radius:16px;padding:12px 18px;background:rgba(4,55,112,.28);color:#fff;font-size:13px;font-weight:800;box-shadow:0 8px 20px rgba(0,0,0,.1)}.public-guide-cta:hover{background:#fff;color:var(--navy)}.public-building-caption{align-self:flex-end;margin:0 0 22px 30px;text-align:left;text-shadow:0 2px 12px rgba(0,0,0,.3);font-weight:800;letter-spacing:1px}.public-building-caption span{display:block;font-size:30px;color:#0b8be2}.public-building-caption b{display:block;font-size:28px;color:#08b88c}.public-building-caption strong{color:#f6ca1d}.hero-wave{position:absolute;z-index:3;left:-3%;right:-3%;height:38px;bottom:-12px;border-radius:50% 50% 0 0/70% 70% 0 0;background:linear-gradient(90deg,#d9ee17 0 18%,#39a9ed 18% 57%,#0879cf 57% 100%);box-shadow:0 -8px 0 rgba(255,255,255,.22)}.vision-section{padding:42px clamp(20px,5vw,82px) 38px;background:linear-gradient(180deg,#f6faff,#edf5fd)}.public-container{max-width:1500px;margin:auto}.vision-card{height:100%;min-height:230px;position:relative;overflow:hidden;background:rgba(255,255,255,.92);border:1px solid #cfe3f8;border-radius:20px;box-shadow:var(--shadow);padding:0 26px 34px}.vision-card-head{display:flex;align-items:center;gap:14px;background:linear-gradient(90deg,#e1f0ff,#f0f7ff);margin:0 -26px 20px;padding:12px 26px}.vision-card-head span{width:48px;height:44px;border-radius:12px;background:linear-gradient(140deg,#0b91e8,#0754b4);display:grid;place-items:center;color:#fff;font-size:20px}.vision-card-head h3{font-size:25px;font-weight:800;margin:0;color:var(--navy)}.vision-card>p{font-size:19px;line-height:1.58;color:#10244c;margin:12px 8px 18px;max-width:620px}.mission-card ol{list-style:none;margin:0;padding:0 0 6px;counter-reset:misi}.mission-card li{counter-increment:misi;position:relative;padding:9px 0 9px 54px;font-size:13px;line-height:1.55;border-bottom:1px solid #dce8f5}.mission-card li:last-child{border-bottom:0}.mission-card li:before{content:counter(misi);position:absolute;left:0;top:8px;width:34px;height:32px;border-radius:9px;background:#e3f1ff;color:#0757a5;display:grid;place-items:center;font-weight:800;font-size:16px}.card-wave{position:absolute;height:28px;bottom:0;left:0;right:0;background:linear-gradient(160deg,transparent 0 40%,rgba(12,151,223,.16) 41% 74%,rgba(216,237,25,.45) 75% 80%,rgba(12,151,223,.12) 81%)}.public-footer{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:24px clamp(20px,5vw,82px) 28px;background:linear-gradient(100deg,#eaf5ff,#fff 52%,#eaf5ff);border-top:1px solid #d8e9f8;position:relative;overflow:hidden}.public-footer:after{content:"";position:absolute;left:-5%;right:-5%;height:12px;bottom:0;background:linear-gradient(90deg,#087bd2,#cfe719,#087bd2);transform:rotate(-1deg)}.public-footer-left{display:flex;align-items:center;gap:18px;max-width:65%;position:relative;z-index:1}.public-footer-left img{width:105px;height:105px;object-fit:contain}.public-footer-left h3{font-size:20px;font-weight:800;color:var(--navy);margin:0 0 6px}.public-footer-left p{font-size:13px;color:#19345f;margin:0}.public-footer-left p i{color:var(--blue);margin-right:5px}.public-social{border-left:1px solid #9bb9d9;padding-left:36px;display:flex;flex-direction:column;gap:10px;position:relative;z-index:1;min-width:300px}.public-social a{display:flex;align-items:center;gap:12px;color:#17345e;font-weight:600;font-size:13px}.public-social i{width:24px;font-size:20px;color:#087bd2}.public-social a:nth-child(1) i{color:#d52f90}.public-social a:nth-child(2) i{color:#111}.public-social a:nth-child(3) i{color:#1877f2}
/* Dashboard shell */
.dashboard-body{background:#f2f6fc}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:220px;height:100vh;overflow:hidden;background:linear-gradient(180deg,#064a83 0%,#06396e 62%,#052d59 100%);color:#fff;padding:18px 10px 12px;display:flex;flex-direction:column;z-index:40;box-shadow:8px 0 28px rgba(7,62,115,.12)}.side-brand{color:#fff;text-decoration:none;text-align:center;padding:0 8px 18px;display:flex;align-items:center;flex-direction:column;gap:5px}.side-brand img{width:78px;height:78px;object-fit:contain}.side-brand b{font-size:25px;letter-spacing:.2px;line-height:1;font-weight:800}.side-brand small{font-size:10px;line-height:1.4;color:#d0eaff}.brand-accent{width:42px;height:3px;border-radius:4px;background:var(--lime);margin-top:5px}.nav-caption{font-size:9px;letter-spacing:1.6px;color:#7db8e3;padding:9px 14px}.nav-section-label{margin-top:7px}.sidebar .nav-link{color:#dceeff;border-radius:10px;padding:11px 12px;margin:2px 0;display:flex;align-items:center;gap:13px;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap;min-height:42px}.sidebar .nav-link i{width:19px;text-align:center;font-size:15px}.sidebar .nav-link:hover,.sidebar .nav-link.active{background:linear-gradient(90deg,#087fdb,#0965b4);color:white}.sidebar .nav-link.active{box-shadow:inset 4px 0 var(--lime)}.sidebar-bottom{margin-top:auto}.sidebar-tagline{text-align:center;color:#c9e7ff;font-size:13px;font-style:italic;line-height:1.35;padding:0 6px 12px}.main-area{margin-left:220px;min-height:100vh;display:flex;flex-direction:column;min-width:0}.topbar{height:66px;background:rgba(255,255,255,.97);border-bottom:1px solid #e1eaf4;display:flex;align-items:center;justify-content:space-between;padding:0 26px;position:sticky;top:0;z-index:20}.topbar-left{display:flex;align-items:center;gap:14px}.sidebar-toggle{border:0;background:transparent;color:var(--navy);font-size:18px;padding:7px 8px}.top-title{font-weight:800;font-size:14px;color:var(--navy)}.top-sub{font-size:9px;color:var(--muted);margin-top:2px}.user-chip{display:flex;align-items:center;gap:10px;background:#f5f8fd;border:1px solid #e5edf6;border-radius:28px;padding:5px 12px 5px 5px}.user-chip b,.user-chip small{display:block}.user-chip b{font-size:10px;max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-chip small{font-size:9px;color:var(--muted);margin-top:1px}.user-avatar{width:34px;height:34px;border-radius:50%;background:#d7ebfb;color:#075da6;display:grid;place-items:center;font-size:16px}.user-chevron{font-size:10px;color:#6d7f9b;margin-left:4px}.page-content{padding:20px 22px 26px;flex:1;min-width:0}.app-alert{border-radius:12px}.app-footer{min-height:62px;padding:10px 24px;color:#49627f;font-size:10px;border-top:1px solid #dce8f5;background:linear-gradient(100deg,#e8f4ff,#fff 48%,#e8f4ff);display:flex;align-items:center;justify-content:space-between;gap:20px}.app-footer small{display:block;font-size:9px;margin-top:3px}.app-footer-brand{display:flex;align-items:center;gap:10px}.app-footer-brand img{width:43px;height:43px;object-fit:contain}.app-footer-brand b{font-size:11px;color:var(--navy)}.app-footer-brand small{font-style:italic;text-align:center}
/* Dashboard content */
.hero-banner{background:linear-gradient(105deg,rgba(4,67,129,.98) 0%,rgba(3,105,176,.9) 48%,rgba(4,88,147,.16) 100%),url('img/gedung-kelurahan-hero.jpg') center 47%/cover no-repeat;border-radius:0 0 15px 15px;min-height:150px;color:white;padding:22px 28px;margin:-20px -22px 18px;position:relative;overflow:hidden}.hero-banner:after{content:"";position:absolute;width:300px;height:300px;border:28px solid rgba(255,255,255,.1);border-radius:50%;right:12%;top:-140px}.hero-content{position:relative;z-index:1}.hero-kicker,.eyebrow{font-size:9px;font-weight:800;letter-spacing:1.5px;color:#6ba9d5}.hero-kicker{color:#b9e6ff}.hero-banner h1{font-size:28px;font-weight:800;line-height:1.18;margin:6px 0}.hero-banner p{margin:0;color:#d8efff;font-size:11px}.hero-date{position:absolute;right:24px;top:24px;z-index:2;background:rgba(2,73,136,.8);border:1px solid rgba(255,255,255,.35);border-radius:12px;padding:10px 14px;font-size:10px;line-height:1.6}.hero-date i{width:18px}.dashboard-heading{display:flex;justify-content:space-between;align-items:end;gap:10px;margin-bottom:10px}.section-title{font-weight:800;font-size:20px;color:var(--navy);margin:3px 0}.scope-pill{background:#e3f3ff;color:#0874ba;padding:7px 12px;border-radius:30px;font-weight:800;font-size:10px;white-space:nowrap}.stat-grid{--bs-gutter-x:10px;--bs-gutter-y:10px}.stat-card{background:#fff;border:1px solid #e4edf6;border-radius:14px;padding:12px;display:flex;align-items:center;gap:10px;height:100%;box-shadow:0 5px 16px rgba(22,58,91,.05);min-width:0}.stat-icon{width:42px;height:42px;flex:0 0 42px;border-radius:11px;display:grid;place-items:center;font-size:18px;color:white}.stat-icon.blue{background:#087fdc}.stat-icon.teal{background:#08b6b0}.stat-icon.yellow{background:#f4b900}.stat-icon.navy{background:#07589c}.stat-icon.green{background:#1dbb69}.stat-card small{display:block;color:#586d89;font-size:9px;font-weight:700}.stat-card strong{display:block;font-size:18px;color:var(--navy);line-height:1.25;white-space:nowrap}.stat-card span{font-size:9px;color:#7c8da3}.panel-card{background:#fff;border:1px solid #e2eaf4;border-radius:14px;padding:15px;box-shadow:0 5px 18px rgba(22,58,91,.045);min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.panel-head h5{font-size:12px;font-weight:800;margin:0;color:var(--navy)}.panel-head small{font-size:9px;color:var(--muted)}.panel-head>i{color:#1682c4}.chart-wrap{height:200px;position:relative}.chart-wrap.compact{height:170px}.chart-wrap canvas{max-width:100%}.chart-list{display:flex;flex-direction:column;gap:7px}.chart-list-row{display:grid;grid-template-columns:72px 1fr 42px;align-items:center;gap:8px;font-size:9px}.chart-list-row .progress{height:7px;background:#edf3f9;border-radius:20px}.chart-list-row .progress-bar{border-radius:20px;background:linear-gradient(90deg,#087bd2,#11b4c4)}.chart-list-row b{text-align:right;font-size:9px}.map-box{height:270px;border-radius:11px;overflow:hidden}.map-large{height:540px;border-radius:11px;overflow:hidden}.map-legend{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:11px 4px 0;font-size:9px}.legend-dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:5px}.legend-dot.blue{background:#1484c9}.legend-dot.red{background:#e45c56}.table{font-size:10px;margin-bottom:0}.table thead th{background:#edf4fc;color:#27466d;font-size:9px;font-weight:800;border-bottom:1px solid #dfe9f5;white-space:nowrap}.table td{color:#33445d;vertical-align:middle}.table> :not(caption)>*>*{padding:8px 8px}.table-responsive{border-radius:9px}.table-actions{display:flex;gap:4px}.table-action{border:0;border-radius:6px;background:#e7f3ff;color:#0876c6;width:25px;height:25px;display:inline-grid;place-items:center;font-size:10px}.table-action.danger{background:#fff0ef;color:#e64f4b}.table-action:hover{filter:brightness(.95)}.data-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:13px}.data-toolbar .form-control{max-width:330px}.toolbar-buttons{display:flex;gap:7px;flex-wrap:wrap}.toolbar-buttons .btn{white-space:nowrap}.info-strip{background:#e8f3ff;border:1px solid #cce4fb;color:#174b7b;border-radius:10px;padding:10px 12px;font-size:10px;margin-bottom:12px}.info-strip i{font-size:15px;margin-right:7px;color:#087bd2}.status-pill{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:4px 8px;background:#e4f8e9;color:#188444;font-size:9px;font-weight:800}.status-pill:before{content:"";width:6px;height:6px;border-radius:50%;background:#20b35b}.status-pill.inactive{background:#fff0ee;color:#c84c46}.status-pill.inactive:before{background:#e45b52}.report-card h5{font-size:14px;font-weight:800;margin:14px 0 6px}.report-card p{min-height:34px}.report-card{height:100%}.form-control,.form-select{border-color:#d8e4f0;border-radius:9px;font-size:11px;padding:10px 12px}.form-control:focus,.form-select:focus{border-color:#1c91d0;box-shadow:0 0 0 .2rem rgba(22,136,197,.12)}.form-label{font-size:10px;font-weight:700;color:#36516f}.btn{border-radius:9px;font-size:11px;font-weight:700;padding:8px 13px}.btn-primary{background:#0879c9;border-color:#0879c9}.btn-primary:hover{background:#0565aa}.btn-outline-primary{color:#0874c2;border-color:#91bce1}.modal-content{border:0;border-radius:16px;overflow:hidden}.modal-header,.modal-footer{border-color:#edf1f6}.modal-title{font-weight:800;color:var(--navy)}
/* Login */
.login-page-sikmu{min-height:100vh;display:grid;place-items:center;padding:40px 22px;background:#dcecff;position:relative;overflow:hidden}.login-bg{position:fixed;inset:0;background:linear-gradient(110deg,rgba(3,69,132,.72),rgba(9,126,205,.48)),url('img/gedung-kelurahan-hero.jpg') center/cover no-repeat;filter:saturate(.78) brightness(.88);z-index:0}.login-bg:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(3,53,103,.08),rgba(5,81,146,.32))}.login-back{position:absolute;top:22px;left:28px;z-index:2;color:white;font-size:11px;font-weight:700;text-shadow:0 1px 8px rgba(0,0,0,.3)}.login-shell-sikmu{position:relative;z-index:1;width:min(1120px,100%);min-height:600px;display:grid;grid-template-columns:1fr 1fr;border-radius:26px;overflow:hidden;box-shadow:0 26px 90px rgba(3,40,78,.28);border:1px solid rgba(255,255,255,.7)}.login-brand-panel{position:relative;display:flex;align-items:center;padding:54px;background:linear-gradient(145deg,rgba(2,62,124,.96),rgba(4,124,202,.72)),url('img/gedung-kelurahan-hero.jpg') center/cover no-repeat;color:#fff;overflow:hidden}.login-brand-panel:after{content:"";position:absolute;left:-18%;right:-15%;bottom:-130px;height:220px;border-radius:50%;border-top:20px solid rgba(214,237,25,.96);background:linear-gradient(180deg,rgba(11,153,221,.42),rgba(0,73,144,.2))}.login-brand-content{position:relative;z-index:1}.login-brand-content img{width:138px;height:138px;object-fit:contain;display:block;margin-bottom:14px;filter:drop-shadow(0 6px 14px rgba(0,0,0,.18))}.login-brand-content h1{font-size:60px;font-weight:800;letter-spacing:-2px;margin:0 0 2px}.login-brand-content p{font-size:19px;font-weight:600;line-height:1.38;margin:0;color:#eaf7ff}.login-brand-underline{display:block;width:76px;height:6px;border-radius:6px;background:var(--lime);margin-top:18px}.login-form-panel{background:rgba(255,255,255,.98);padding:62px 54px;display:flex;flex-direction:column;justify-content:center}.login-eyebrow{font-size:16px;font-weight:800;color:var(--navy);display:flex;align-items:center;gap:12px;margin-bottom:20px}.login-eyebrow span{width:6px;height:34px;background:var(--lime);border-radius:6px}.login-form-panel h2{font-size:40px;font-weight:800;letter-spacing:-1.5px;color:#0a3478;margin:0 0 3px}.login-subtitle{font-size:16px;color:#7588a4;margin:0 0 28px}.login-field{height:60px;border:1.5px solid #cbd9e9;border-radius:13px;display:flex;align-items:center;gap:14px;padding:0 17px;margin-bottom:16px;color:#7e91aa;background:#fff}.login-field>i{font-size:17px}.login-field input{border:0;outline:0;box-shadow:none;flex:1;min-width:0;color:#18375f;font-size:14px;font-weight:700;background:transparent}.login-field input::placeholder{color:#8a9ab0}.password-toggle{border:0;background:transparent;color:#7489a5;padding:6px}.login-submit{width:100%;height:62px;border-radius:13px;margin-top:8px;font-size:16px;font-weight:800;letter-spacing:.2px;box-shadow:0 8px 18px rgba(5,105,185,.18)}.login-submit i{margin-right:12px}.login-roles{display:flex;align-items:flex-start;gap:10px;margin-top:25px;color:#6e809b;font-size:11px;line-height:1.6}.login-roles i{font-size:18px;color:#6798ca}.login-roles b{color:#0a3478}
/* Common utilities and responsive behavior */
.eyebrow{color:#1781c4}.text-secondary{color:#71829a!important}.leaflet-container{font-family:'Plus Jakarta Sans',sans-serif;font-size:11px}.leaflet-popup-content-wrapper{border-radius:10px}.leaflet-popup-content{line-height:1.6}.sidebar-collapsed .sidebar{width:76px;padding-left:8px;padding-right:8px}.sidebar-collapsed .side-brand b,.sidebar-collapsed .side-brand small,.sidebar-collapsed .brand-accent,.sidebar-collapsed .nav-caption,.sidebar-collapsed .sidebar .nav-link span,.sidebar-collapsed .sidebar-tagline{display:none}.sidebar-collapsed .side-brand img{width:54px;height:54px}.sidebar-collapsed .sidebar .nav-link{justify-content:center;padding:12px 4px}.sidebar-collapsed .sidebar .nav-link i{font-size:17px}.sidebar-collapsed .main-area{margin-left:76px}
@media(max-width:1100px){.sidebar{width:200px}.main-area{margin-left:200px}.page-content{padding:18px}.hero-banner{margin:-18px -18px 16px}.public-links{gap:20px;margin-right:20px}.public-hero-inner{padding-left:42px;padding-right:42px}.public-building-caption{display:none}}
@media(max-width:780px){.public-nav{height:auto;min-height:68px;padding:10px 16px;flex-wrap:wrap;gap:10px}.public-brand img{width:40px;height:40px}.public-brand b{font-size:18px}.public-brand small{font-size:8px}.public-links{order:3;width:100%;justify-content:center;gap:20px;margin:0}.public-links a{padding:8px 0;font-size:11px}.public-links a.active:after,.public-links a:hover:after{bottom:0}.public-login{font-size:10px;padding:9px 12px}.public-hero-inner{min-height:520px;padding:32px 22px 58px;align-items:flex-start}.public-hero-photo{background-position:58% center}.public-logo-lockup{gap:12px;margin-bottom:22px}.public-logo-lockup img{width:82px;height:82px}.lockup-divider{height:72px}.public-logo-lockup h1{font-size:40px}.public-logo-lockup p{font-size:13px}.public-intro h2{font-size:18px}.public-intro p{font-size:12px}.public-hero-cta{font-size:13px;padding:11px 17px}.vision-section{padding:28px 16px}.vision-card{min-height:0}.vision-card>p{font-size:16px}.mission-card li{font-size:11px}.public-footer{align-items:flex-start;flex-direction:column;padding:22px 18px 32px}.public-footer-left{max-width:100%}.public-footer-left img{width:76px;height:76px}.public-footer-left h3{font-size:16px}.public-footer-left p{font-size:10px}.public-social{border-left:0;border-top:1px solid #cbdcec;padding:14px 0 0;min-width:0;width:100%}.sidebar{position:relative;inset:auto;width:100%;height:auto;max-height:none;overflow:visible;padding:8px 10px;display:block}.side-brand{padding:3px;flex-direction:row;justify-content:center}.side-brand img{width:38px;height:38px}.side-brand b{font-size:17px}.side-brand small,.brand-accent,.nav-caption,.sidebar-bottom{display:none}.sidebar .nav-link{display:inline-flex;padding:9px;font-size:0;margin:2px;min-height:36px}.sidebar .nav-link span{display:none}.sidebar .nav-link i{font-size:15px}.main-area{margin-left:0}.topbar{height:60px;padding:0 12px}.top-title{font-size:11px}.top-sub{font-size:8px}.user-chip{padding:4px 8px 4px 4px;gap:6px}.user-chip b{font-size:8px;max-width:95px}.user-chip small{font-size:8px}.user-avatar{width:28px;height:28px}.user-chevron{display:none}.page-content{padding:14px}.hero-banner{margin:-14px -14px 14px;min-height:145px;padding:18px}.hero-banner h1{font-size:22px}.hero-date{display:none}.hero-orb{right:5%;font-size:60px}.map-large{height:420px}.stat-card{padding:10px;gap:8px}.stat-icon{width:34px;height:34px;flex-basis:34px;font-size:15px}.stat-card strong{font-size:15px}.app-footer{padding:10px 14px;align-items:flex-start}.app-footer-brand{display:none}.login-page-sikmu{padding:64px 14px 22px}.login-shell-sikmu{grid-template-columns:1fr;max-width:520px;min-height:0}.login-brand-panel{min-height:230px;padding:25px 30px}.login-brand-content img{width:76px;height:76px;margin-bottom:6px}.login-brand-content h1{font-size:36px}.login-brand-content p{font-size:13px}.login-brand-underline{margin-top:10px;width:54px;height:4px}.login-brand-panel:after{bottom:-155px}.login-form-panel{padding:30px 24px}.login-eyebrow{font-size:12px;margin-bottom:12px}.login-eyebrow span{height:25px}.login-form-panel h2{font-size:29px}.login-subtitle{font-size:13px;margin-bottom:20px}.login-field{height:52px}.login-submit{height:54px;font-size:13px}.login-roles{font-size:10px;margin-top:18px}.login-back{top:17px;left:16px}}
@media(max-width:420px){.public-brand small{display:none}.public-links{gap:13px}.public-links a{font-size:10px}.public-login{padding:8px}.public-login i{display:none}.public-logo-lockup img{width:66px;height:66px}.public-logo-lockup h1{font-size:34px}.public-logo-lockup p{font-size:11px}.public-intro{gap:10px}.public-intro h2{font-size:16px}.public-intro p{font-size:11px}.public-footer-left{gap:10px}.public-footer-left img{width:60px;height:60px}.topbar-left{gap:3px}.sidebar-toggle{padding:5px}.user-chip span:nth-child(2){display:none}}

@media(max-height:720px) and (min-width:781px){.sidebar{padding-top:10px}.side-brand{padding-bottom:8px}.side-brand img{width:58px;height:58px}.side-brand b{font-size:21px}.side-brand small{font-size:8px}.sidebar .nav-link{min-height:36px;padding:8px 10px;margin:1px 0}.nav-caption{padding:6px 12px}.sidebar-tagline{font-size:11px;padding-bottom:7px}}

/* =========================================
   FIX MODAL INPUT PENDUDUK SIKAMU
   Tombol simpan selalu terlihat
========================================= */

#residentModal .modal-dialog {
    height: calc(100vh - 2rem);
    max-height: calc(100vh - 2rem);
    margin: 1rem auto;
}

#residentModal .modal-content {
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#residentModal .modal-header {
    flex-shrink: 0;
    background: #fff;
    z-index: 5;
}

#residentModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

#residentModal .modal-footer {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    background: #fff;
    z-index: 10;
    border-top: 1px solid #e5eaf0;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
    padding: 14px 20px;
}

@media (max-width: 576px) {
    #residentModal .modal-dialog {
        height: calc(100dvh - 1rem);
        max-height: calc(100dvh - 1rem);
        margin: 0.5rem auto;
    }
}
/* =========================================
   MODAL LANDSCAPE DATA SOSIAL SIKAMU
========================================= */

#specialModal .modal-dialog {
    width: calc(100% - 48px);
    max-width: 1180px;
    height: calc(100vh - 48px);
    max-height: 900px;
    min-height: 560px;
    margin: 24px auto;
}

#specialModal .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: none;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,40,90,.18);
}

/* FORM */

#specialModal .modal-content > form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

/* HEADER */

#specialModal .modal-header {
    flex: 0 0 auto;
    padding: 20px 28px;
    background: #fff;
    border-bottom: 1px solid #edf1f6;
}

#specialModal .modal-title {
    font-size: 21px;
    font-weight: 800;
    color: #082e67;
}

/* BODY */

#specialModal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 24px 28px !important;
}

/* TIGA KOLOM DESKTOP */

@media (min-width: 992px) {
    #specialModal .modal-body .row > .col-md-6 {
        width: 33.333333%;
    }
}

/* JARAK FORM */

#specialModal .modal-body .row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 14px;
}

#specialModal .modal-body .form-label {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #36516f;
}

#specialModal .modal-body .form-control,
#specialModal .modal-body .form-select {
    min-height: 43px;
}

/* PEMBATAS BAGIAN */

#specialModal .modal-body hr {
    margin: 14px 0;
    border-color: #dce6f0;
}

/* FOOTER DALAM KOTAK PUTIH */

#specialModal .modal-footer {
    flex: 0 0 auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 17px 28px !important;
    background: #fff;
    border-top: 1px solid #e1eaf4;
    box-shadow: 0 -5px 15px rgba(0,40,90,.04);
    position: relative;
    z-index: 10;
}

#specialModal .modal-footer .btn {
    min-width: 115px;
    height: 43px;
    border-radius: 10px;
    font-weight: 700;
}

/* SCROLLBAR */

#specialModal .modal-body::-webkit-scrollbar {
    width: 6px;
}

#specialModal .modal-body::-webkit-scrollbar-thumb {
    background: #cbd9e8;
    border-radius: 10px;
}

/* TABLET */

@media (max-width: 991px) {
    #specialModal .modal-dialog {
        width: calc(100% - 24px);
        height: calc(100vh - 24px);
        margin: 12px auto;
    }

    #specialModal .modal-body .row > .col-md-6 {
        width: 50%;
    }
}

/* HP */

@media (max-width: 576px) {
    #specialModal .modal-dialog {
        width: calc(100% - 16px);
        height: calc(100dvh - 16px);
        min-height: 0;
        margin: 8px auto;
    }

    #specialModal .modal-body .row > .col-md-6 {
        width: 100%;
    }

    #specialModal .modal-header,
    #specialModal .modal-body {
        padding: 16px !important;
    }

    #specialModal .modal-footer {
        padding: 12px 16px !important;
    }
}
/* =========================================
   REDESIGN PETA INTERAKTIF SIKAMU
   Modern Dashboard - Navy Blue
========================================= */

/* FONT LOGO SIKAMU DI SIDEBAR */
.side-brand b {
    font-size: 22px;
    letter-spacing: .3px;
}


/* HALAMAN PETA */

.map-page {
    width: 100%;
    min-width: 0;
}

.map-page-heading {
    margin-bottom: 18px;
}

.map-page-heading .eyebrow {
    display: flex;
    align-items: center;
    gap: 7px;
}


/* STATISTIK PETA */

.map-summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 17px;
}

.map-summary-card {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 17px 15px;
    background: #fff;
    border: 1px solid #e2ebf5;
    border-radius: 15px;
    box-shadow: 0 5px 18px rgba(15,58,103,.045);
    transition: .2s ease;
}

.map-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(15,58,103,.09);
}

.map-summary-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: white;
    font-size: 19px;
}

.map-summary-icon.blue {
    background: linear-gradient(140deg,#0789e0,#0755ae);
}

.map-summary-icon.cyan {
    background: linear-gradient(140deg,#16c4d0,#0794b6);
}

.map-summary-icon.green {
    background: linear-gradient(140deg,#29c98b,#119b70);
}

.map-summary-icon.navy {
    background: linear-gradient(140deg,#164e91,#082e67);
}

.map-summary-card span {
    display: block;
    color: #71829a;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 3px;
}

.map-summary-card strong {
    display: block;
    color: #082e67;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
}

.map-summary-card small {
    display: block;
    color: #93a0b2;
    font-size: 9px;
    margin-top: 4px;
}


/* KARTU PETA UTAMA */

.map-main-card {
    padding: 0;
    overflow: hidden;
    border-radius: 17px;
    border: 1px solid #dce8f5;
    box-shadow: 0 8px 26px rgba(15,58,103,.065);
}

.map-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 19px 21px;
    background: linear-gradient(110deg,#fff,#f5faff);
    border-bottom: 1px solid #e7eef7;
}

.map-heading-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.map-heading-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(140deg,#087fdc,#064b96);
    color: white;
    font-size: 18px;
}

.map-heading-info h5 {
    color: #082e67;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 4px;
}

.map-heading-info small {
    color: #7d8fa8;
    font-size: 10px;
}

.map-filter-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-filter-area label {
    white-space: nowrap;
    color: #42617f;
    font-size: 10px;
    font-weight: 800;
}

.map-filter-area .form-select {
    width: 145px;
    min-height: 39px;
    background-color: white;
    border: 1px solid #d6e4f2;
    font-size: 11px;
    font-weight: 700;
    color: #07549a;
}


/* STATUS BAR PETA */

.map-status-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 11px 21px;
    background: #f5f9fe;
    border-bottom: 1px solid #e6eef7;
}

.map-status-bar span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #617993;
    font-size: 9px;
    font-weight: 700;
}

.map-status-bar span:first-child i {
    color: #18b77b;
}

.map-status-bar i {
    color: #1685cf;
    font-size: 11px;
}


/* AREA PETA */

.map-canvas-frame {
    position: relative;
    margin: 14px;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #dce8f4;
    background: #eaf2f8;
    box-shadow: 0 4px 15px rgba(15,58,103,.08);
}

#fullMap.map-large {
    width: 100%;
    height: 560px !important;
    min-height: 450px;
    border-radius: 15px;
    background: #eaf2f8;
    overflow: hidden;
}

.map-canvas-frame .leaflet-container {
    font-family: 'Plus Jakarta Sans',sans-serif;
    background: #eaf2f8;
}

/* Tampilan tile lebih soft */

.map-canvas-frame .leaflet-tile-pane {
    filter: saturate(.82) contrast(.97);
}

/* Keterangan mengambang */

.map-floating-caption {
    position: absolute;
    z-index: 500;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 10px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 4px 14px rgba(10,45,80,.12);
    color: #123b70;
    font-size: 10px;
    font-weight: 800;
    pointer-events: none;
}

.map-caption-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16b77b;
    box-shadow: 0 0 0 4px rgba(22,183,123,.12);
}


/* LEAFLET CONTROL */

.map-canvas-frame .leaflet-bar {
    border: 1px solid #dce7f2 !important;
    border-radius: 9px !important;
    overflow: hidden;
    box-shadow: 0 4px 13px rgba(10,45,80,.12) !important;
}

.map-canvas-frame .leaflet-bar a {
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-bottom-color: #e4edf5;
    color: #07549a;
    background: #fff;
}

.map-canvas-frame .leaflet-bar a:hover {
    background: #eaf5ff;
    color: #087bd2;
}

.map-canvas-frame .leaflet-control-attribution {
    font-size: 8px;
    background: rgba(255,255,255,.85);
}


/* POPUP INFORMASI RT/RW */

.map-canvas-frame .leaflet-popup-content-wrapper {
    border-radius: 12px;
    box-shadow: 0 7px 25px rgba(10,45,80,.15);
    border: 1px solid #e0eaf4;
}

.map-canvas-frame .leaflet-popup-content {
    color: #334b69;
    font-size: 11px;
    line-height: 1.7;
    margin: 13px 16px;
}

.map-canvas-frame .leaflet-popup-tip {
    background: white;
}

.map-canvas-frame .leaflet-tooltip {
    border: 1px solid #dce8f5;
    border-radius: 7px;
    color: #082e67;
    font-size: 10px;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(10,45,80,.1);
}


/* LEGENDA */

.map-legend-container {
    padding: 2px 21px 19px;
}

.map-legend-title {
    color: #193c68;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 11px;
}

.map-legend {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
    padding: 0;
}

.map-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #536b87;
    font-size: 10px;
    font-weight: 600;
}

.legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.blue {
    background: #1484c9;
}

.legend-dot.red {
    background: #e45c56;
}

.legend-dot.green {
    background: #16b77b;
}

.map-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid #edf1f6;
    color: #8999ac;
    font-size: 9px;
    line-height: 1.5;
}

.map-disclaimer i {
    color: #1685cf;
    margin-top: 1px;
}


/* KARTU REKAP RW DAN RT */

.map-data-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 14px;
    margin-top: 16px;
}

.map-data-card {
    min-width: 0;
    padding: 18px;
    border-radius: 15px;
}

.map-data-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 15px;
}

.map-data-heading-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: white;
    font-size: 15px;
}

.map-data-heading-icon.blue {
    background: linear-gradient(140deg,#087fdc,#0755ae);
}

.map-data-heading-icon.cyan {
    background: linear-gradient(140deg,#15bdc8,#078da9);
}

.map-data-heading h5 {
    margin: 0 0 4px;
    color: #082e67;
    font-size: 12px;
    font-weight: 800;
}

.map-data-heading small {
    color: #8999ac;
    font-size: 9px;
}

.map-count-badge {
    margin-left: auto;
    padding: 6px 11px;
    border-radius: 20px;
    background: #e7f4ff;
    color: #0876c6;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}


/* TABEL PETA */

.map-data-table {
    min-width: 350px;
}

.map-data-table thead th {
    padding: 11px 9px;
    background: #f0f6fc;
    color: #345578;
    border-bottom: 1px solid #e1ebf5;
}

.map-data-table td {
    padding: 11px 9px;
    border-bottom: 1px solid #edf2f7;
    font-size: 10px;
}

.map-data-table tbody tr:last-child td {
    border-bottom: 0;
}

.map-data-table tbody tr:hover {
    background: #f7fbff;
}

.map-area-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 9px;
    border-radius: 7px;
    background: #e8f3ff;
    color: #075ca6;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.map-area-badge.rt {
    background: #e8f8f5;
    color: #07846e;
}

.map-rt-table {
    max-height: 350px;
    overflow-y: auto;
}


/* RESPONSIVE TABLET */

@media (max-width: 1100px) {

    .map-summary-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    #fullMap.map-large {
        height: 500px !important;
    }

}


/* RESPONSIVE HP */

@media (max-width: 780px) {

    .map-data-grid {
        grid-template-columns: 1fr;
    }

    .map-main-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-filter-area {
        width: 100%;
        justify-content: space-between;
    }

    .map-filter-area .form-select {
        flex: 1;
        max-width: 180px;
    }

    .map-status-bar {
        gap: 10px 16px;
    }

    .map-canvas-frame {
        margin: 9px;
    }

    #fullMap.map-large {
        height: 430px !important;
        min-height: 380px;
    }

    .map-legend-container {
        padding: 3px 13px 15px;
    }

    .map-summary-card {
        padding: 12px 10px;
        gap: 8px;
    }

    .map-summary-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: 15px;
    }

    .map-summary-card strong {
        font-size: 17px;
    }

    .map-summary-card span {
        font-size: 9px;
    }

    .map-summary-card small {
        font-size: 8px;
    }

    .map-floating-caption {
        top: 10px;
        right: 9px;
        padding: 8px 10px;
        font-size: 8px;
    }

}

@media (max-width: 420px) {

    .map-summary-grid {
        gap: 8px;
    }

    .map-summary-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .map-summary-card strong {
        font-size: 18px;
    }

    .map-status-bar span {
        font-size: 8px;
    }

    #fullMap.map-large {
        height: 380px !important;
    }

}

/* =====================================================
   REVISI SIKAMU: PROFIL, AKUN, IMPOR, DAN DASHBOARD
===================================================== */

/* Logo aplikasi pada sidebar sedikit diperkecil */
.side-brand b {
    font-size: 19px !important;
    letter-spacing: .25px;
}

/* Foto pengguna di topbar */
.user-avatar-photo {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #dceaf8;
    background: #eaf4fc;
}

/* Pengaturan profil */
.profile-preview-card {
    text-align: center;
    padding: 26px 22px;
}
.profile-avatar-large {
    width: 112px;
    height: 112px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    color: #0b5e9d;
    background: linear-gradient(145deg,#e8f4ff,#d4e9fb);
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px #d8e7f5, 0 8px 24px rgba(7,67,117,.10);
    font-size: 42px;
}
.profile-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.profile-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #edf2f7;
    text-align: left;
    font-size: 12px;
}
.profile-info-row span:first-child {
    color: #75869b;
}
.profile-info-row b {
    color: #173d68;
}
.profile-bio-preview {
    margin: 16px 0 0;
    padding: 12px 14px;
    border-radius: 11px;
    background: #f5f9fd;
    color: #536a83;
    text-align: left;
    font-size: 12px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.profile-photo-actions {
    margin-top: 10px;
}
.profile-preview-card .scope-pill {
    display: inline-flex;
}

/* Modal konfirmasi logout */
.logout-confirm-card,
.user-delete-modal {
    border: 0;
    border-radius: 19px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(8,40,75,.18);
}
.logout-confirm-icon,
.user-delete-icon {
    width: 62px;
    height: 62px;
    margin: 2px auto 15px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #0878c5;
    background: #e8f4ff;
    font-size: 24px;
}
.user-delete-icon {
    color: #c74343;
    background: #fff0f0;
}
.user-delete-target {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 12px 15px;
    border: 1px solid #e4edf6;
    border-radius: 12px;
    background: #f7faff;
    color: #173d68;
}
.user-delete-target small {
    color: #8292a6;
}

/* Impor Excel data sosial */
.special-import-card {
    border: 1px solid #dce9f6;
    background: linear-gradient(135deg,#fff 0%,#f8fbff 100%);
}
.special-import-card .panel-head {
    margin-bottom: 12px;
}
.special-import-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}
.special-import-file {
    flex: 1 1 380px;
    min-width: 220px;
}
.special-import-file small {
    display: block;
    margin-top: 6px;
}
.special-import-form .btn {
    min-height: 42px;
    white-space: nowrap;
}
@media(max-width:576px) {
    .special-import-form {
        align-items: stretch;
        flex-direction: column;
    }
    .special-import-file {
        width: 100%;
    }
    .special-import-form .btn {
        width: 100%;
    }
}

/* Kontribusi aktivitas RT */
.activity-share {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 105px;
}
.activity-share .progress {
    height: 7px;
    flex: 1 1 auto;
    min-width: 45px;
    background: #eaf1f8;
}
.activity-share .progress-bar {
    background: linear-gradient(90deg,#087bd2,#18b5b7);
    border-radius: 10px;
}
.activity-share b {
    min-width: 42px;
    color: #315879;
    font-size: 10px;
}
.report-count-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 20px;
    background: #edf6ff;
    color: #0872bd;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}

/* Peta hanya berada pada dashboard */
#miniMap {
    height: 320px !important;
    min-height: 320px !important;
    border-radius: 12px;
    overflow: hidden;
}
.dashboard-map-card .panel-head {
    margin-bottom: 12px;
}
.dashboard-map-card .map-legend {
    padding-top: 12px;
}

/* Halaman profil publik */
.public-intro-centered {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    text-align: center;
}
.public-intro-centered .lime-line {
    align-self: stretch;
}
.public-intro-centered h2 {
    text-align: center;
}
.public-intro-centered p {
    text-align: center;
}
.public-links .guide-nav-link {
    color: #0874bf;
    font-weight: 800;
}
.public-links .guide-nav-link i {
    margin-right: 5px;
}
.public-social a[href^="tel:"] i {
    color: #159b72;
}
@media(max-width:780px) {
    .user-avatar-photo {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }
    .public-intro-centered {
        margin-left: auto;
        margin-right: auto;
    }
}
/* =================================
   REVISI HALAMAN PROFIL SIKAMU
   ================================= */

/* Profil wilayah: posisi dan seluruh teks rata kiri */
.public-intro-centered {
    width: 100%;
    max-width: 600px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    align-items: stretch !important;
    text-align: left !important;
}

.public-intro-centered > div,
.public-intro-centered h2,
.public-intro-centered p {
    text-align: left !important;
}

.public-intro-centered h2 {
    margin-left: 0 !important;
}

.public-intro-centered .lime-line {
    align-self: stretch;
}

/* Sembunyikan tulisan dekoratif jika berupa elemen HTML */
.public-building-caption {
    display: none !important;
}

/* Foto gedung: geser ke atas, perjelas, dan kurangi lapisan gelap */
.public-hero-photo {
    inset: 0 !important;
    background-image:
        linear-gradient(
            90deg,
            rgba(4,54,109,.72) 0%,
            rgba(4,73,132,.34) 43%,
            rgba(5,76,130,.03) 100%
        ),
        url('img/gedung-kelurahan-login.jpg') !important;
    background-position: center 100% !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    opacity: 1 !important;
    filter: saturate(1.12) brightness(1.16) contrast(1.04) !important;
}

/* Tampilan HP tetap rata kiri */
@media (max-width: 780px) {
    .public-intro-centered {
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        align-items: stretch !important;
    }

    .public-intro-centered h2,
    .public-intro-centered p {
        text-align: left !important;
    }

    .public-hero-photo {
        background-position: center 100% !important;
    }
}
/* =========================
   GLOBAL CONFIRM MODAL
========================= */
.confirm-modal {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(15, 43, 77, 0.18);
}

.confirm-modal .modal-body {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.confirm-modal-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff3cd 0%, #ffe6a7 100%);
    color: #f59e0b;
    font-size: 34px;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.18);
}

.confirm-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #123b6d;
    margin-bottom: 10px;
}

.confirm-modal-text {
    font-size: 15px;
    line-height: 1.7;
    color: #5f6f84;
    margin-bottom: 0;
    max-width: 420px;
    margin-inline: auto;
}

.confirm-modal-buttons {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.confirm-cancel-btn {
    min-width: 120px;
    border-radius: 14px;
    padding: 10px 20px;
    font-weight: 700;
    border: 1px solid #d7e3f2;
    color: #4f647d;
    background: #fff;
}

.confirm-delete-btn {
    min-width: 170px;
    border-radius: 14px;
    padding: 10px 20px;
    font-weight: 700;
    border: 0;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 12px 20px rgba(220, 38, 38, 0.22);
}

.confirm-delete-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

@media (max-width: 576px) {
    .confirm-modal-title {
        font-size: 20px;
    }

    .confirm-modal-text {
        font-size: 14px;
    }

    .confirm-modal-buttons {
        flex-direction: column;
    }

    .confirm-cancel-btn,
    .confirm-delete-btn {
        width: 100%;
    }
}

/* SIKAMU revision: Data Penduduk dropdown */
.sidebar .nav-parent{width:100%;border:0;background:transparent;text-align:left;cursor:pointer}
.sidebar .nav-parent .nav-chevron{width:auto;margin-left:auto;font-size:10px;transition:transform .2s ease}
.sidebar .nav-parent[aria-expanded="true"] .nav-chevron{transform:rotate(180deg)}
.sidebar .nav-submenu{margin:0 0 5px 12px;padding:3px 0 4px 10px;border-left:1px solid rgba(204,231,255,.3)}
.sidebar .nav-submenu .nav-link{min-height:34px;padding:8px 9px;margin:2px 0;gap:8px;font-size:10px;white-space:normal}
.sidebar .nav-submenu .nav-link i{width:16px;font-size:11px}
.sidebar-collapsed .nav-submenu{display:none!important}
.sidebar-collapsed .nav-parent .nav-chevron{display:none}

/* Dashboard role summaries */
.dashboard-note-list{display:flex;flex-direction:column;gap:12px;padding:8px 2px}
.dashboard-note-list>div{display:grid;grid-template-columns:12px 1fr auto;align-items:center;gap:10px;font-size:11px;color:#536984}
.dashboard-note-list b{font-size:12px;color:#153b68}
.note-dot{width:10px;height:10px;border-radius:50%;display:inline-block}
.note-dot.male{background:#087bd2}.note-dot.female{background:#f2bd20}.note-dot.total{background:#13b8a1}
.dashboard-map-card{min-width:0}
#miniMap{width:100%;height:320px;min-height:320px;border-radius:12px;overflow:hidden;background:#f7f9fc;border:1px solid #dce5ee}
#miniMap .leaflet-container{background:#fff;font-family:'Plus Jakarta Sans',sans-serif}
#miniMap .leaflet-control-zoom{border:0;box-shadow:0 3px 12px rgba(20,50,80,.15);border-radius:9px;overflow:hidden}
#miniMap .leaflet-control-zoom a{color:#173e64;border:0;width:30px;height:30px;line-height:30px}
.sikamu-map-title{background:rgba(255,255,255,.96);padding:8px 11px;border-radius:9px;box-shadow:0 3px 12px rgba(20,50,80,.13);border:1px solid #e5ebf2;color:#153e68;font-size:10px;font-weight:800;display:flex;align-items:center;gap:7px;max-width:calc(100% - 20px)}
.sikamu-map-title i{color:#087bd2}
.sikamu-map-legend{background:rgba(255,255,255,.96);padding:8px 10px;border-radius:9px;box-shadow:0 3px 12px rgba(20,50,80,.13);border:1px solid #e5ebf2;color:#455a70;font-size:9px;line-height:1.55;max-width:210px}
.sikamu-rw-popup{font-size:11px;line-height:1.7;color:#31445e;min-width:170px}
.sikamu-rw-popup>b{display:block;color:#07518b;font-size:13px;margin-bottom:3px}
.sikamu-rw-popup strong{color:#07518b}
@media(max-width:780px){
  .sidebar .nav-parent{display:inline-flex;width:auto;font-size:10px;padding:9px;min-height:36px}
  .sidebar .nav-parent span{display:inline}
  .sidebar .nav-parent .nav-chevron{display:inline-block;font-size:8px;margin-left:2px}
  .sidebar .nav-submenu{display:flex;flex-wrap:wrap;gap:2px;margin:0;padding:4px;border:0;width:100%}
  .sidebar .nav-submenu .nav-link{display:inline-flex;font-size:9px;min-height:30px;padding:6px 8px}
  .sidebar .nav-submenu .nav-link span{display:inline}
  #miniMap{height:290px;min-height:290px}
  .sikamu-map-title{font-size:9px;padding:6px 8px}
}


/* =====================================================
   REVISI FINAL: PETA RW REFERENSI PERSIS + POPUP RINGKASAN
===================================================== */
.rw-map-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 5 / 3;
    min-height: 0;
    border: 1px solid #dce5ee;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.rw-map-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
}
.rw-map-hotspots {
    position: absolute;
    inset: 0;
    z-index: 2;
}
.rw-map-hotspot {
    position: absolute;
    transform: translate(-50%, -50%);
    display: block;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    touch-action: manipulation;
}
.rw-map-hotspot:hover {
    background: rgba(13, 100, 160, .055);
    outline: 1px dashed rgba(13, 100, 160, .55);
}
.rw-map-hotspot:focus-visible {
    outline: 3px solid #087bd2;
    background: rgba(255, 255, 255, .12);
}
.rw-map-popup {
    position: absolute;
    z-index: 5;
    width: min(245px, calc(100% - 16px));
    padding: 13px 14px 14px;
    border: 1px solid #dbe6f0;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(17, 44, 70, .22);
    color: #34485f;
    font-size: 11px;
    line-height: 1.55;
}
.rw-map-popup[hidden] {
    display: none !important;
}
.rw-map-popup-close {
    position: absolute;
    top: 5px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #65768b;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}
.rw-map-popup-title {
    margin: 0 22px 8px 0;
    color: #07518b;
    font-size: 14px;
    font-weight: 800;
}
.rw-map-popup-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 5px 12px;
}
.rw-map-popup-grid b {
    color: #07518b;
    text-align: right;
    white-space: nowrap;
}
.chart-wrap-residence {
    height: 250px;
}
@media (max-width: 780px) {
    .rw-map-frame {
        border-radius: 9px;
    }
    .rw-map-popup {
        width: min(230px, calc(100% - 12px));
        padding: 11px 12px 12px;
        font-size: 10px;
    }
    .chart-wrap-residence {
        height: 235px;
    }
}


/* V5: logout is always available beside the profile chip, including on mobile. */
.topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    min-width: 0;
}
.topbar-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #f1d4d4;
    border-radius: 12px;
    background: #fff7f7;
    color: #b42332;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
.topbar-logout:hover,
.topbar-logout:focus-visible {
    background: #b42332;
    border-color: #b42332;
    color: #fff;
}
.rw-map-hitareas {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.rw-map-hitarea {
    fill: rgba(0, 0, 0, .001);
    stroke: transparent;
    stroke-width: 0;
    pointer-events: all;
    cursor: pointer;
    outline: none;
}
.rw-map-hitarea:hover {
    fill: rgba(8, 123, 210, .10);
}
.rw-map-hitarea:focus-visible {
    fill: rgba(8, 123, 210, .14);
    stroke: #087bd2;
    stroke-width: 4;
    stroke-dasharray: 10 7;
}
.rw-map-popup { pointer-events: auto; }
@media (max-width: 780px) {
    .topbar-actions { gap: 6px; }
    .topbar-logout { min-height: 34px; padding: 0 9px; gap: 5px; font-size: 10px; border-radius: 10px; }
}
@media (max-width: 420px) {
    .topbar { padding-left: 8px; padding-right: 8px; }
    .topbar-actions { gap: 5px; }
    .user-chip { padding: 3px; }
    .topbar-logout { min-height: 32px; padding: 0 8px; font-size: 9px; }
    .topbar-logout i { font-size: 12px; }
}


/* Keep the supplied 1600 x 960 map ratio on every screen size. */
#miniMap.rw-map-frame {
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 5 / 3;
}


/* Data Penduduk: row selection, select-all, sorting, and bulk deletion. */
.resident-bulk-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin:0 0 12px;padding:2px 0}
.resident-selected-count{font-size:10px;font-weight:700;color:#6b7f96}
.resident-bulk-delete{font-weight:800;letter-spacing:.2px}
.resident-bulk-delete:disabled{opacity:.48;cursor:not-allowed}
.resident-select-cell{width:34px;min-width:34px;text-align:center;vertical-align:middle!important}
.resident-select-cell .form-check-input{width:15px;height:15px;margin:0;vertical-align:middle;cursor:pointer;border-color:#9bb3ca}
.resident-select-cell .form-check-input:checked{background-color:#0879c9;border-color:#0879c9}
.table-sort-link{display:inline-flex;align-items:center;gap:5px;color:inherit;text-decoration:none;white-space:nowrap}
.table-sort-link:hover{color:#0879c9}
.table-sort-link i{font-size:10px;color:#0879c9}
@media(max-width:780px){.resident-bulk-toolbar{justify-content:space-between}.resident-selected-count{font-size:9px}}
