html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

#map {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 0;
}

#controls {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 12px;
    border-radius: 6px;
    box-shadow: 0 0 4px rgba(0,0,0,0.3);
    font-family: sans-serif;
    font-size: 14px;
}

#status {
    margin-top: 4px;
    font-size: 13px;
    color: #333;
}

.pulse-marker {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { r: 10; fill-opacity: 0.6; }
    50% { r: 14; fill-opacity: 0.3; }
    100% { r: 10; fill-opacity: 0.6; }
}

.leaflet-popup-content-wrapper {
    max-width: 95vw !important;
    width: 95vw !important;
}

.leaflet-popup-content {
    max-width: 95vw !important;
    width: 95vw !important;
    word-wrap: break-word;
}

.leaflet-popup {
    max-width: 95vw !important;
}

.leaflet-popup-content img,
.leaflet-popup-content video {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}