/********** select2 (Bootstrap 5 Compatible) *********/
.select2 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
}
.select2-selection__rendered {
    line-height: 16px !important;
}
.select2-selection--single .select2-selection__rendered {
    margin: 2px !important;
}
.select2-selection__placeholder {
    line-height: 12px !important;
    color: rgba(0, 0, 0, 0.4) !important;
}
.select2-selection--multiple .select2-selection__rendered {
    overflow: hidden !important;
    left: 8px !important;
    text-overflow: ellipsis !important;
    padding-left: 100px;
}
/*.select2-container.select2-container--bootstrap-5 {
    background-color: red !important;
}*/
.select2-container .select2-selection--single, 
.select2-container .select2-selection--multiple
 {
    font-size: 14px;
    height: 32px !important;  /* Set the height */
    line-height: 30px !important;  /* Align text vertically */
}
.select2-container .select2-selection--multiple::before {
    border-style: solid !important;
}
.select2-autocomplete .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove {
    display: none;
}
.select2-autocomplete .select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice > span.select2-selection__choice__display {
    margin-left: 12px !important;
}
.select2-container--bootstrap-5 .select2-selection__clear {
    width: 15px !important;
    height: 15px !important;
    padding-left: 3px;
    margin-top: 0px;
    font-size: medium;
    cursor: pointer !important;
    color: black;
}
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__clear {
    margin-right: 5px;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear {
    margin-right: -5px;
}
.select2-container--bootstrap-5 .select2-selection__clear:hover {
    color: red;
    background-color: transparent;
}
.select2-container--bootstrap-5 .select2-selection--multiple, 
.select2-container--bootstrap-5.select2-container--focus .select2-selection--multiple {
    overflow: hidden !important;
    border: 1px solid inherit;
}
.select2-results {
    font-size: 12px !important;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice {
    position: relative;
    border: none;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice > span.select2-selection__choice__display {
    font-size: 12px !important;
    margin-left: 2px !important;
    top: -2px !important;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove {
    border: none;
    background-color: transparent;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__choice__remove > span {
    float: left !important;
    font-size: small !important;
    text-align: center;
    margin-top: -4px!important;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-search__field,
.select2-container--bootstrap-5 .select2-selection--single .select2-selection__placeholder {
    margin-left: -1px;
}
.select2-container--disabled * {
    background-color: white !important;
    cursor: default !important;
    pointer-events: none !important;
}
.select2.disabled + .select2-container--bootstrap-5 .select2-selection--single .select2-selection__arrow {
    display: none;
}
.select2.disabled.border-0 + .select2-container .select2-selection--single {
    border: none !important;
    border-bottom: 1px solid gainsboro !important;
}

.select2-container--focus .select2-selection,
.select2-container .select2-selection,
.select2-results__option {
    /*outline: none !important;*/
    /*box-shadow: none !important;*/
    font-size: 14px !important;
}
/********** select2 *********/
