body {
    overflow-x: hidden;
}
.wrapper {
    display: flex;
    min-height: 100vh;
}
.sidebar {
    width: 280px;
    background: #FFF ;
    color: white;
    transition: all .3s;
}
.sidebar .nav-link {
    color: #198754;
}
.sidebar .nav-link:hover {
    background: #198754;/*rgba(255,255,255,.1);*/
    color: white;
}

.dropdown-item:hover{
    background: #198754;/*rgba(255,255,255,.1);*/
    color: white !important;
}

.submenu .nav-link {
    padding-left: 50px;
    font-size: 14px;
}
.content {
    flex: 1;
    background-color:#f7faff;
    min-width:0;
}
.sidebar-header {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-title {
    font-size: 12px;
    color: #198754;
    text-transform: uppercase;
    padding: 10px 20px;
}
@media (max-width: 991px) {
    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100%;
        z-index: 1050;
    }
    .sidebar.show {
        left: 0;
    }
}
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1040;
    display: none;
}
.sidebar-overlay.show {
    display: block;
}
#main-content{
    padding-bottom:70px !important;
}

.btn{
    min-width:200px !important;
    max-width:100% !important;
}

.btn-min{
    min-width:auto !important; 
}


.btn-max{
    min-width:100% !important; 
}

#loading {
    display: none; 
    width: 100vw;          /* Pakai vw (Viewport Width) agar fix seukuran layar HP */
    height: 100vh;         /* Pakai vh (Viewport Height) agar fix setinggi layar HP */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99999;        /* Naikkan z-index biar tidak balapan dengan sidebar */
    background-color: #FFFFFF;
}

#loading_ {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;           /* Memastikan konten di dalamnya punya ruang */
}

.modal-custom-close {
    position: absolute;
    /*top: -12px;*/
    /*right: -12px;*/
    top:10px;
    right:10px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20001 !important;
    pointer-events: auto !important;
}

.btn-circle {
   
    border-radius: 50%;
    width: 30px;
    height: 30px;
    padding: 0;
    pointer-events: auto !important;
}

