body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

#map {
    width: 100%;
    height: 100vh;
}

/* Legenda di kanan atas */
#legend {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 300px;
    height: 400px;
    background: white;
    border: 1px solid black;
    padding: 10px;
    overflow-y: auto;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

#legend h3 {
    margin-top: 0;
    background: black;
    color: white;
    padding: 5px;
    text-align: center;
}

#direction-content {
    text-align: left;
    font-size: 14px;
}

/* Tombol */
.buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

button {
    background-color: gray;
    color: white;
    border: none;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background-color: darkgray;
}
