/* Scoped styles for the reusable City autocomplete. All selectors are prefixed .city-ac-* so
   they cannot affect existing form/theme styles. The dropdown is positioned against the City
   field's existing parent (the JS promotes that parent to position:relative only if it is static),
   so no wrapper element is added and floating-label sibling rules are preserved. */

.city-ac-results {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1000;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    max-height: 240px;
    overflow-y: auto;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
    text-align: left;
}

.city-ac-item {
    padding: 7px 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.3;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
}

.city-ac-item:last-child { border-bottom: none; }
.city-ac-item:hover,
.city-ac-item.active { background: #f2f6ff; }

.city-ac-empty {
    padding: 8px 10px;
    font-size: 13px;
    color: #c0392b;
}
