:root {
    --text-bg-hover:#b52d36;
    --text-bg-selected:var(--bs-primary);
    --bg-selected:var(--bs-primary);
    --bg-card-selected:  linear-gradient(180deg, rgba(233, 60, 71, 0.3) 0%, rgba(131, 34, 40, 0.21) 100%);
}
[data-bs-theme=dark]:root {
    --text-show:#fff;
    --bg-select:#2a3447;
    --border-select:transpernt;
}
[data-bs-theme=light]:root {
    --text-show:#fff;
    --bg-select:transpernt;
    --border-select:var(--bs-gray-300);

}

/* start edit select2  */

/* custome colors start*/
.select2-container.select2-container--default.select2-container--open  {
    z-index:1055;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-show);
}

.select2-dropdown {
    background: var(--reverse-color);
    backdrop-filter: blur(15px);
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background: var(--text-bg-selected);
    color: white !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background: var(--text-bg-hover);
    color: white !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: var(--bg-select);
}
/* custome colors end*/
html[dir="ltr"] .select2-container--default .select2-selection--single,
html[dir="ltr"] .select2-container--default .select2-selection--multiple {
    justify-content:end;
}

html[dir='ltr'] .select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 8px;
    padding-left: 20px;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background-color: var(--bg-select) !important;
    backdrop-filter: blur(15px);
    display: flex !important;
    min-height: 2.6rem !important;
    align-items: center;
    padding: 0.2rem 0.7rem 0.2rem 0.5rem;
    border-radius: 0.5125rem !important;
    border: 1px solid var(--border-select) !important;
}

/* .select2-container {
    min-width: 100%;
    max-width: 100%;
    width: 100% !important;
    z-index:5;
} */

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--bs-gray-200) !important;
    color: black !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    margin-bottom: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear,
.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-left: 0 !important;
    margin-right: 3px !important;
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--bg-selected);
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 0 !important;
    padding: 0 1px 0 2px !important;
}

.item-form.landing-page .select2-container--default .select2-selection--single {
    border: 0 !important;
}

.item-form.landing-page .select2-container--default .select2-selection--single .select2-selection__arrow::after {
    color: var(--primary);
}

.select2-container--default .select2-results__option--selected {
    background-color: var(--bg-selected) !important;
    color: var(--text-show) !important;
}

.select2-container--default .select2-results__option--selected:hover,
.select2-container--default .select2-results__option--selected:active,
.select2-container--default .select2-results__option--selected:focus,
.select2-container--default .select2-results__option--selected:visited {
    background-color: var(--bg-selected) !important;
    color: white !important;
}

.select2-results__option {
    padding: 6px 10px !important;
    border-radius: 10px;
    margin: 0 0 2px 0;
    transition: .2s all ease-in-out;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding: .1rem 1rem !important;
    width: auto;
    height: auto;
    display: inline-flex !important;
    align-items: center;
    border-radius: 0.35088rem !important;
    color: var(--bg-selected);
    font-size: 0.80106rem !important;
    font-weight: 600 !important;
    line-height: normal !important;
    background: rgb(241 242 252) !important;
    border: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: var(--bg-selected) !important;
    border-left: 0 !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    padding: 0 !important;
    height: 100%;
    left: 6px !important;
}

.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 12px !important;
    padding-right: 7px !important;
    padding-bottom: 2px;
}

.select2-dropdown {
    border: 0 !important;
    border-radius: .8125rem !important;
    padding: 11px 10px;
    top: -4px;
    box-shadow: 0 0 8px #0000001f;
    z-index: 1029;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    position: absolute;
    left: 10px !important;
    top: 1px;
    right: 1px;
    width: 20px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0 !important;
    position: relative !;
    transition: .3s all ease-in-out;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow,
.select2-container--default .select2-selection--multiple[aria-expanded="true"]::before {
    transform: rotate(180deg);
}

.select2-container--open .select2-dropdown--below {
    animation-name: fadeInUp;
    animation-duration: .5s;
    border: none;
    box-shadow: 0 0 8px #0000001f;
    margin-top: 8px;
    padding: 10px;
    border-radius: 0.8125rem !important;
}

.select2-container--open .select2-dropdown--above {
    animation-name: fadeInDown;
    animation-duration: .5s;
}

.select2-search--dropdown .select2-search__field {
    padding: 4px;
    border-radius: 8px;
    width: 100%;
    background: transparent;
    box-sizing: border-box;
    outline-offset: 0;
}

.select2-container--default .select2-selection--multiple {
    padding-right: 1.27rem !important;
    padding-left: 1.27rem !important;
    position: relative;
    overflow: hidden;
}

.select2-container--default .select2-search--inline .select2-search__field {
    background: transparent;
    border: none;
    outline: 0;
    box-shadow: none;
    -webkit-appearance: textfield;
}

.select2-container--default .select2-selection--multiple::before {
    position: absolute;
    left: 10px;
    display: flex;
    align-items: center;
    height: 100%;
    transition: .3s all ease-in-out;
}

.select2-container--default .select2-selection--single .select2-selection__arrow::after,
.select2-container--default .select2-selection--multiple::before {
    content: "\ea5f";
    font-weight: 900;
    font-family: "tabler-icons" !important;

}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border: 0 !important;
}

/* end edit select2  */

/* start edit PhoneNumbar validtion  */
.iti__arrow::before {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    border-top: 0 !important;
}

.iti__arrow {
    border: 0 !important;
    width: auto !important;
    height: auto !important;
    transition: .3s all ease-in-out;
}

.iti__selected-flag {
    padding: 0px 12px 0px 8px !important;
}

.iti__flag {
    border-radius: 2px;
}

.iti--inline-dropdown .iti__dropdown-content {
    padding: 10px;
    border-radius: 0.8125rem;
    border: 0 !important;
    animation-name: fadeInUp;
    animation-duration: .5s;
}

.iti--fullscreen-popup .iti__dropdown-content {
    padding: 10px 10px 0 10px;
    border-radius: .8125rem;
    animation-name: zoomInUp;
    animation-duration: .5s;
}

.iti__selected-flag[aria-expanded="true"] .iti__arrow {
    transform: rotate(180deg);
}

.iti__search-input {
    border-radius: 8px !important;
    border: 1px solid black !important;
    margin-bottom: 7px;
    padding: 5px 12px !important;
}

.iti__search-input + .iti__country-list {
    border-top: 0 !important;
}

.iti__country {
    border-radius: 8px;
}

.iti__country.iti__highlight {
}

/* end edit PhoneNumbar validtion  */
