/* 搜索结果页面样式 */
.search-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 30px;
}

.search-results-container {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.search-sidebar {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    height: fit-content;
}

.search-history h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.search-history ul {
    margin-bottom: 15px;
}

.search-history li {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.search-history li:last-child {
    border-bottom: none;
}

.clear-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
}

.clear-btn:hover {
    background-color: #e0e0e0;
}

.result-group {
    margin-bottom: 30px;
}

.result-group h3 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.result-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.result-item {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.result-item h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.result-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.no-results {
    padding: 30px;
    text-align: center;
    color: #666;
}

.no-results h3 {
    margin-bottom: 15px;
    color: #333;
}

.no-results ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.no-results li {
    margin-bottom: 5px;
}

.loading {
    padding: 30px;
    text-align: center;
    color: #666;
}

.search-tools {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.search-tools h3 {
    margin-bottom: 20px;
    color: #333;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .search-content {
        grid-template-columns: 1fr;
    }
    
    .result-list {
        grid-template-columns: 1fr;
    }
    
    .search-sidebar {
        order: -1;
    }
}