html,
body {
    height: 100%;
    margin: 0;
}

body {
    font: 1em/1.5 system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #222;
    font-weight: 400;
}

.map {
    border-radius: 0.75rem;
    height: 100vh;
}

.top-right-menu {
    position: absolute;
    top: 10px;
    right: 0;
    transform: translateX(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensure it's on top */
}

.top-right-menu a {
    margin-left: 10px;
}

.ol-popup {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cccccc;
    bottom: 12px;
    left: -50px;
}

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

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

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

.ol-control button {
    height: 2.2rem;
    width: 2.2rem;
    margin: 0.2rem;
    font-size: 1.4rem;
    line-height: normal;
}

.ol-control button:hover {
    background-color: rgba(40, 40, 40, 0.8) !important;
    color: whitesmoke;
}

.gcd-gl-control {
    margin-top: 0.4rem;
    padding: 1.25rem;
    left: 0.15rem;
}

.ol-geocoder .gcd-gl-btn {
    height: 2.2rem;
    width: 2.2rem;
    margin: 0.2rem;
    left: -0.05rem;
    top: -0.02rem;
}

.ol-geocoder.gcd-gl-container {
    top: 5.2rem;
}

.ol-geocoder .gcd-gl-expanded {
    width: 16rem;
    height: 2.5rem;
}

.ol-geocoder .gcd-gl-input {
    left: 3.0rem;
    width: 12.5rem;
    height: 2.15rem;
}

.ol-geocoder ul.gcd-gl-result {
    left: 3.2075rem;
    top: 2.75rem;
}

.ol-geocoder .gcd-gl-search {
    top: 0.4rem;
    right: 0.4rem;
}
