/* download.css - 下载系统样式 */
.download-system-container {
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    gap: 30px;
}

/* 列表页样式 */
.download-list-main {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.download-list-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 20px 25px;
}

.download-list-header h1 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.breadcrumb-navigation {
    color: rgba(255,255,255,0.95);
    font-size: 14px;
    background: rgba(0,0,0,0.2);
    padding: 8px 15px;
    border-radius: 4px;
}

.download-table {
    width: 100%;
    border-collapse: collapse;
}

.download-table thead {
    background: #f8f9fa;
}

.download-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
}

.download-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.download-table tr:hover {
    background-color: #f8f9fa;
}

.product-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
}

.product-link:hover {
    color: #007bff;
    text-decoration: underline;
}

.stars {
    color: #ffc107;
    letter-spacing: 2px;
}

/* 侧边栏样式 */
.download-sidebar {
    width: 280px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-header {
    background: #343a40;
    color: white;
    padding: 12px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.widget-content {
    padding: 0;
}

.widget-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget-list li {
    padding: 12px 20px;
    border-bottom: 1px solid #e9ecef;
    transition: background 0.2s;
}

.widget-list li:hover {
    background: #f8f9fa;
}

.widget-list li a {
    color: #495057;
    text-decoration: none;
    display: block;
}

.widget-list li a:hover {
    color: #007bff;
}

/* 分页样式 */
.pagination-wrapper {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

/* 内容页样式 */
.download-detail-main {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.detail-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 25px;
}

.detail-header h1 {
    margin: 0 0 15px 0;
    font-size: 28px;
}

.detail-meta {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
}

.info-section {
    padding: 25px;
}

.info-item {
    display: flex;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e9ecef;
}

.info-label {
    width: 120px;
    font-weight: 600;
    color: #495057;
    flex-shrink: 0;
}

.info-value {
    flex: 1;
    color: #212529;
}

.download-button {
    display: inline-block;
    background: #28a745;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin: 15px 0;
    transition: background 0.3s;
}

.download-button:hover {
    background: #218838;
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .download-system-container {
        flex-direction: column;
    }
    
    .download-sidebar {
        width: 100%;
    }
}

/* 空状态样式 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #6c757d;
}

/* 文件预览 */
.file-preview {
    text-align: center;
    padding: 20px;
}

.file-preview img {
    max-width: 100%;
    border-radius: 5px;
}

/* 帮助链接 */
.help-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.help-link {
    padding: 8px 15px;
    background: #e9ecef;
    border-radius: 4px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
}

.help-link:hover {
    background: #dee2e6;
    color: #212529;
}