/* Ultra-fast map styles */

/* Cluster markers */
.church-cluster {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: transform 0.2s;
}

.church-cluster:hover {
    transform: scale(1.1);
}

.cluster-count {
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Individual church markers - ultra minimal */
.church-marker {
    background: transparent;
    border: none;
}

.marker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
    transition: transform 0.15s;
}

.church-marker.has-mass .marker-dot {
    background: #10b981;
}

.church-marker.has-confession .marker-dot {
    background: #8b5cf6;
}

.church-marker.has-adoration .marker-dot {
    background: #f59e0b;
}

.church-marker:hover .marker-dot {
    transform: scale(1.5);
}

/* Performance optimizations */
.leaflet-marker-icon {
    will-change: transform;
}

.leaflet-marker-pane {
    pointer-events: none;
}

.leaflet-marker-icon {
    pointer-events: auto;
}

/* Loading indicator */
.map-loading {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    padding: 8px 12px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 1000;
    font-size: 12px;
    display: none;
}

.map-loading.active {
    display: block;
}

/* Viewport cache indicator */
.cache-status {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 11px;
    z-index: 1000;
}

/* GPU acceleration for smooth panning */
.leaflet-container {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.leaflet-tile-pane {
    will-change: transform;
}