/* ==========================================================
   SI PRO UNGGUL
   Executive Dashboard
   Base Theme
========================================================== */

:root{
    --primary:#0D3B66;
    --secondary:#2563EB;

    --success:#16A34A;
    --warning:#F59E0B;
    --danger:#EF4444;

    --background:#F5F7FB;
    --card:#FFFFFF;

    --text:#1E293B;
    --muted:#64748B;

    --border:#E5E7EB;

    --shadow:
        0 10px 40px rgba(15,23,42,.08);

    --radius:22px;

    --transition:.30s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{

    width:100%;
    height:100%;

    font-family:'Plus Jakarta Sans',sans-serif;

    background:var(--background);

    color:var(--text);

}

body{

    overflow-x:hidden;

}

a{

    text-decoration:none;

}

img{

    max-width:100%;

}

button{

    transition:var(--transition);

}

.card{

    border:none;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}
/* ==========================================================
   APP LAYOUT
========================================================== */

#app{

    display:flex;

    min-height:100vh;

    width:100%;

}

/* ==========================================================
   SIDEBAR
========================================================== */

.sidebar{

    width:280px;

    background:#0D3B66;

    color:#fff;

    position:fixed;

    left:0;

    top:0;

    bottom:0;

    z-index:1040;

    display:flex;

    flex-direction:column;

    transition:.35s ease;

    box-shadow:0 0 40px rgba(0,0,0,.12);

}

.sidebar-header{

    padding:28px;

    border-bottom:1px solid rgba(255,255,255,.08);

}

.sidebar-logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.sidebar-logo img{

    width:52px;

}

.sidebar-logo h3{

    font-size:20px;

    font-weight:700;

    margin:0;

}

.sidebar-logo small{

    color:rgba(255,255,255,.7);

}

.sidebar-menu{

    padding:20px;

    flex:1;

}

.sidebar-menu ul{

    list-style:none;

    padding:0;

    margin:0;

}

.sidebar-menu li{

    margin-bottom:8px;

}

.sidebar-menu a{

    display:flex;

    align-items:center;

    gap:15px;

    color:#fff;

    padding:15px 18px;

    border-radius:16px;

    transition:.30s;

    font-weight:600;

}

.sidebar-menu a i{

    font-size:20px;

}

.sidebar-menu a:hover{

    background:rgba(255,255,255,.12);

    transform:translateX(6px);

}

.sidebar-menu a.active{

    background:#2563EB;

}

/* ==========================================================
   MAIN
========================================================== */

.main-wrapper{

    flex:1;

    margin-left:280px;

    display:flex;

    flex-direction:column;

    min-height:100vh;

}

/* ==========================================================
   NAVBAR
========================================================== */

.top-navbar{

    height:78px;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:0 35px;

    border-bottom:1px solid #ECEFF5;

    position:sticky;

    top:0;

    z-index:1000;

}

.page-title h2{

    margin:0;

    font-size:24px;

    font-weight:800;

}

.page-title small{

    color:#64748B;

}

.navbar-right{

    display:flex;

    align-items:center;

    gap:18px;

}

.nav-icon{

    width:46px;

    height:46px;

    background:#F5F7FB;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:.3s;

}

.nav-icon:hover{

    background:#2563EB;

    color:#fff;

}

.profile{

    display:flex;

    align-items:center;

    gap:12px;

}

.profile img{

    width:48px;

    height:48px;

    border-radius:50%;

}

.profile-name{

    font-weight:700;

}

/* ==========================================================
   CONTENT
========================================================== */

.page-wrapper{

    padding:35px;

    flex:1;

}

/* ==========================================================
   HERO
========================================================== */

.hero-card{

    background:linear-gradient(135deg,#0D3B66,#2563EB);

    color:#fff;

    border-radius:28px;

    padding:35px;

    overflow:hidden;

    position:relative;

    margin-bottom:28px;

    box-shadow:0 25px 60px rgba(37,99,235,.25);

}

.hero-card h1{

    font-size:34px;

    font-weight:800;

}

.hero-card p{

    opacity:.92;

    font-size:16px;

}

.hero-button{

    margin-top:20px;

}

.hero-button .btn{

    border-radius:16px;

    padding:12px 22px;

}

/* ==========================================================
   SUMMARY
========================================================== */

.summary-grid{

    display:grid;

    grid-template-columns:repeat(6,1fr);

    gap:20px;

    margin-bottom:30px;

}

.summary-card{

    background:#fff;

    border-radius:22px;

    padding:25px;

    box-shadow:var(--shadow);

    transition:.3s;

}

.summary-card:hover{

    transform:translateY(-6px);

}

.summary-icon{

    width:54px;

    height:54px;

    border-radius:18px;

    background:#EFF6FF;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:15px;

}

.summary-icon i{

    font-size:22px;

    color:#2563EB;

}

.summary-value{

    font-size:34px;

    font-weight:800;

}

.summary-label{

    color:#64748B;

    margin-top:5px;

}
/* ==========================================================
   DASHBOARD GRID
========================================================== */

.dashboard-grid{

    display:grid;

    grid-template-columns:2fr 1.3fr 1fr;

    gap:24px;

    margin-bottom:25px;

}

.bottom-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:24px;

    margin-top:25px;

}

