﻿.select2-results__option--selected {
    padding-left: 1rem
}

.select2-results__option.select2-results__option--selected .select2-container--bootstrap5 .select2-dropdown .select2-results__option.select2-results__option--highlighted {
    background-color: var(--bs-text-gray-200);
}


/* Global Select2 dropdown fix - Select2 dropdowns are often appended to body */
.select2-container--bootstrap5 .select2-dropdown {
    z-index: 2020 !important;
}

/* More specific Select2 fixes for when dropdowns are rendered outside modal DOM */
.select2-dropdown {
    z-index: 2020 !important;
}

.select2-container--open .select2-dropdown {
    z-index: 2020 !important;
}