body, html {
    margin: 0;
    height: 100%;
}
#controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    padding: 8px 12px;
    font-family: sans-serif;
}
#toggleMap {
    background: url('./images/compass.png') no-repeat center;
    background-size: cover;
    border: none;
    width: 50px;
    height: 60px;
    cursor: pointer;
}
#panorama {
    width: 100vw;
    height: 100vh;
}
#mapOverlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: block;
    background: rgba(0,0,0,0.8);
    padding: 10px;
    border-radius: 8px;
    width: min(90vw, var(--map-max-width, 1400px));
    max-width: var(--map-max-width, 1400px);
    max-height: 90vh;
    box-sizing: border-box;
    overflow: auto;
}
#mapImage {
    width: 100%;
    height: auto;
    display: block;
}
#hiddenScenesSelect {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 25;
    padding: 8px;
    font-family: sans-serif;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: rgba(255,255,255,0.9);
}
.mapPoint {
    position: absolute;
    width: var(--map-point-size, 48px);
    height: var(--map-point-size, 48px);
    transform: translate(-50%, -50%);
    background: url('./images/360icon_reduced.png') no-repeat center;
    background-size: cover;
    cursor: pointer;
    border-radius: 50%;
}
.mapPoint:hover {
    opacity: 0.7;
}
#infoButton {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(255,255,255,0.9);
    border: 2px solid #000;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 15px;
    cursor: pointer;
    font-family: sans-serif;
}
#infoModal {
    display: none;
    position: fixed;
    z-index: 30;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}
#infoModalContent {
    background-color: white;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
    font-family: sans-serif;
}
#infoModalClose {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
#infoModalClose:hover {
    color: black;
}