/* Специальный класс для блюра */
.navbar-blur {
    /* Чтобы блюр был виден, фон должен быть полупрозрачным */
    background-color: rgba(255, 255, 255, 0.6) !important;

    /* Сам эффект размытия */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Для поддержки Safari */

    /* Плавный переход при скролле */
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* Настройка для мобильного меню (когда оно открыто) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(20px);
        border-radius: 10px;
        margin-top: 10px;
        padding: 15px;
    }
}

.form_tourists {
    position: relative;
    width: 260px;
    font-family: inherit;
    cursor: pointer;
}

.form_tourists .form-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFEFE;       /* как input */
    border: 0 solid #ACCAE5;
    border-bottom: 1px solid #99B4CC; /* линия снизу */
    padding: 8px 12px;
    border-radius: 0;
    color: #39434D;
    transition: border-bottom 0.3s;
}

.form_tourists.open .form-title {
    border-bottom: 2px solid #ff7a00; /* оранжевая при открытии */
}

.form_tourists .tourists_field {
    pointer-events: none;
}

.form_tourists .tourists_dropdown {
    display: none;
    position: absolute;
    width: 100%;
    background: #FFFEFE;             /* светлый фон */
    border-radius: 0;
    border: 1px solid #99B4CC;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 10px;
    margin-top: 2px;
    z-index: 10;
}

.form_tourists.open .tourists_dropdown {
    display: block;
}

/* Взрослые */
.form_tourists .adults-count {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.form_tourists .adults-count button {
    width: 28px;
    height: 28px;
    border: none;
    background: #eee;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
}

.form_tourists .adults-count button:hover {
    background: #007bff;
    color: #fff;
}

/* Дети */
.children-list {
    margin-top: 8px;
}

.children-list .child-item {
    display: flex;
    gap: 5px;
    margin-bottom: 5px;
}

.children-list select {
    flex: 1;
}


.select-with-icon {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-with-icon .select-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #607080;
    pointer-events: none; /* чтобы иконка не мешала клику */
}

.select-with-icon select.form-voyage-control {
    padding-left: 35px; /* место для иконки */
    width: 100%;
    appearance: none;        /* убираем стандартную стрелку */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%2339434D' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}