/* Change the appearence of the bakground colour surrounding the search input field */
.select2-search {
    background-color: var(--input-bg) !important;
}
    /* Change the appearence of the search input field */
    .select2-search input {
        color: var(--bs-body-color) !important;
        background-color: var(--input-bg) !important;
    }

/* Change the appearence of the search results container */
.select2-results {
    background-color: var(--input-bg) !important;
}

/* Change the appearence of the dropdown select container */
.select2-container--bootstrap-5 .select2-selection {
    border: var(--input-border) !important;
    color: var(--bs-body-color);
    background-color: var(--input-bg) !important;
}
.select2-container--bootstrap-5 .select2-selection:focus {
/*	color: var(--input-text-focus) !important;
    background-color: var(--input-bg-focus) !important;
    border: var(--input-border-focus) !important;*/
}

/* Change the caret down arrow symbol to white */
.select2-container--bootstrap-5 .select2-selection--single {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

/* Change the color of the default selected item i.e. the first option */
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    color: #ffffff !important;
}
