.select2-container{
    display: block;
}

/* Main select box styling */
.select2-container .select2-selection--single {
    height: 40px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    /*padding: 5px 10px;*/
    padding: 5px;
    font-size: 16px;
    color: #4b5563;
    background-color: #f9fafb;
    transition: border-color 0.3s ease;
}

/* Hover and focus effect */
.select2-container .select2-selection--single:hover,
.select2-container .select2-selection--single:focus {
    border-color: #6b7280;
}

/* Arrow icon styling */
.select2-container .select2-selection--single .select2-selection__arrow {
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
}

/* Placeholder text */
.select2-container .select2-selection--single .select2-selection__placeholder {
    color: #9ca3af;
    font-style: italic;
}

/* Dropdown styling */
.select2-container .select2-dropdown {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Dropdown item styling */
.select2-container .select2-results__option {
    padding: 8px 15px;
    font-size: 15px;
    color: #374151 !important; /* Default font color */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect for dropdown items */
.select2-container .select2-results__option--highlighted {
    background-color: #e5e7eb !important; /* Light background on hover */
    color: #1f2937 !important; /* Dark font color on hover for readability */
}

/* Selected item styling in the dropdown */
.select2-container .select2-results__option[aria-selected=true] {
    background-color: #e5e7eb;
    font-weight: bold;
}

/* Clear button styling (when applicable) */
.select2-container .select2-selection__clear {
    color: #6b7280;
    font-weight: bold;
    font-size: 18px;
    right: 30px;
    top: 10px;
    position: absolute;
    cursor: pointer;
    transition: color 0.3s ease;
}

.select2-container .select2-selection__clear:hover {
    color: #111827;
}

.select2 select2-container select2-container--default{
    width: 100%;
}

.select2-container .select2-selection--multiple{
    min-height: 38px;
}