#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(243, 243, 243) !important;
}
.info {
    padding: 6px 8px;
    font: 14px/16px Arial, Helvetica, sans-serif;
    background: white;
    background: rgba(255,255,255,0.8);
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    border-radius: 5px;
}
.info h4 {
    margin: 0 0 5px;
    color: #777;
}

.city-label {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    font-weight: bold;
    color: #000 !important;
    text-shadow: 1px 1px 2px white;
    font-size: 14px;
    /* z-index: 1000 */
}

.city-label.tooltip-transparent {
    opacity: 0.3 !important;
}

.leaflet-interactive {
    transition: all 0.2s ease-in-out !important;
}

.hover-popup-container {
    background: white !important;
    border: 2px solid #3388ff !important;
    border-radius: 8px !important;
    padding: 8px !important;
    font-size: 14px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
}

.hover-popup strong {
    color: #3388ff;
}

.leaflet-container {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    background: white !important;
}
.leaflet-layer,
.leaflet-control-container,
.leaflet-popup-pane {
    background: white;
}

.leaflet-interactive {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.hover-popup-container::before,
.hover-popup-container::after {
    display: none !important;
}

/* Или для конкретного направления */
.leaflet-tooltip-top::before {
    display: none !important;
}

.hover-popup-container {
    /* Убираем стрелку */
    background: white !important;
    border: 1px solid #ccc !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important;
}



/* ----------------------------filter panel-------------------------------------- */

.filters-container {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10000;

}
.filter-panel {
    display: flex;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.filter-title {
    margin: 0;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    white-space: nowrap;
}

.filter-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: white;
    user-select: none;
}

.filter-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #e0e0e0;
}

.filter-item.active {
    border-color: #007bff;
    background-color: #f0f8ff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.2);
}

.filter-item.inactive {
    opacity: 0.4;
    background-color: #f8f8f8;
    transform: scale(0.95);
}

.filter-item.inactive:hover {
    opacity: 0.7;
    transform: scale(0.95) translateY(-2px);
}

.color-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    /* border: 2px solid white; */
    box-shadow: 0 0 0 2px transparent;
    transition: all 0.3s ease;
}

.filter-item.active .color-circle {
    /* box-shadow: 0 0 0 2px #007bff; */
    transform: scale(1.2);
}

.filter-item.inactive .color-circle {
    transform: scale(0.8);
}

.filter-label {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-left: 20px;
}

.select-all-btn {
    padding: 8px 16px;
    border: 1px solid #6c757d;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    background-color: transparent;
    color: #6c757d;
}

.select-all-btn:hover {
    background-color: #6c757d;
    color: white;
    transform: translateY(-1px);
}

/* Индикатор активности фильтров */
.filters-active {
    border-color: #007bff;
    background-color: #f8fbff;
}

.city-marker-container {
    background: none !important;
    border: none !important;
}

.city-marker {
    /* border: 1px solid #000; */
    display: flex;
    align-items: center;
    /* gap: 4px; */
    pointer-events: none;
}

.city-label {
    font-size: 14px;
    font-weight: bold;
    color: #000;
    text-shadow: 0 0 3px white;
    background: rgba(255, 255, 255, 0.9);
    /* padding: 2px 6px; */
    /* border-radius: 3px; */
    /* margin-left: 15px; */
    /* margin-bottom: 10px; */
    /* border: 1px solid #999; */
    white-space: nowrap;
}