
.upload-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 600px;
}

.upload-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 30px;
    text-align: center;
}

.upload-header h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.upload-header p {
    opacity: 0.9;
    font-size: 14px;
}

.upload-body {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 600px;
}

/* 左侧上传区域 */
.upload-area {
    padding: 30px;
    border-right: 1px solid #eaeaea;
    background-color: #f9f9ff;
    display: flex;
    flex-direction: column;
}

.upload-box {
    flex: 1;
    border: 3px dashed #667eea;
    border-radius: 12px;
    background-color: rgba(102, 126, 234, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-box:hover {
    background-color: rgba(102, 126, 234, 0.1);
    border-color: #5a6fd8;
}

.upload-box.dragover {
    background-color: rgba(102, 126, 234, 0.2);
    border-color: #4a5cc7;
    transform: scale(0.98);
}

.upload-icon {
    font-size: 60px;
    color: #667eea;
    margin-bottom: 20px;
}

.upload-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.upload-subtitle {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.5;
}

.upload-btn {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin-top: 10px;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.upload-btn:active {
    transform: translateY(0);
}

.security-info {
    margin-top: 30px;
    background-color: #fff5f5;
    border-left: 4px solid #fc8181;
    padding: 15px;
    border-radius: 0 8px 8px 0;
}

.security-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #c53030;
    margin-bottom: 8px;
}

.security-icon {
    margin-right: 8px;
    font-size: 18px;
}

.security-list {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.security-list ul {
    padding-left: 20px;
}

.security-list li {
    margin-bottom: 3px;
}

/* 右侧队列区域 */
.queue-area {
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.stat-icon {
    margin-right: 6px;
    font-size: 14px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.stat-value.total {
    color: #667eea;
}

.stat-value.success {
    color: #48bb78;
}

.stat-value.failed {
    color: #f56565;
}

.stat-value.queued {
    color: #ed8936;
}

.stat-value.uploading {
    color: #4299e1;
}

.stat-value.speed {
    color: #9f7aea;
}

.queue-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

.queue-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

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

.action-btn {
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.action-btn i {
    margin-right: 5px;
}

.action-btn:hover {
    background-color: #f7f7f7;
}

.action-btn.primary {
    background: linear-gradient(to right, #667eea, #764ba2);
    color: white;
    border: none;
}

.action-btn.primary:hover {
    opacity: 0.9;
}

.action-btn.danger {
    color: #f56565;
    border-color: #f56565;
}

.action-btn.danger:hover {
    background-color: #fff5f5;
}

.queue-list {
    flex: 1;
    overflow-y: auto;
    border-radius: 8px;
    border: 1px solid #eaeaea;
    background-color: #fafafa;
}

.queue-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #999;
    padding: 40px;
}

.empty-icon {
    font-size: 50px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.queue-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    background-color: white;
    transition: background-color 0.2s ease;
}

.queue-item:hover {
    background-color: #f9f9f9;
}

.queue-item:last-child {
    border-bottom: none;
}

.file-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 40px;
    text-align: center;
    color: #667eea;
}

.file-info {
    flex: 1;
    min-width: 0; /* 防止文本溢出 */
}

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

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

.file-status {
    margin-left: 15px;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
}

.status-queued {
    background-color: #fef3c7;
    color: #d97706;
}

.status-uploading {
    background-color: #dbeafe;
    color: #1d4ed8;
}

.status-success {
    background-color: #d1fae5;
    color: #065f46;
}

.status-failed {
    background-color: #fee2e2;
    color: #991b1b;
}

.progress-container {
    width: 100%;
    margin-top: 8px;
}

.progress-bar {
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(to right, #667eea, #764ba2);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
}

.file-actions {
    display: flex;
    gap: 8px;
    margin-left: 15px;
}

.file-action-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    font-size: 16px;
    transition: color 0.2s ease;
}

.file-action-btn:hover {
    color: #667eea;
}

.file-action-btn.delete:hover {
    color: #f56565;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .upload-body {
        grid-template-columns: 1fr;
    }

    .upload-area {
        border-right: none;
        border-bottom: 1px solid #eaeaea;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-container {
        grid-template-columns: 1fr;
    }

    .queue-actions {
        flex-wrap: wrap;
    }

    .upload-header h1 {
        font-size: 22px;
    }
}

/* 文件类型图标颜色 */
.fa-file-text {
    color: #4299e1;
}

.fa-file-image {
    color: #48bb78;
}

.fa-file-pdf {
    color: #f56565;
}

.fa-file-word {
    color: #2b6cb0;
}

.fa-file-excel {
    color: #38a169;
}

.fa-file-powerpoint {
    color: #ed8936;
}

.fa-file-archive {
    color: #9f7aea;
}

.fa-file-video {
    color: #ed64a6;
}

.fa-file-audio {
    color: #667eea;
}

.fa-file-code {
    color: #4fd1c7;
}