/* 自定义搜索容器 */
.custom-search-container {
    max-width: 800px;
    /*
    margin: 30px auto;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    */
}

/* 搜索输入组 */
.search-input-group {
    position: relative;
    display: flex;
    margin-bottom: 20px;
}

.search-field {
    flex: 1;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 10px 0 0 10px;
    outline: none;
    transition: all 0.3s ease;
    height: 56px;
    box-sizing: border-box;
}

.search-field:focus {
    border-color: #4e8cff;
    box-shadow: 0 0 0 3px rgba(78, 140, 255, 0.2);
}

.search-submit {
    width: 60px;
    background: #315240;
    color: white;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.search-submit:hover {
    background: #000;
}

.search-submit svg {
    width: 24px;
    height: 24px;
}

/* 搜索建议 */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    margin-top: -2px;
}

.search-suggestions.active {
    display: block;
}

.search-suggestions div {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.search-suggestions div:hover {
    background: #f5f8ff;
}

.search-suggestions div:last-child {
    border-bottom: none;
}

/* 热门搜索 */
.popular-searches {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.popular-searches h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #555;
    font-weight: 600;
}

.popular-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-tags a.search-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #eef4ff;
    border-radius: 30px;
    color: #4e8cff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #d4e1ff;
}

.popular-tags a.search-tag:hover {
    background: #4e8cff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(78, 140, 255, 0.3);
}

.popular-tags a.search-tag span {
    color: #888;
    font-size: 12px;
    margin-left: 5px;
}

.popular-tags a.search-tag:hover span {
    color: rgba(255, 255, 255, 0.8);
}