/* 搜索框样式 */
.search-box {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    z-index: 100;
    width: 300px;
}

.search-box-wrapper {
    display: flex;
    align-items: center;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #fff;
    transition: all 0.3s ease;
}

.search-box-wrapper:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-field {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
    color: #333;
}

.search-field::placeholder {
    color: #999;
}

.search-submit {
    padding: 22px;
    background: var(--be-bg-btn, #faace0);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: var(--be-hover, #f990c9);
}

.search-submit svg {
    color: #fff;
}

.nav-search {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: all 0.3s ease;
}

.nav-search:hover {
    color: var(--be-bg-btn, #faace0);
}

/* 搜索结果页面样式 */
.search-title {
    width: 100%;
    /* margin: 0 30px; */
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-title h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.search-title p {
    color: #666;
    font-size: 16px;
}

.search-again {
    margin: 30px 0;
    text-align: center;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-results p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.search-results {
    margin-bottom: 30px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-box {
        width: 250px;
        right: -15px;
    }

    .search-box-wrapper {
        max-width: 100%;
        margin: 15px;
    }

    .search-field {
        padding: 12px 15px;
        font-size: 14px;
    }

    .search-submit {
        padding: 12px 15px;
    }

    .search-title h1 {
        font-size: 20px;
    }

    .search-title p {
        font-size: 14px;
    }

    .no-results p {
        font-size: 16px;
    }
}