/**
 * 搜索建议下拉框样式
 */
.search-suggestions {
    position: absolute;
    top: 54px;
    left: 0;
    width: 610px;
    max-height: 436px;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 0px;
    margin-top: 5px;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.suggestions-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.suggestions-list li {
    padding: 0px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #fff;
    transition: background-color 0.2s;
    height:42px;
    line-height:42px;
}

.suggestions-list li:hover,
.suggestions-list li.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.suggestions-list li .suggestion-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    font-weight: 600;
    margin-right: 14px;
    font-size: 13px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.suggestions-list li:hover .suggestion-index {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

/* 前三条序号高亮 - 渐变背景 */
.suggestions-list li:nth-child(1) .suggestion-index {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.3);
}

.suggestions-list li:nth-child(2) .suggestion-index {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(78, 205, 196, 0.3);
}

.suggestions-list li:nth-child(3) .suggestion-index {
    background: linear-gradient(135deg, #ffe66d 0%, #ffd93d 100%);
    color: #333;
    box-shadow: 0 2px 8px rgba(255, 230, 109, 0.3);
}

.suggestions-list li:nth-child(1):hover .suggestion-index,
.suggestions-list li:nth-child(2):hover .suggestion-index,
.suggestions-list li:nth-child(3):hover .suggestion-index {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

/* 其他序号样式 */
.suggestions-list li:nth-child(n+4) .suggestion-index {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
}

.suggestions-list li:nth-child(n+4):hover .suggestion-index {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.7);
}

.suggestions-list li .suggestion-text {
    flex: 1;
    font-size: 14px;
    color: #fff;
}

/* 滚动条样式 */
.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}