#map {
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.leaflet-control-zoom {
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 1000 !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

.leaflet-control-zoom a {
    background: white !important;
    color: #007bff !important;
    border: 1px solid #e0e0e0 !important;
    transition: background 0.3s ease, color 0.3s ease;
}

.leaflet-control-zoom a:hover {
    background: #007bff !important;
    color: white !important;
}

.leaflet-control-zoom:not(.leaflet-control-zoom-bottom-left),
.leaflet-control-zoom.leaflet-control-zoom-top-right,
.leaflet-control-zoom.leaflet-control-zoom-top-left,
.leaflet-control-zoom.leaflet-control-zoom-bottom-right {
    display: none !important;
}

.leaflet-control-scale {
    position: absolute !important;
    bottom: 20px !important;
    left: 80px !important;
    background: rgba(255,255,255,0.8) !important;
    border: 1px solid #ccc !important;
    border-radius: 4px !important;
    padding: 2px 4px !important;
}

.leaflet-control-attribution {
    display: none !important;
}

.leaflet-popup-content {
    margin: 8px 12px;
    line-height: 1.4;
    font-family: system-ui, -apple-system, sans-serif;
}

.leaflet-popup-content h4 {
    margin: 0 0 10px 0;
    color: #007bff;
    font-weight: 600;
    font-size: 16px;
}

.leaflet-popup-content div {
    margin: 8px 0;
    font-size: 13px;
    color: #333;
}

.leaflet-popup-content strong {
    color: #555;
    font-weight: 600;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    text-align: center;
}

.loading-pulse {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #007bff;
    animation: pulse 1.4s ease-in-out infinite both;
}

.pulse-dot:nth-child(1) { animation-delay: -0.32s; }
.pulse-dot:nth-child(2) { animation-delay: -0.16s; }
.pulse-dot:nth-child(3) { animation-delay: 0s; }

@keyframes pulse {
    0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .leaflet-control-zoom, .leaflet-control-scale { bottom: 15px !important; }
    .leaflet-control-zoom { left: 15px !important; }
    .leaflet-control-scale { left: 70px !important; }
}

@media (max-width: 480px) {
    .leaflet-control-zoom, .leaflet-control-scale { bottom: 10px !important; }
    .leaflet-control-zoom { left: 10px !important; }
    .leaflet-control-scale { left: 60px !important; }
}