html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

#map {
    height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 1;
}

#map-title {
    position: absolute;
    top: 20px;
    left: 60px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    z-index: 1000;
}

#param-buttons {
    position: absolute;
    top: 70px;
    left: 60px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

#param-buttons button {
    margin-top: 5px;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s;
}

#param-buttons button:hover {
    background-color: #f0f0f0;
}

#param-buttons button:active {
    background-color: #ffa500;
    color: white;
}

#param-buttons button.active {
    background-color: #ffa500;
    color: white;
    border: 1px solid #ffa500;
}

#time-slider {
    position: absolute;
    bottom: 60px;
    left: 30px;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

#time-slider input[type="datetime-local"] {
    padding: 5px;
    font-size: 14px;
}

#time-slider button {
    padding: 6px 12px;
    font-size: 14px;
    background-color: #ffa500;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#time-slider button:hover {
    background-color: #e68a00;
}

#time-slider button#play-history,
#time-slider button#stop-history {
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 18px;
    text-align: center;
    line-height: 36px;
}

.ol-popup {
    position: absolute;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    min-width: 200px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    z-index: 2000;
}

.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-top-color: white;
    border-width: 10px;
    left: 48px;
    margin-left: -10px;
}

.ol-popup:before {
    border-top-color: #ccc;
    border-width: 11px;
    left: 48px;
    margin-left: -11px;
}

#popup-closer {
    text-decoration: none;
    position: absolute;
    top: 2px;
    right: 8px;
    font-weight: bold;
    color: #aaa;
}

#popup-closer:hover {
    color: #000;
}

#popup-content {
    font-size: 14px;
}

