.search-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.search-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.search-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.no-results {
    text-align: center;
    padding: 50px 20px;
    color: #666;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.no-results::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4285f4, #ea4335, #fbbc05, #4285f4);
    background-size: 300% 100%;
    animation: gradient 3s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.no-results p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.no-results p:first-child {
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.no-results p:last-child {
    margin-bottom: 0;
}

.no-results::after {
    content: "🔍";
    display: block;
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.7;
}

/* 搜索结果高亮关键词 */
.highlight {
    background-color: #ffeb3b;
    padding: 1px 2px;
    border-radius: 2px;
}

/* 搜索结果卡片样式调整 */
.pic-article-card {
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.pic-article-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 搜索结果页分页样式 */
#pagi {
    margin-top: 30px;
    text-align: center;
}

#pagi a,
#pagi b {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 5px;
    border-radius: 4px;
    transition: all 0.3s;
}

#pagi a {
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
}

#pagi a:hover {
    background-color: #e0e0e0;
}

#pagi b {
    background-color: #4285f4;
    color: #fff;
    font-weight: normal;
}