/* Generic Autocomplete Styles */
.autocomplete-results {
    position: absolute;
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(20px);
    border: 2px solid var(--neon-cyan, var(--gtc-accent, rgba(99, 102, 241, 1)));
    border-radius: var(--radius-lg, 8px);
    max-height: 300px;
    overflow-y: auto;
    z-index: 200000 !important; /* Always on top */
    box-shadow: var(--glow-cyan, 0 8px 32px var(--gtc-accent-glow, rgba(99, 102, 241, 0.3))), 0 10px 40px rgba(0, 0, 0, 0.8);
}

.autocomplete-item {
    padding: 0.875rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    color: var(--text-secondary, var(--gtc-text, rgba(255, 255, 255, 0.92)));
}

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

.autocomplete-item:hover,
.autocomplete-item.selected {
    background: rgba(0, 240, 255, 0.2);
    color: var(--neon-cyan, var(--gtc-accent, rgba(99, 102, 241, 1)));
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.autocomplete-results::-webkit-scrollbar {
    width: 8px;
}

.autocomplete-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.autocomplete-results::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.5);
    border-radius: 4px;
}

.autocomplete-results::-webkit-scrollbar-thumb:hover {
    background: rgba(99, 102, 241, 0.7);
}
