* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

header p {
    color: #7f8c8d;
}

.upload-container {
    margin: 2rem 0;
}

.upload-area {
    background: white;
    border: 2px dashed #3498db;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    background: #f8f9fa;
    border-color: #2980b9;
}

.upload-area i {
    font-size: 4rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.upload-area p {
    color: #7f8c8d;
}

.results {
    margin-top: 2rem;
}

.result-item {
    background: white;
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.file-info img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.size-info {
    color: #7f8c8d;
}

.download-btn {
    background: #2ecc71;
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.download-btn:hover {
    background: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

.download-all-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 1rem auto;
    background: #3498db;
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.download-all-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.download-all-btn i {
    margin-right: 8px;
}

.progress {
    width: 100%;
    height: 4px;
    background: #ecf0f1;
    border-radius: 2px;
    margin-top: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: #3498db;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* 进度状态样式 */
.progress-status {
    background: white;
    border-radius: 10px;
    padding: 1.2rem;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.progress-text {
    text-align: center;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.total-progress {
    background: #f0f2f5;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.total-progress .progress-bar {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    height: 100%;
    width: 0;
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* 优化单个文件的进度条样式 */
.result-item .progress {
    height: 6px;
    background: #f0f2f5;
    border-radius: 3px;
    margin-top: 0.8rem;
    overflow: hidden;
}

.result-item .progress-bar {
    background: linear-gradient(90deg, #3498db, #2ecc71);
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* 优化文件信息显示 */
.file-info > div {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.file-name {
    font-weight: 600;
    color: #2c3e50;
}

.size-info {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* 添加处理状态图标 */
.status-icon {
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

.status-icon.pending {
    color: #f39c12;
}

.status-icon.success {
    color: #2ecc71;
}

.status-icon.error {
    color: #e74c3c;
} 