/* Оверлей для проверки возраста, только для секции #barMenu */
#barMenu {
    position: relative; /* Устанавливаем позицию для правильного абсолютного позиционирования оверлея */
}

#barMenu .age-gate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70vh;
    background-color: rgba(154, 153, 153, 0.96); /* Темный полупрозрачный фон */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999; /* Поверх контента только внутри секции */
    pointer-events: auto; /* Оверлей будет перехватывать клики */
}

#barMenuContentWrapper .age-gate-height {
    height: 70vh;
    overflow-y: auto;
}

/* Принудительно показываем блок поиска и выравниваем вправо */
.dataTables_wrapper .dataTables_filter {
    display: block !important;
    float: right !important;
    text-align: right !important;
    margin-bottom: 15px;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Стилизация самого поля ввода */
.dataTables_wrapper .dataTables_filter input {
    display: inline-block !important;
    width: 250px !important;     /* Ширина поля */
    height: 38px !important;     /* Высота */
    padding: 6px 12px !important;
    font-size: 14px !important;
    line-height: 1.42857143 !important;
    color: #555 !important;      /* Темный цвет текста */
    background-color: #fff !important; /* Белый фон */
    background-image: none !important;
    border: 1px solid #ccc !important; /* Рамка */
    border-radius: 4px !important;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    margin-left: 10px;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

/* Убираем float при адаптивности, чтобы не ломалось на мобильных */
@media (max-width: 767px) {
    .dataTables_wrapper .dataTables_filter {
        float: none !important;
        text-align: center !important;
        margin-top: 10px;
    }
    .dataTables_wrapper .dataTables_filter input {
        width: 100% !important;
        margin-left: 0;
    }
}