/* 上传遮罩样式 */
.uploading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    border-radius: 12px;
    animation: fadeIn 0.2s ease;
}

.uploading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.uploading-spinner i {
    color: #4f46e5;
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

.uploading-spinner p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: #333;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 确保上传区域有相对定位，以便遮罩能够正确定位 */
.image-upload-zone {
    position: relative;
}
