/* Bago City map — square barricade boundary */
.bago-map-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

.bago-map-layout--full {
    display: block;
}

.bago-map-main {
    flex: 1 1 58%;
    min-width: 280px;
}

.bago-map-main--full {
    flex: 1 1 100%;
    max-width: 100%;
}

.bago-map-legend {
    text-align: center;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.bago-map-legend i {
    color: #FFD700;
    margin-right: 4px;
}

.bago-city-barricade-label-marker,
.bago-city-barricade-edge-marker {
    background: transparent;
    border: none;
}

.bago-city-barricade-tag {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 6px;
    background: rgba(30, 58, 138, 0.94);
    border: 3px solid #FFD700;
    color: #FFD700;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.bago-city-barricade-edge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(30, 58, 138, 0.88);
    border: 1px solid rgba(255, 215, 0, 0.55);
    color: #FFD700;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.bago-city-hall-marker {
    background: transparent;
    border: none;
}

.bago-city-hall-pin {
    width: 36px;
    height: 36px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, #1e3a8a, #FFD700);
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bago-city-hall-pin i {
    transform: rotate(45deg);
    color: #fff;
    font-size: 15px;
}

.bago-barangay-pin-marker {
    background: transparent;
    border: none;
}

.bago-barangay-pin {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bago-barangay-pin-svg {
    width: 52px;
    height: 68px;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
    animation: bago-pin-bounce 1.2s ease-in-out infinite;
}

.bago-barangay-pulse {
    animation: bago-pulse-ring 1.6s ease-out infinite;
}

@keyframes bago-pulse-ring {
    0% { opacity: 0.85; }
    50% { opacity: 0.35; }
    100% { opacity: 0.85; }
}

.bago-barangay-pin-label {
    display: inline-block;
    margin-top: 2px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(30, 58, 138, 0.95);
    border: 1px solid rgba(255, 215, 0, 0.55);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

@keyframes bago-pin-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.bago-map-wrap {
    position: relative;
}

.bago-city-map-label {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(30, 58, 138, 0.92);
    border: 1px solid rgba(255, 215, 0, 0.45);
    color: #FFD700;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    pointer-events: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.leaflet-map.bago-city-map {
    height: 580px;
}

.bago-city-map .leaflet-control-zoom {
    display: none !important;
}

@media (max-width: 991px) {
    .leaflet-map.bago-city-map {
        height: 440px;
    }
}
