/** * AvatarGeneratingLoader — Professional animated loader for avatar generation. * * Matches the Immagine / Animate processing overlay pattern: * purple-themed spinner + status text + optional progress + cancel. * * Uses the same color palette (purple-400/500/600) and backdrop-blur * as the rest of the application for visual consistency. */ import React from 'react'; import { Loader2, X } from 'lucide-react'; export function AvatarGeneratingLoader({ label = 'Generating…', hint, progress, onCancel, variant = 'inline', count, aspectClass = 'aspect-[2/3]', }) { const isOverlay = variant === 'overlay'; return (