.form-control {
    padding: .7rem 1rem;
}

select.form-control {
    padding: .75rem 1rem;
}

/* Small Modal (sm) */
.modal-sm {
    max-width: 450px !important;
}

/* Large Modal (lg) */
.modal-lg {
    width: 80%;
    max-width: 900px;
}

/* Extra-Large Modal (xl) */
.modal-xl {
    width: 90%;
    max-width: 1200px;
}

/* Full-Width Modal */
.modal-full {
    width: 100%;
    max-width: 100%;
    margin: 5px;
    padding: 5px;
}

/* Make sure modals are responsive */
@media(max-width: 576px) {
    .modal-sm,
    .modal-lg,
    .modal-xl,
    .modal-full {
        width: 95%;
    }

    .btn-sm-block {
        display:block;
        width:100%;
    }
}

.pagination {
    justify-content: flex-end;
}

.page-item.active .page-link {
    background-color: #1a2035;
    border: none;
}

.table td,
.table th {
    height: 50px;
}

.colored-toast.swal2-icon-success {
    background-color: #18bb9c !important;
}

.colored-toast.swal2-icon-error {
    background-color: #e84c3d !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #f39c11 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #3598db !important;
}

.colored-toast.swal2-icon-question {
    background-color: #6b8a97 !important;
}

.colored-toast .swal2-title {
    color: white;
}

.colored-toast .swal2-close {
    color: white;
}

.colored-toast .swal2-html-container {
    color: white;
}

table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date {
    text-align: start;
}

.table td, .table th {
    letter-spacing: 0.05rem;
    font-size: 12px;
    padding: 5px 10px !important;
}

.selectgroup-button {
    padding: .40rem 1.5rem !important;
}

.form-check-label, .form-radio-label {
    margin-right: 50% !important;
    margin-left: 70% !important;
}

.daterange-picker, .form-control[readonly] {
    background: #fff !important;
    opacity: initial !important;
}

div:where(.swal2-container) div:where(.swal2-popup) {
    font-size: 0.85rem !important;
}

.bootstrap-select .btn-light {
    border-color: #ebedf2 !important;
}

div#table_loading_processing {
    z-index: 99999;
}

div.dt-processing {
    padding: 1em 0 !important;
}

.overlay {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    position: absolute;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    justify-content: center;
    align-items: center;
    z-index: 999; /* Pastikan overlay berada di atas elemen lain */
}

.overlay-message {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.gutters-xs {
    margin-right: -.25rem;
    margin-left: 0 !important;
}

.colorinput {
    display: flex !important;
    margin-top: .6rem !important;
    margin-bottom: .5rem !important;
}

.colorinput-color:before {
    content: '✔';
    font-size: 14px;
    color: #555555;
    display: inline-block;
    text-align: center;
}
