.mapboxgl-ctrl-logo { display: none !important; }
.mapFilterContainer {
    position: absolute;
    background: #000000a0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 250px;
    font-family: Arial, sans-serif;
    bottom: 10px;
    left: 10px;
    pointer-events: all;
    transition: all 0.3s ease;
    transform-origin: bottom left;
}
.mapFilterContainer.hidden{
    transform: scale(0);
    opacity: 0;
    display: block !important;
}

.mapFilterCategory {
    margin: 8px 0;
}

.mapFilterCategory label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.8rem;
    color: white;
}

/* Скрываем стандартный чекбокс */
.mapFilterCheckbox {
    display: none;
}

/* Стили для Apple switcher */
.mapFilterSwitcher {
    position: relative;
    display: inline-block;
    width: 28px;
    height: 14px;
    margin-right: 1rem;
    flex-shrink: 0;
}

.mapFilterSwitcherTrack {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #323233;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

.mapFilterSwitcherThumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

/* Состояние включено */
.mapFilterCheckbox:checked + .mapFilterSwitcher .mapFilterSwitcherTrack {
    background-color:var(--colorCyan);
}

.mapFilterCheckbox:checked + .mapFilterSwitcher .mapFilterSwitcherThumb {
    transform: translateX(14px);
}

/* Анимация при наведении */
body.hasHover .mapFilterSwitcher:hover .mapFilterSwitcherTrack {
    /* opacity: 0.8; */
    box-shadow: 0 0 0 2px #ffffff40;
}

.mapFilterActions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: center;
}


.mapFilterCloseButton{
    width:30px;
    height: 30px;
    cursor: pointer;
    background-image: var(--closeIcon);
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    top: 0;
}

.filterShow{
    position: absolute;
    bottom: 10px;
    left: 10px;
    transition: transform 0.3s ease;
}
.filterShow.hidden{
    display: flex !important;
    transform:scale(0);
}