/* start loading */
.loading-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    max-width: 200px;
    /* width: 100%; */
    /* padding: 16px; */
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f8f9fa; /* Warna abu terang */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.8,
}

.loading-icon {
    border: 8px solid #ee1c24;
    border-radius: 50%;
    border-top: 8px solid #ffffff;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    /* margin-bottom: 20px; */
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    color: #555;
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999998;
}
/* end loading */


/* start datatables */
.dataTables_wrapper .dataTables_processing {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff0;
    border-radius: 5px;
    padding: 0 !important;
/*      box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);*/
    font-size: 16px;
/*      width: 0 !important;*/
    background: transparent !important;
}

.dataTables_processing i.fa-spinner {
    color: #007bff;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    padding: 0.5em 0.1em !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:active {
    background-color: #ffffff;
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
    color: #ffffff;
    outline: none;
    border: none;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background-color: #ffffff;
    background-image: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
    color: #ffffff;
    outline: none;
    border: none;
}
.dataTables_paginate .pagination .previous {
    margin-right: 10px;
}
.datatables_loading {
    font-weight: bold;
    font-size: 20px;
    color: #ee1c24;
}
/* end datatables */

/* start error form */
.page-link {
    border: none;
}
.error-form {
    color: red;
    font-weight: bold;
    font-size: 12px;
}
/* end error form */

/* start line form */
.div_between_line {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #000;
    line-height: 0.1em;
    margin: 10px 0 20px;
}
.span_between_line {
    background:#fff;
    padding:0 10px;
}
/* end line form */

/* start select2 */
.select2-container .select2-selection--single{
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: -1px !important;
    user-select: none;
    -webkit-user-select: none;
}
/* end select2 */

/* start dropdown filter */
.dropdown-filter-card {
    width: 300px;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #d5d3d3;
}
/* end dropdown filter */

/* start menu untuk layar small and large */
.dropdown-menu-small {
    display: none;
}

@media (min-width: 769px) {
    .menu-large {
        display: block;
    }
    .menu-small {
        display: none;
    }
    .menu-toggle {
        display: none;
    }
}
@media (max-width: 768px) {
    .menu-large {
        display: none;
    }
    .menu-small {
        display: block;
    }
    .menu-toggle {
        display: block;
    }
}
/* end menu untuk layar small and large */

/* start custom col */
.custom-col-5 {
    flex-basis: calc((100% / 7) - 10px); /* Sesuaikan jumlah kolom dan jarak antar kolom */
}
/* end custom col */