/* ==================== 搜索页面样式 - PC版 ==================== */

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

/* 搜索框 */
.search-box-large {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.search-form-large {
    display: flex;
    gap: 10px;
}

.search-input-large {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.search-input-large:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-btn-large {
    padding: 15px 30px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-btn-large:hover {
    background: #1d4ed8;
}

/* 搜索统计 */
.search-stats {
    color: #64748b;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* 搜索结果项 */
.search-result-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
}

.search-result-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.search-result-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.search-result-title a {
    color: #1e293b;
}

.search-result-title a:hover {
    color: #2563eb;
}

.search-result-content {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.search-result-meta a {
    color: #64748b;
}

.search-result-meta a:hover {
    color: #2563eb;
}

.category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* 空状态 */
.empty-search {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.empty-search i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.empty-search h3 {
    font-size: 20px;
    color: #64748b;
    margin-bottom: 10px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.pagination a {
    background: #fff;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.pagination a:hover {
    background: #f1f5f9;
    color: #2563eb;
    border-color: #2563eb;
}

.pagination .current {
    background: #2563eb;
    color: white;
}

.pagination .disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}
