/* vrent-maps.css — Leaflet/OSM zamena za Google Maps */

/* ---- Nominatim autocomplete dropdown ---- */
.nominatim-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.nominatim-dropdown li {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.nominatim-dropdown li:last-child {
    border-bottom: none;
}

.nominatim-dropdown li:hover {
    background: #f5f5f5;
}

/* ---- Leaflet attribution vidljivost ---- */
.leaflet-control-attribution {
    font-size: 10px !important;
}

/* ---- Leaflet popup za property markere ---- */
.map-property-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.map-property-name {
    padding: 6px;
}

.map-property-name h5 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---- Leaflet z-index fix za modalne dijaloge ---- */
.leaflet-top,
.leaflet-bottom {
    z-index: 400;
}

.leaflet-pane {
    z-index: 200;
}
