/* 上传页面样式 */

/* 上传状态区域 */
.upload-status {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
}

.upload-status h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.upload-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.progress-text {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.upload-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.upload-summary {
    display: flex;
    align-items: center;
}

.completed-count {
    font-size: 14px;
    color: #28a745;
    font-weight: 500;
}

/* 上传按钮样式 */
.pause-all-btn {
    background: #ffc107;
    color: #212529;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s ease;
}

.pause-all-btn:hover {
    background: #e0a800;
}

.start-all-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s ease;
}

.start-all-btn:hover {
    background: #218838;
}

.delete-all-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.2s ease;
}

.delete-all-btn:hover {
    background: #c82333;
}

/* 上传文件列表样式 */
.upload-file-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: box-shadow 0.2s ease;
}

.upload-file-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.upload-file-image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 12px;
}

.upload-file-details {
    flex: 1;
    min-width: 0;
}

.upload-file-name {
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-file-info {
    font-size: 12px;
    color: #666;
}

.upload-file-status {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    margin-left: 12px;
}

.upload-file-status.uploading {
    background: #e3f2fd;
    color: #1976d2;
}

.upload-file-status.completed {
    background: #e8f5e8;
    color: #2e7d32;
}

.upload-file-status.error {
    background: #ffebee;
    color: #c62828;
}

/* 上传进度条 */
.upload-progress {
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .upload-progress-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .upload-actions {
        width: 100%;
        justify-content: flex-start;
    }
    
    .upload-file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .upload-file-status {
        margin-left: 0;
        align-self: flex-end;
    }
}

@media (max-width: 480px) {
    .upload-status {
        padding: 15px;
    }
    
    .upload-actions {
        gap: 8px;
    }
    
    .pause-all-btn,
    .start-all-btn,
    .delete-all-btn {
        padding: 6px 12px;
        font-size: 11px;
    }
} 