.live-map-widget {
    position: relative;
    min-height: 520px;
}

.map-header {
    position: absolute;
    z-index: 500;
    top: 22px;
    left: 22px;
    right: 22px;

    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    pointer-events: none;
}

.map-header > * {
    pointer-events: auto;
}

.map-header h1 {
    margin: 0;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.04em;
}

#map {
    width: 100%;
    height: 100%;
    min-height: 520px;
    background: #101820;
}

.map-footer {
    position: absolute;
    z-index: 500;
    left: 22px;
    bottom: 22px;

    padding: 10px 14px;
    border-radius: 999px;

    background: rgba(8, 14, 20, 0.78);
    border: 1px solid rgba(255,255,255,0.12);

    color: var(--text-soft);
    font-size: 13px;

    backdrop-filter: blur(12px);
}

.leaflet-control-attribution {
    background: rgba(8,14,20,0.72) !important;
    color: rgba(255,255,255,0.55) !important;
}

.leaflet-control-attribution a {
    color: rgba(255,255,255,0.75) !important;
}

@media (max-width: 600px) {
    .live-map-widget {
        border-radius: 0;
        min-height: 100vh;
    }

    #map {
        min-height: 100vh;
    }

    .map-header {
        flex-direction: column;
    }

    .map-header h1 {
        font-size: 26px;
    }
}
