/* 文件上传样式 */

.upload-area {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.upload-area:hover {
    border-color: #304357;
    background-color: #e3f2fd;
}

.upload-area.dragover {
    border-color: #304357;
    background-color: #e3f2fd;
}

/* 上传进度条样式 */
.upload-progress {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.upload-progress.show {
    display: block;
}

.progress-container {
    width: 100%;
    height: 20px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.upload-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.upload-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.upload-filename {
    font-weight: 500;
    color: #333;
}

.upload-percentage {
    font-weight: bold;
    color: #28a745;
}

.upload-cancel {
    background: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.upload-cancel:hover {
    background: #c82333;
} 