:root{
    --primary:#16a085;
    --secondary:#3498db;
    --success:#2ecc71;
    --warning:#f39c12;
    --danger:#e74c3c;
    --bg:#f4f6f9;
}

body{
    background:var(--bg);
    font-family:'Segoe UI',sans-serif;
    overflow-x:hidden;
}

.sidebar{
    width:260px;
    height:100vh;
    position:fixed;
    left:0;
    top:0;
    background:#fff;
    box-shadow:0 0 20px rgba(0,0,0,.05);
    z-index:1000;
}

.logo{
    padding:25px;
    font-size:24px;
    font-weight:bold;
    color:var(--primary);
    border-bottom:1px solid #eee;
}

.menu{
    list-style:none;
    padding:0;
    margin:0;
}

.menu li a{
    display:block;
    padding:14px 20px;
    color:#555;
    text-decoration:none;
}

.menu li a:hover{
    background:var(--primary);
    color:#fff;
}

.main{
    margin-left:260px;
    padding:20px;
}

.card-dashboard{
    border:none;
    border-radius:18px;
    box-shadow:0 2px 15px rgba(0,0,0,.05);
}

.kpi-title{
    font-size:13px;
    color:#666;
}

.kpi-value{
    font-size:30px;
    font-weight:700;
}

#chartPengiriman{
    height:320px !important;
}

#map{
    width:100%;
    height:420px;
    border-radius:15px;
}

.status-success{
    background:#d4edda;
    color:#155724;
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
}

.status-warning{
    background:#fff3cd;
    color:#856404;
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
}

.status-info{
    background:#d1ecf1;
    color:#0c5460;
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
}

.avatar{
    width:45px;
    height:45px;
    border-radius:50%;
}

@media(max-width:991px){

    .sidebar{
        display:none;
    }

    .main{
        margin-left:0;
        padding:15px;
    }

    #map{
        height:300px;
    }

}

.badge{
    font-size:12px;
}

.alert{
    border-radius:12px;
}

.table-hover tbody tr:hover{
    background:#f8f9fa;
}

.card-dashboard{
    transition:.3s;
}

.card-dashboard:hover{
    transform:translateY(-3px);
}


.offcanvas{
    max-width:280px;
}

.offcanvas .list-group-item{
    border:none;
    padding:15px;
    font-size:15px;
}

.offcanvas .list-group-item:hover{
    background:#16a085;
    color:#fff;
}

@media(max-width:991px){

    .main{
        margin-left:0;
        padding-top:15px;
    }

}

.progress{
    border-radius:20px;
}

.progress-bar{
    border-radius:20px;
}

#chartPengiriman{
    max-height:220px;
}


/* Floating Menu Mobile */

.floating-menu{
    position:fixed !important;
    right:20px !important;
    bottom:20px !important;
    width:60px !important;
    height:60px !important;
    border-radius:50% !important;
    border:none !important;

    background:#16a085 !important;
    color:#fff !important;

    font-size:24px !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;

    box-shadow:0 5px 20px rgba(0,0,0,.3) !important;

    z-index:99999 !important;
}

/* Desktop disembunyikan */

@media (min-width:992px){

    .floating-menu{
        display:none !important;
    }

}


