
.select2-container .select2-selection--single {
    height:43px;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    padding:0.75rem 3rem 0.75rem 1rem;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 22px;
    font-size: 1.1rem;
    color: #000;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px;
    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='%237E8299' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px 12px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    width: 40px;
}

/* Remove the default arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none;
}

.select2-search--dropdown {
    display: block;
    padding: 0.5rem 1.25rem;
    margin: 0 0 0.5rem 0;
}

.select2-container .select2-dropdown {
    border: 0;
    box-shadow: 0px 0px 50px 0px rgba(82, 63, 105, 0.15);
    border-radius: 0.475rem;
    padding: 1rem 0;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 0.55rem 0.75rem;
    color: #181C32;
    font-size: 0.925rem;
    border: 1px solid #E4E6EF;
    border-radius: 0.475rem;
    outline: 0 !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #ECF8FF;
    color: #009EF7;
    transition: color 0.2sease, background-color 0.2sease;
}

.select2-container--bootstrap5 .select2-dropdown .select2-results__option {
    color: #5E6278;
    transition: color 0.2sease, background-color 0.2sease;
    padding: 0.75rem 1.25rem;
    margin: 0 0;
}

.select2-results__option {
    color: #5E6278;
    transition: color 0.2sease, background-color 0.2sease;
    padding: 0.75rem 1.25rem;
    margin: 0 0;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #E4E6EF;
    border-radius: 0.475rem;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    font-size:1.1rem;
    color: #A6A6A6;
}
.is-invalid + .select2-container .select2-selection--single {
    border-color: #F1416C !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23F1416C'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23F1416C' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(1.95em + 0.375rem) center;
    background-size: calc(0.75em + 0.75rem) calc(0.75em + 0.75rem);
}

.flag-container {
    display: inline-block;
    width: 24px; 
    margin-right: 8px;
    text-align: center;
}
.country-flag {
    height: 16px;
    max-width: 24px; 
    vertical-align: middle;
    object-fit: contain; 
}
.select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color: #e4e6ef;
    color: #181C32;
    border-radius: 0.4rem;
    margin: 0.2rem 0.4rem 0.2rem 0;
    border: none;
}
.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) .select2-selection__choice .select2-selection__choice__remove {
  height: 0.6rem;
  width: 0.6rem;
  margin-right: 0.5rem;
  border: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border: none;
}
.select2-container--default .select2-selection--multiple{
    padding: 0.5rem 1.25rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding-left : 22px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove{

}
.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) .select2-selection__choice .select2-selection__choice__display {
    margin-left: 1.2rem;
    font-size: 0.9rem;
}
.select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__display {
    font-weight: 500;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    position: absolute;
    left: 5px;
    top: -4px;
    font-size: 1.8rem;
    font-weight: 100;
    color: #c5c5c7;

}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-left : 4px;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{
    background-color: #e4e6ef;
     color: #b3b3b5;
}
.select2-container--default .select2-selection--multiple {
    padding-top: 0.3rem;
    padding-bottom: 0.8rem;
    padding-left: 1.0rem;
    padding-right: 1.25rem;
}