/* 下载页面专用样式 */

/* Banner区域样式 */
.download-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 65px;
    position: relative;
    background-image: url('/images/banner_download.png');
    background-size: cover;
    background-position: center;
}

.download-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.download-banner .container {
    position: relative;
    z-index: 2;
}

/* 搜索框样式 */
.download-search {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    outline: none;
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-btn:hover {
    background-color: #0055aa;
}

/* 下载列表区域样式 */
.download-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.download-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f7ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.download-icon i {
    font-size: 24px;
    color: #0066cc;
}

.download-info {
    flex: 1;
}

.download-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.download-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #888;
}

.download-meta span {
    display: flex;
    align-items: center;
}

.download-meta i {
    margin-right: 5px;
}

.download-action {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.download-btn {
    background-color: #0066cc;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
    display: inline-block;
}

.download-btn:hover {
    background-color: #0055aa;
    text-decoration: none;
}

/* 分页导航样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.page-num, .page-prev, .page-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-num:hover, .page-prev:hover, .page-next:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

.page-num.active {
    background-color: #0066cc;
    color: white;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .download-banner {
        height: 300px;
    }
    
    .download-item {
        flex-direction: column;
    }
    
    .download-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .download-action {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .download-btn {
        width: 100%;
        text-align: center;
    }
    
    .download-meta {
        gap: 10px;
    }
    .download-banner {
        background-image: url('/images/banner_download_1.png');
    }
}

@media (max-width: 576px) {
    .search-input {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .search-btn {
        width: 35px;
        height: 35px;
    }
    
    .download-title {
        font-size: 16px;
    }
    
    .download-desc {
        font-size: 13px;
    }
    
    .download-meta {
        font-size: 12px;
    }
    
    .page-num, .page-prev, .page-next {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}