/* ==========================================================
   CARD
========================================================== */

.dashboard-card{

    background:#fff;

    border-radius:22px;

    box-shadow:var(--shadow);

    padding:24px;

    transition:.30s;

    position:relative;

    overflow:hidden;

}

.dashboard-card:hover{

    transform:translateY(-6px);

}

.dashboard-card h4{

    font-size:18px;

    font-weight:700;

    margin-bottom:20px;

}

/* ==========================================================
   PROGRAM CARD
========================================================== */

.program-item{

    padding:16px;

    border-radius:18px;

    background:#F8FAFC;

    margin-bottom:15px;

    transition:.30s;

    cursor:pointer;

}

.program-item:hover{

    background:#EFF6FF;

    transform:translateX(5px);

}

.program-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.program-name{

    font-weight:700;

    font-size:15px;

}

.program-percent{

    font-size:14px;

    font-weight:700;

}

.progress{

    height:8px;

    margin-top:12px;

    border-radius:50px;

    background:#E5E7EB;

}

.progress-bar{

    border-radius:50px;

}

.status{

    display:inline-flex;

    align-items:center;

    gap:6px;

    margin-top:12px;

    font-size:13px;

    font-weight:600;

}

.status.green{

    color:#16A34A;

}

.status.yellow{

    color:#F59E0B;

}

.status.red{

    color:#EF4444;

}

/* ==========================================================
   AI CARD
========================================================== */

.ai-card{

    background:linear-gradient(180deg,#0D3B66,#193D83);

    color:white;

}

.ai-avatar{

    width:72px;

    height:72px;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    margin-bottom:20px;

}

.ai-card h3{

    font-size:22px;

    font-weight:700;

}

.ai-card p{

    opacity:.9;

    line-height:1.7;

}

.ai-card .btn{

    border-radius:14px;

    margin-top:20px;

}

/* ==========================================================
   MAP
========================================================== */

.map-box{

    width:100%;

    height:380px;

    border-radius:18px;

    background:#F1F5F9;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#94A3B8;

    font-size:18px;

}

/* ==========================================================
   WARNING CARD
========================================================== */

.warning-item{

    display:flex;

    gap:15px;

    margin-bottom:18px;

}

.warning-icon{

    width:46px;

    height:46px;

    border-radius:14px;

    background:#FEF2F2;

    color:#EF4444;

    display:flex;

    align-items:center;

    justify-content:center;

}

.warning-text h5{

    margin:0;

    font-size:15px;

    font-weight:700;

}

.warning-text small{

    color:#64748B;

}

/* ==========================================================
   OPD
========================================================== */

.opd-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:12px 0;

    border-bottom:1px solid #EDF2F7;

}

.opd-name{

    font-weight:600;

}

.opd-status{

    color:#16A34A;

    font-weight:700;

}

/* ==========================================================
   AGENDA
========================================================== */

.agenda-item{

    display:flex;

    gap:15px;

    margin-bottom:20px;

}

.agenda-time{

    width:65px;

    height:50px;

    border-radius:14px;

    background:#EFF6FF;

    color:#2563EB;

    display:flex;

    align-items:center;

    justify-content:center;

    font-weight:700;

}

.agenda-info h5{

    margin:0;

    font-size:15px;

    font-weight:700;

}

.agenda-info small{

    color:#64748B;

}

/* ==========================================================
   FOOTER
========================================================== */

.footer{

    margin-top:30px;

    padding:20px;

    color:#94A3B8;

    text-align:center;

    font-size:14px;

}
/* ==========================================================
   BUTTON PREMIUM
========================================================== */

.btn{

    border-radius:14px;

    font-weight:600;

    transition:.30s;

}

.btn-primary{

    background:linear-gradient(135deg,#2563EB,#0D3B66);

    border:none;

}

.btn-primary:hover{

    transform:translateY(-3px);

    box-shadow:0 12px 30px rgba(37,99,235,.35);

}

.btn-outline-primary{

    border-radius:14px;

}

/* ==========================================================
   CARD EFFECT
========================================================== */

.dashboard-card,
.summary-card,
.hero-card{

    transition:.35s;

}

.dashboard-card:hover,
.summary-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 60px rgba(0,0,0,.08);

}

/* ==========================================================
   GLASS EFFECT
========================================================== */

.glass{

    background:rgba(255,255,255,.75);

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

}

/* ==========================================================
   BADGE
========================================================== */

.badge-soft-success{

    background:#DCFCE7;

    color:#16A34A;

}

.badge-soft-warning{

    background:#FEF3C7;

    color:#D97706;

}

.badge-soft-danger{

    background:#FEE2E2;

    color:#DC2626;

}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#F1F5F9;

}

