.select {
    position: relative;
    display: flex;
    align-items: center;
    width: 48.3%;
    min-width: 250px;
    position: relative;
    border-radius: 4rem;
    height: 0.5rem;
    /* height: fit-content; */
    line-height: 1.25;
    padding: 1.5rem;
    border: 1px solid #a8a9ad;
    background-color: #ffffff;
}

.select__toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    line-height: 145%;
    white-space: nowrap;
    color: #676767;
}

.select__toggle::after {
    content: "";
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
    margin-left: 0.8rem;
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s ease;
    background-image: url("../icons/arrow-down.svg");
}

.select__toggle:focus {
    outline: none;
}

.select_show .select__toggle::after {
    transform: rotate(180deg);
}

.select__dropdown {
    opacity: 0;
    visibility: hidden;
    min-width: 100%;
    width: max-content;
    max-width: 300px;
    max-height: 0;
    position: absolute;
    padding: 8px 0;
    top: 60px;
    left: 0;
    background: #ffffff;
    border: 1px solid #a8a9ad;
    border-radius: 12px;
    z-index: -11;
}

.select_show .select__dropdown {
    z-index: 2;
    display: block;
    opacity: 1;
    visibility: visible;
    max-height: 3000px;
}

.select_show .select__backdrop {
    z-index: 2;
    display: block;
    opacity: 1;
    visibility: visible;
    max-height: 3000px;
}

.select__options {
    background: #ffffff;
    overflow-y: auto;
    max-height: 172px;
}

.select__options::-webkit-scrollbar {
    width: 4px;
}

.select__options::-webkit-scrollbar-track {
    background-color: transparent;
}

.select__options::-webkit-scrollbar-thumb {
    background-color: #a8a9ad;
}

.select__option {
    cursor: pointer;
    color: black;
    padding: 8px 15px;
    text-decoration: none;
    display: block;
    background: #ffffff;
    transition: all 0.5s ease;
}

.select__option_selected {
    background-color: #ececec;
}

.select__option:hover {
    background-color: #ececec;
}
.error {
    font-weight: 400;
    font-size: 12px;
    line-height: 24px;

    color: #ee2e3b;
}

.text-field__wrapper .select{
    width: fit-content;
}