/* ========================================
   AUTOCOMPLETE COMPONENT
   CitiesAutocomplete styles
======================================== */

.autocomplete-wrapper {
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 0;
}

.autocomplete-suggestions.show {
    display: block;
}

.autocomplete-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid var(--border);
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: var(--bg-hover);
}

.autocomplete-item-city {
    font-weight: 500;
}

.autocomplete-item-city strong {
    color: var(--primary);
}

.autocomplete-item-voivodeship {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.autocomplete-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--text-secondary);
}