::-webkit-scrollbar-thumb{

    background:#CBD5E1;

    border-radius:50px;

}

::-webkit-scrollbar-thumb:hover{

    background:#94A3B8;

}

/* ==========================================================
   ANIMATION
========================================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.fade-up{

    animation:fadeUp .6s ease;

}

@keyframes pulseGlow{

    0%{

        box-shadow:0 0 0 rgba(37,99,235,.2);

    }

    50%{

        box-shadow:0 0 25px rgba(37,99,235,.3);

    }

    100%{

        box-shadow:0 0 0 rgba(37,99,235,.2);

    }

}

.hero-card{

    animation:pulseGlow 6s infinite;

}

/* ==========================================================
   ICON BOX
========================================================== */

.icon-circle{

    width:54px;

    height:54px;

    border-radius:18px;

    display:flex;

    align-items:center;

    justify-content:center;

    background:#EFF6FF;

    color:#2563EB;

    font-size:22px;

}

/* ==========================================================
   TABLE
========================================================== */

.table{

    border-collapse:separate;

    border-spacing:0 10px;

}

.table tbody tr{

    background:white;

    box-shadow:var(--shadow);

}

.table tbody td{

    border:none;

    padding:18px;

}

/* ==========================================================
   FORM
========================================================== */

.form-control{

    border-radius:14px;

    border:1px solid #E5E7EB;

    min-height:48px;

}

.form-control:focus{

    border-color:#2563EB;

    box-shadow:0 0 0 .15rem rgba(37,99,235,.15);

}

/* ==========================================================
   MODAL
========================================================== */

.modal-content{

    border:none;

    border-radius:24px;

    overflow:hidden;

}

.modal-header{

    background:#0D3B66;

    color:white;

}

.modal-body{

    padding:25px;

}

/* ==========================================================
   MOBILE
========================================================== */

@media(max-width:991px){

.sidebar{

    left:-100%;

}

.sidebar.open{

    left:0;

}

.main-wrapper{

    margin-left:0;

}

.summary-grid{

    grid-template-columns:repeat(2,1fr);

}

.dashboard-grid{

    grid-template-columns:1fr;

}

.bottom-grid{

    grid-template-columns:1fr;

}

.page-wrapper{

    padding:20px;

}

.hero-card{

    padding:25px;

}

.hero-card h1{

    font-size:26px;

}

}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media(max-width:576px){

.summary-grid{

    grid-template-columns:1fr;

}

.top-navbar{

    padding:15px;

}

.page-title h2{

    font-size:18px;

}

.hero-card{

    border-radius:18px;

}

.dashboard-card{

    border-radius:18px;

}

}

/* ==========================================================
   END
========================================================== */
/* ==========================================
SIDEBAR FOOTER
========================================== */

.sidebar-footer{

    padding:20px;

    border-top:1px solid rgba(255,255,255,.08);

}

.user-card{

    display:flex;

    gap:12px;

    align-items:center;

}

.user-card img{

    width:48px;

    height:48px;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.15);

}

.user-card strong{

    display:block;

    color:#fff;

}

.user-card small{

    color:rgba(255,255,255,.65);

}

.logo-box{

    width:58px;

    height:58px;

    border-radius:18px;

    background:rgba(255,255,255,.12);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    color:white;

}
/* ==========================================
TOP NAVBAR
========================================== */

.notification-dot{

    position:absolute;

    top:8px;

    right:10px;

    width:10px;

    height:10px;

    border-radius:50%;

    background:#EF4444;

    border:2px solid white;

}

.clock-box{

    padding:10px 18px;

    background:white;

    border-radius:18px;

    box-shadow:var(--shadow);

    text-align:center;

}

.clock-box div{

    font-size:18px;

    font-weight:700;

}

.clock-box small{

    color:#64748B;

}

.profile{

    padding-left:18px;

    border-left:1px solid #E5E7EB;

}

.profile small{

    color:#64748B;

}

.profile img{

    object-fit:cover;

}

.top-navbar{

    backdrop-filter:blur(18px);

    background:rgba(255,255,255,.86);

}
/* ==========================================
PETA SVG
========================================== */

.map-wrapper{

position:relative;

display:flex;

justify-content:center;

align-items:center;

padding:20px;

}

svg#gorutMap{

width:100%;

max-width:780px;

height:auto;

}

.kecamatan{

cursor:pointer;

transition:.25s;

stroke:#ffffff;

stroke-width:3;

}

.kecamatan:hover{

transform:translateY(-3px);

filter:brightness(1.05);

stroke:#0D3B66;

stroke-width:4;

}

.map-tooltip{

position:absolute;

background:#ffffff;

padding:15px 18px;

border-radius:14px;

box-shadow:0 15px 40px rgba(0,0,0,.15);

min-width:240px;

pointer-events:none;

opacity:0;

transition:.2s;

z-index:999;

}

.map-tooltip h5{

margin-bottom:8px;

font-weight:700;

}

.map-tooltip small{

color:#6b7280;

}

.map-tooltip.show{

opacity:1;

}