/* Search Page Styles */

/* Search Section */
.search-section {
    padding: 20px;
    background: #0C0C0C;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.search-input-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 5px 15px;
    gap: 10px;
}

.search-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
}

.search-input {
    flex: 1;
    padding: 10px 0;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 16px;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-btn {
    background: #FFD700;
    color: #000000;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background: #FFA500;
}

/* Search Results Section */
.search-results {
    background: #0C0C0C;
    padding: 0 0 20px;
}

.results-header {
    padding: 0 20px 15px;
    background: #0C0C0C;
}

.results-title {
    font-size: 18px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 10px;
}



/* Filter Options */
.filter-options {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 15px 20px;
    background: #0C0C0C;
    margin-bottom: 0;
    scrollbar-width: none;
}

.filter-options::-webkit-scrollbar {
    display: none;
}

.filter-btn {
    white-space: nowrap;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.filter-btn.active,
.filter-btn:hover {
    background: #FFD700;
    color: #000000;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
    background: #0C0C0C;
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.3);
}

/* Top Picks Container Styles */
.top-picks-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px 15px;
}

/* Top Pick Item Styles */
.top-pick-item {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    padding: 10px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.top-pick-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(3px);
}

/* 确保整个区域可点击 */
.top-pick-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

/* 移除图片链接的默认样式 */
.top-pick-cover-wrapper {
    text-decoration: none;
    color: inherit;
}

.top-pick-cover {
    width: 100px;
    height: auto;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.top-pick-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 0;
}

.top-pick-title {
    font-size: 16px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 5px;
    line-height: 1.3;
}

.top-pick-description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.top-pick-author {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.top-pick-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.top-pick-category,
.top-pick-score {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.top-pick-score {
    color: #FFD700;
    font-weight: bold;
}

/* Responsive Top Picks */
@media (max-width: 500px) {
    .top-pick-item {
        gap: 10px;
        padding: 8px;
    }
    
    .top-pick-cover {
        width: 80px;
    }
    
    .top-pick-title {
        font-size: 14px;
    }
    
    .top-pick-description {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
    
    .top-pick-author {
        font-size: 11px;
    }
}

/* Responsive Design */
@media (max-width: 600px) {
    .search-input {
        font-size: 14px;
    }

    .search-btn {
        padding: 6px 15px;
        font-size: 13px;
    }
}