.select {
    visibility: hidden;
}
.select2-container {
    visibility: visible;
}
.select {
    padding: 0px;
    margin: 0px;
    width: 100%;
    outline: none;
    border: 0px;
    font-size: 1rem;
    font-weight: 600;
    transition: all ease 0.24s;
    -webkit-appearance: none;
    background-color: transparent;
    border-radius: 0px;
    padding-right: 2rem;
    background-repeat: no-repeat;
    background-position: center right;
    font-weight: 600;
    cursor: pointer;
}

.select {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='11' viewBox='0 0 16 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L8 8L14 2' stroke='%23111111' opacity='.24' stroke-width='2'/%3E%3C/svg%3E%0A");
}

 
.select::placeholder {
    color: var(--color__text-3);
}

.select:hover {}


.select:hover {
    color: var(--color__dark);
}



.select.--border {
    padding: 0 1.5rem;
    border: .125rem solid var(--color__border);
    border-radius: .5rem;
    height: 3.5rem;
    background-position: calc(100% - 1.25rem) center;
}

.select.--border:hover {
    border: .125rem solid var(--color__dark);
}

.select.--border:focus {
    box-shadow: 0px .5rem 2rem rgba(0, 0, 0, 0.08);
    border: .125rem solid var(--color__dark);
}


.select.--fill {
    padding: 0 1rem;
    border-radius: .75rem;
    border: .125rem solid transparent;
    background-color: var(--color__fill-4);
    height: 3.5rem;
    background-position: calc(100% - .75rem) center;
    padding-right: 3rem;
}

.select.--fill:hover {
    border: .125rem solid transparent;
    background-color: var(--color__fill-4-h);
}

.select.--fill:focus {
    box-shadow: 0px .5rem 2rem rgba(0, 0, 0, 0.08);
    border: .125rem solid var(--color__dark);
    background-color: white;
}

.select.--l {
    font-size: 1.125rem;
    height: 4.5rem;
}

.select.--m {
    font-size: .875rem;
    height: 2.5rem;
}

/* Базовые стили для контейнера Select2 */
.select2-container {
    width: 100% !important;
    outline: none;
}

/* Стили для выбранного элемента */
.select2-container .select2-selection--single {
    min-width: 250px;
    height: auto;
    border: 0px;
    border-radius: 0px;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 600;
    transition: all ease 0.24s;
    cursor: pointer;
}
.select2-container--default .select2-results__option--highlighted[aria-selected]{
    background-color: #212024!important;
}
/* Внутренний контейнер выбранного элемента */
.select2-container .select2-selection__rendered {
    padding: 0px;
    padding-right: 2rem;
    color: inherit;
    font-weight: 600;
    line-height: normal;
}

/* Стрелка Select2 */
.select2-container .select2-selection__arrow {
    display: none;
}

/* Кастомная стрелка как в оригинале */
.select2-container .select2-selection--single {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='11' viewBox='0 0 16 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L8 8L14 2' stroke='%23111111' opacity='.24' stroke-width='2'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-position: center right;
}

/* Выпадающее меню */
.select2-container--default .select2-results > .select2-results__options {
    max-height: 300px;
}

/* Элементы в выпадающем меню */
.select2-container--default .select2-results__option {
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    transition: all ease 0.24s;
    background-color: white;
    border: none;
}

/* Ховер на элементы меню */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--color__fill-4);
    color: inherit;
}

/* Выбранный элемент в меню */
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: var(--color__fill-4);
    color: inherit;
}

/* === Модификатор --border === */
.select.--border + .select2-container .select2-selection--single {
    padding: 0 1.5rem;
    border: .125rem solid var(--color__border) !important;
    border-radius: .5rem;
    height: 3.5rem;
    background-position: calc(100% - 1.25rem) center;
    display: flex;
    align-items: center;
}

.select.--border + .select2-container .select2-selection--single:hover {
    border: .125rem solid var(--color__dark) !important;
}

.select.--border + .select2-container.select2-container--focus .select2-selection--single {
    box-shadow: 0px .5rem 2rem rgba(0, 0, 0, 0.08);
    border: .125rem solid var(--color__dark) !important;
}

/* === Модификатор --fill === */
.select.--fill + .select2-container .select2-selection--single {
    padding: 0 1rem;
    border-radius: .75rem;
    border: .125rem solid transparent !important;
    background-color: var(--color__fill-4);
    height: 3.5rem;
    background-position: calc(100% - .75rem) center;
    padding-right: 3rem;
    display: flex;
    align-items: center;
}

.select.--fill + .select2-container .select2-selection--single:hover {
    border: .125rem solid transparent !important;
    background-color: var(--color__fill-4-h);
}

.select.--fill + .select2-container.select2-container--focus .select2-selection--single {
    box-shadow: 0px .5rem 2rem rgba(0, 0, 0, 0.08);
    border: .125rem solid var(--color__dark) !important;
    background-color: white;
}

/* === Модификатор --l (большой) === */
.select.--l + .select2-container .select2-selection--single {
    font-size: 1.125rem;
    height: 4.5rem;
}

.select.--l + .select2-container .select2-selection__rendered {
    font-size: 1.125rem;
}

/* === Модификатор --m (маленький) === */
.select.--m + .select2-container .select2-selection--single {
    font-size: .875rem;
    height: 2.5rem;
}

.select.--m + .select2-container .select2-selection__rendered {
    font-size: .875rem;
}

/* Плейсхолдер */
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--color__text-3);
}

/* Фокус состояния */
.select2-container--focus .select2-selection--single {
    outline: none;
}

/* Выпадающее меню - общие стили */
.select2-container--default .select2-dropdown {
    border: none;
    border-radius: .75rem;
    box-shadow: 0px .5rem 2rem rgba(0, 0, 0, 0.08);
    margin-top: 4px;
    overflow: hidden;
}

/* Контейнер результатов */


.select2-container--default .select2-results__option {
    scrollbar-width: thin;
    scrollbar-color: #212024 transparent;
}

.select2-container--default .select2-results__option::-webkit-scrollbar {
    width: 6px;
}

.select2-container--default .select2-results__option::-webkit-scrollbar-track {
    background: transparent;
}

.select2-container--default .select2-results__option::-webkit-scrollbar-thumb {
    background-color: #212024;
    border-radius: 3px;
}

.select2-container--default .select2-results__option::-webkit-scrollbar-thumb:hover {
    background-color: #212024;
}

.select2-container--default .select2-results > .select2-results__options {
    scrollbar-width: thin;
    scrollbar-color: #212024 transparent;
}

.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar {
    width: 6px;
}

.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar-track {
    background: transparent;
}

.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar-thumb {
    background-color: #212024;
    border-radius: 3px;
}

.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar-thumb:hover {
    background-color: #212024;
}

.select2-container .select2-selection--single .select2-selection__rendered{
    padding-left: 0 !important;
    padding-right: 0 !important;
}





