/* 文件上传区域 */
.upload-section {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: #f9f9f9;
    position: relative;
    margin-bottom: 20px;
    min-height: 300px;
}

.upload-section:hover {
    border-color: #409eff;
    background-color: #f0f7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.upload-section.dragover {
    border-color: #409eff;
    background-color: #e6f7ff;
    box-shadow: 0 6px 16px rgba(64, 158, 255, 0.2);
}

.upload-section h3 {
    margin: 15px 0 10px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.upload-section p {
    margin: 8px 0;
    color: #666;
}

.upload-hint {
    font-size: 14px;
    color: #909399 !important;
    margin-top: 15px;
}

/* 文件信息展示 */
#file-info {
    display: none;
    padding: 40px 20px;
    background-color: #f0f9eb;
    border: 1px solid #e1f3d8;
    border-radius: 8px;
    margin-bottom: 20px;
}

.file-info-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.file-icon {
    font-size: 48px;
    color: #409eff;
}

.file-details {
    margin-left: 15px;
    text-align: left;
}

.file-name {
    font-weight: 500;
    color: #333;
    margin: 0;
    word-break: break-all;
}

.file-size {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* 单个文件显示样式 */
.single-file-display {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding:20px 30px;
    background-color: #f8fafc;
    text-align: center;
    min-height: 300px;
}

.single-file-display.visible {
    display: flex;
}

.file-icon .material-icons{
    font-size: 50px;
    color: #e74c3c;
    margin-bottom: 20px;
}

.file-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.file-details {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    color: #666;
    font-size: 14px;
    justify-content: center;
    align-items: center;
}

.file-details  .material-icons{
    font-size: 14px;
    margin-right: -15px;
}

.remove-file {
    margin-top: 20px;
    padding: 8px 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-file:hover {
    background-color: #ffeaea;
    color: #e74c3c;
}

.remove-file .material-icons {
    margin-right: 5px;
    font-size: 16px;
}

