/* FoodigoMap (Leaflet) — layout + search autocomplete styles */

/* Ensure map containers always have a height (Leaflet needs an explicit size).
   Page-specific CSS with a larger height still wins. */
#google_map_area {
    min-height: 320px;
    width: 100%;
    z-index: 1;
}

#restaurant_pickup_address {
    min-height: 220px;
    width: 100%;
    z-index: 1;
}

/* Nominatim search suggestion dropdown */
.fmap-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 100000;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    margin-top: 4px;
}

.fmap-suggestion {
    padding: 8px 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #333;
    cursor: pointer;
    border-bottom: 1px solid #f2f2f2;
    white-space: normal;
}

.fmap-suggestion:last-child {
    border-bottom: none;
}

.fmap-suggestion:hover {
    background: #f6f6f6;
}

/* Keep Leaflet controls/panes below site overlays like modals & dropdowns */
.leaflet-pane,
.leaflet-top,
.leaflet-bottom {
    z-index: 2;
}
