/* VPS Location Map Styles */
.vps-location-map {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.map-container {
    z-index: 0;
    position: relative;
}

/* Фикс для правильного отображения Leaflet карты */
#location-map {
    height: 400px !important;
    width: 100% !important;
}

.map-legend {
    background: #f8f9fa;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.map-legend p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.map-info-window h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 16px;
}

.map-info-window ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.map-info-window li {
    padding: 2px 0;
    color: #666;
    font-size: 14px;
}

/* Стили для Leaflet маркеров */
.custom-marker {
    background: transparent !important;
    border: none !important;
}


/* Анимация пульса для подсвеченного маркера */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255, 107, 53, 1);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
    }
}

/* Стили для обычных маркеров */
.marker-normal {
    width: 14px;
    height: 14px;
    background: #E0E31C;
    border: 3px solid #000000;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили для подсвеченных маркеров */
.marker-highlighted {
    width: 18px;
    height: 18px;
    background: #ff6b35;
    border: 3px solid #000000;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1s infinite;
}

@media (max-width: 768px) {
    .vps-location-map #location-map {
        height: 300px;
    }
}
