#custom-confirm {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-confirm {
    background: white;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.btn-custom-confirm {
    margin: 5px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #007bff;
    color: white;
}

.swal-actions-stacked {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-align-top > .tab-content .tab-pane.show:has(.select2),
.nav-align-bottom > .tab-content .tab-pane.show:has(.select2) {
    transform: unset !important;
    /* ยกเลิก transform หากมี select2 */
}

.input-group .select2-search__field {
    width: 100% !important;
}

#tableView tbody tr.selected {
    background-color: rgb(13, 110, 253);
    box-shadow: -4px 0px 0px 0px rgb(50, 50, 180);
}

#tableView tbody tr.selected td {
    color: white;
}

.min-w-200px {
    min-width: 200px !important;
}

.select2-results__option[aria-disabled='true'] {
    color: #999999;
    background-color: #f0f0f0;
    cursor: not-allowed;
    font-style: italic;
}

.select2-results__option[aria-disabled='true']:hover {
    background-color: #f0f0f0;
}
