.custom-select {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.options {
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
    background-color: #fff;
}

.option {
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.option:hover {
    background-color: #f0f0f0;
}

.custom-select .options {
    top: 50px;
}

/* Стили для активного состояния поля ввода */
.search-input:focus {
    border-color: #007bff;
    outline: none;
}

/* Стили для активного состояния опции */
.option.active {
    background-color: #007bff;
    color: #fff;
}

/* Добавляем новый класс для активного списка */
.options.active {
    display: block;
}

/* Скрываем опции по умолчанию */
.option.hidden {
    display: none;
}