p {
    margin: 0 !important;
    padding: 0 !important;
}
/* css custom select2 */
.selection {
    width: 100% !important;
    height: calc(2.25rem + 2px) !important;
}

.select2-container--default .select2-selection--single {
    border: none;
    border-radius: var(--bs-border-radius);
    padding: 0.5rem 0.35rem;
    /* height: calc(2.5rem + 2px); */
    height: auto !important;
    min-height: 2.5rem !important;
    background-color: #f5f5f5;
    background-image: none;
    width: 100%;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    width: 100% !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 6px;
    right: 5px;
    width: 20px;
}

.select2-container--open .select2-dropdown--below {
    border: none !important;
    border-radius: var(--bs-border-radius);
    background-color: #fff;
    padding: 0.6rem 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    border: none !important;
    border-radius: 0.5rem;
    background-color: #f5f5f5;
    margin: 0.5rem 0;
    padding: 0.5rem 0.35rem;
}
.select2-container--default
    .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #f5f5f5 !important;
    color: var(--text-primary) !important;
}

.form-control {
    padding: 0.5rem 0.85rem;
    border: none !important;
    background-color: #f5f5f5;
    background-image: none;
}

.form-control::placeholder {
    color: #999;
    opacity: 1;
}

.form-control:focus {
    border: none !important;
    box-shadow: none !important;
    background-color: #f6f6f6;
}

#swal2-title {
    text-align: center;
    font-size: 1.5rem !important;
}

.fs-18 {
    font-size: 13px !important;
}

.fs-17 {
    font-size: 12px !important;
}

.py-2 {
    padding: 0.5rem 0.35rem !important;
}

.fs-16 {
    font-size: 12px !important;
}

.table-lbd {
    border: none !important;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    width: 100%;
    overflow: hidden;
}
.table-lbd thead th {
    background-color: #f5f5f5;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    padding: 0.5rem 0.35rem;
    border: none;
    border-radius: 10px !important;
}

.table-lbd thead th:first-child {
    border-top-left-radius: 10px !important;
    border-bottom-left-radius: 10px !important;
}

.table-lbd tbody tr {
    border: none !important;
}

.clean-table {
    width: 100%;
    border-collapse: collapse; /* Gộp border */
    border-radius: 8px; /* Bo tròn góc */
    overflow: hidden; /* Ẩn phần thừa */
}

.clean-table thead th {
    background-color: #f5f5f5;
}

/* Kiểu cho các ô tiêu đề */
.clean-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 500;
    color: #333;
}

/* Kiểu cho các ô nội dung */
.clean-table td {
    padding: 12px 15px;
    border: none; /* Bỏ border */
}

/* Màu nền xen kẽ cho các dòng */
.clean-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.clean-table tbody tr:nth-child(odd) {
    background-color: #fff;
}

/* Hiệu ứng khi di chuột qua */
.clean-table tbody tr:hover {
    background-color: #f0f0f0;
}

.select2-container--default .select2-results>.select2-results__options {
    max-height: 60vh !important;
    min-height: auto !important;
    overflow-y: auto !important;
}
