/* v7 */

body {
    margin: 0;
    padding: 0;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.maplibregl-popup-content {
    padding: 5px;
    /* min-width: 400px; */
    max-width: 600px;
    font-family: sans-serif;
}

.maplibregl-popup-content h3 {
    margin: 0 0 10px 0;
}

.maplibregl-popup-content p {
    margin: 5px 0;
}

/* .maplibregl-popup-content p strong {
    display: inline-block;
    min-width: 150px;
} */

.context-menu {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 5px 0;
    z-index: 1000;
    font-family: sans-serif;
    font-size: 14px;
    display: none;
}

.context-menu-item {
    padding: 8px 16px;
    cursor: pointer;
    white-space: nowrap;
}

.context-menu-item:hover {
    background: #f0f0f0;
}

.zoom-display {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
    border: 1px solid #ccc;
    z-index: 1;
}

.josm-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    font-family: sans-serif;
    cursor: pointer;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.josm-button:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border-color: #999;
}

.josm-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}