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

.select2-selection__rendered {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding-left: 8px;
    padding-right: 28px;
    line-height: 2em !important;
    color: #6c757d;
}

.select2-container .select2-selection--single {
    height: 38px;
    padding: 0;
    border-radius: 0.25rem;
}

.select2-selection__placeholder {
    color: #6c757d;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #d3d3d3 !important;
    /* Light grey background */
    color: #000000 !important;
    /* Black text */
}

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

.select2-selection__rendered {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding-left: 8px;
    padding-right: 28px;
    line-height: 2em !important;
    color: #6c757d;
}

.select2-container .select2-selection--single {
    height: 38px;
    padding: 0;
    border-radius: 0.25rem;
}

.select2-selection__placeholder {
    color: #6c757d;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #d3d3d3 !important;
    /* Light grey background */
    color: #000000 !important;
    /* Black text */
}

.profile-header {
    background: linear-gradient(90deg, #4e73df, #1cc88a);
    color: white;
    padding: 20px;
    border-radius: 10px;
}

.profile-header h4 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.profile-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.table thead {
    background-color: #f8f9fc;
}

.table th,
.table td {
    vertical-align: middle;
}

.payment-table {
    margin-top: 20px;
}

.payment-table th,
.payment-table td {
    text-align: center;
}

.status-paid {
    color: green;
    font-weight: bold;
}

.status-pending {
    color: red;
    font-weight: bold;
}

#deleteByGradeAndDescModal .select2-container {
    z-index: 9999; /* Higher than modal's z-index */
}

/* Style the dropdown items */
#deleteByGradeAndDescModal .select2-results__option {
    padding: 8px;
    font-size: 14px;
}

/* Style the search field */
#deleteByGradeAndDescModal .select2-container .select2-search--dropdown .select2-search__field {
    padding: 8px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
}