/* Autocomplete Styles */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-input {
    width: 100%;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.autocomplete-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.1);
}

.autocomplete-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: transform 0.3s ease;
}

.autocomplete-wrapper.open .autocomplete-icon {
    transform: translateY(-50%) rotate(180deg);
}

.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: none;
}

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

.autocomplete-option {
    padding: 0.8rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
}

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

.autocomplete-option:hover {
    background: rgba(0, 210, 255, 0.1);
}

.autocomplete-option.selected {
    background: rgba(0, 210, 255, 0.15);
    color: var(--primary-color);
}

.autocomplete-empty {
    padding: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}