/* ============================================
   SEARCH-SUGGESTIONS.CSS - Autocomplete dropdown styles
   ============================================ */

/* Generic suggestions dropdown (used by both index and header) */
.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white, white);
    border: 1px solid var(--border-color, #ddd);
    border-top: none;
    border-radius: 0 0 3px 3px;
    box-shadow: var(--shadow-md, 0 4px 6px rgba(0,0,0,0.1));
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 10;
}

.suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-light, #f0f0f0);
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.suggestion-item:hover {
    background: var(--bg-gray, #fafafa);
}

.suggestion-main {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.suggestion-ticker {
    font-weight: 600;
    color: var(--brand-primary, #c41e3a);
    font-size: 1rem;
    min-width: 60px;
}

.suggestion-name {
    color: var(--text-primary, #333);
    font-size: 0.95rem;
}
