/* Loading overlay for map layer updates */
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-dot {
    0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
    40%           { opacity: 1;   transform: scale(1.2); }
}

.map-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.55);
    backdrop-filter: blur(2px);
    z-index: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.map-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255,255,255,0.25);
    border-top: 4px solid #64B5F6;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.map-loading-text {
    color: white;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.map-loading-sub {
    color: rgba(255,255,255,0.65);
    font-size: 0.73rem;
}

/* ── SF²Bench custom marker shapes ──────────────────────────────────────── */
.sfb-marker {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
    cursor: pointer;
}
.sfb-marker:hover { filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6)) brightness(1.15); }

/* Layer panel loading badge */
.layer-loading-badge {
    font-size: 0.68rem;
    color: #1565C0;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.layer-loading-badge .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #1565C0;
    animation: pulse-dot 1.2s ease-in-out infinite;
}
.layer-loading-badge .dot:nth-child(2) { animation-delay: 0.2s; }
.layer-loading-badge .dot:nth-child(3) { animation-delay: 0.4s; }
