/* ==========================================
   НОВЫЙ БЛОК: ЦЕНОВАЯ ЛЕГЕНДА + УПРАВЛЕНИЕ ЗУМОМ
   ========================================== */
.evpl-price-legend-wrapper {
    /* background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px; */
    padding: 2px 2px;
}

.evpl-price-legend-wrapper .evpl-room-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 0;
}

.evpl-price-legend-wrapper .block-evpl-room-prices {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    transition: background 0.2s, border-color 0.2s;
}

.evpl-price-legend-wrapper .block-evpl-room-prices:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.12);
}

.evpl-price-legend-wrapper .evpl-room-price-color {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.evpl-price-legend-wrapper .evpl-price-info {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
    white-space: nowrap;
}

.evpl-price-legend-wrapper .evpl-price-value {
    font-size: 13px;
}

/* === Позиционирование зума === */

/* Десктоп: зум справа от легенды */
@media (min-width: 992px) {
    .evpl-price-legend-wrapper .evpl-zoom-controls {
        /* transform: translateY(-50%); */
        flex-direction: column;
        align-items: flex-end;
        gap: 6px;
    }
}

/* Мобильные: зум снизу */
@media (max-width: 991.98px) {
    .evpl-price-legend-wrapper {
        padding: 8px 10px;
    }

    .evpl-price-legend-wrapper .evpl-room-prices {
        gap: 6px 8px;
    }

    .evpl-price-legend-wrapper .block-evpl-room-prices {
        padding: 4px 8px;
        gap: 4px;
    }

    .evpl-price-legend-wrapper .evpl-room-price-color {
        width: 12px;
        height: 12px;
    }

    .evpl-price-legend-wrapper .evpl-price-info {
        font-size: 12px;
    }

    .evpl-price-legend-wrapper .evpl-zoom-controls {
        position: static;
        margin-top: 10px;
        justify-content: center;
    }
}

/* Стиль кнопок зума */
.evpl-price-legend-wrapper .evpl-zoom-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d1d7e0;
    background: #2c3a55;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.10);
    line-height: 1;
    padding: 0;
    user-select: none;
}

.evpl-price-legend-wrapper .evpl-zoom-btn:hover {
    background: #3d4f70;
    border-color: #4b5f7a;
    transform: scale(1.05);
}

.evpl-price-legend-wrapper .evpl-zoom-btn:active {
    transform: scale(0.95);
}

/* Нативные стрелки и символы */
.evpl-price-legend-wrapper .evpl-zoom-btn::before,
.evpl-price-legend-wrapper .evpl-zoom-btn::after {
    content: none;
}

.evpl-price-legend-wrapper .evpl-zoom-reset {
    font-size: 15px;
    padding: 0 4px;
}


/* ==========================================
   СТИЛИ МОДОРНЫХ ПРЕДМЕТОВ
   Применяются к блоку .evpl-fixed-header (используется на страницах мероприятий)
   ========================================== */

.evpl-fixed-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
    background: rgba(255, 255, 255, 0.80);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 10px 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.evpl-fixed-header .evpl-room-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    padding: 0;
    margin: 0;
    list-style: none;
    min-width: 0;
}

.evpl-fixed-header .block-evpl-room-prices {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0;
    margin: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    transition: background 0.2s, border-color 0.2s;
}

.evpl-fixed-header .block-evpl-room-prices:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.12);
}

.evpl-fixed-header .evpl-room-price-color {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.evpl-fixed-header .evpl-price-info {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.2;
    white-space: nowrap;
}

.evpl-fixed-header .evpl-price-value {
    font-size: 13px;
}

/* === Позиционирование зума === */

.evpl-fixed-header .evpl-zoom-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.evpl-fixed-header .evpl-zoom-controls .evpl-zoom-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #d1d7e0;
    background: #2c3a55;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.10);
    line-height: 1;
    padding: 0;
    user-select: none;
}

.evpl-fixed-header .evpl-zoom-controls .evpl-zoom-btn:hover {
    background: #3d4f70;
    border-color: #4b5f7a;
    transform: scale(1.05);
}

.evpl-fixed-header .evpl-zoom-controls .evpl-zoom-btn:active {
    transform: scale(0.95);
}


/* Позиционирование зума */

/* Большие экраны: зум справа от легенды (через сетку Bootstrap) */
@media (min-width: 992px) {
    .evpl-fixed-header .evpl-zoom-controls {
        display: flex;
        align-items: center;
        gap: 6px;
    }
}

/* Мобильные: зум снизу (супер-компактный) */
@media (max-width: 991.98px) {
    .evpl-fixed-header {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 2px 4px;
        background: rgba(255, 255, 255, 0.55);
    }

    .evpl-fixed-header .evpl-room-prices {
        gap: 1px 3px;
    }

    .evpl-fixed-header .block-evpl-room-prices {
        padding: 1px 3px;
        gap: 1px;
    }

    .evpl-fixed-header .evpl-room-price-color {
        width: 10px;
        height: 10px;
    }

    .evpl-fixed-header .evpl-price-info {
        font-size: 9px;
    }

    .evpl-fixed-header .evpl-zoom-controls {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 1px;
		        border-left: none !important;
        margin: 0 !important;
        padding: 0 !important;
        margin-left: 0 !important;
    }

    .evpl-fixed-header .evpl-zoom-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* Убираем лишний отступ сверху у второй колонки (зум) на мобилках */
    .evpl-fixed-header .row > .col-12:last-child {
        margin-top: 0 !important;
    }
}


/* ОБНОВЛЁННЫЕ СТИЛИ (высокая специфичность) */
#event-room-scheme .evpl-fixed-header {
    padding: 2px 4px !important;
    background: rgba(255, 255, 255, 0.55) !important;
    gap: 2px !important;
}

#event-room-scheme .evpl-fixed-header .evpl-room-prices {
    gap: 1px 3px !important;
}

#event-room-scheme .evpl-fixed-header .block-evpl-room-prices {
    padding: 1px 3px !important;
    gap: 1px !important;
}

#event-room-scheme .evpl-fixed-header .evpl-price-info {
    font-size: 9px !important;
}

#event-room-scheme .evpl-fixed-header .evpl-zoom-controls {
    flex-direction: row !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 1px !important;
}

#event-room-scheme .evpl-fixed-header .evpl-zoom-btn {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
}

/* Мобильные: убираем отступ сверху у зум-блока */
#event-room-scheme .evpl-fixed-header .row > .col-12:last-child {
    margin-top: 0 !important;
}
