/* remove-bg-loader.css - AI Loader Animation Styles */
/* Note: .loading-view layout is defined in remove-bg.css */

/* AI Pulse Core */
.ai-loader-core {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-core-icon {
    font-size: 2.5rem;
    color: #6366f1;
    z-index: 2;
    animation: floatIcon 2s ease-in-out infinite;
    background: linear-gradient(135deg, #6366f1, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ai-ripple {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.5);
    border-radius: 50%;
    animation: rippleEffect 2s linear infinite;
}
.ai-ripple:nth-child(1) { width: 100%; height: 100%; animation-delay: 0s; }
.ai-ripple:nth-child(2) { width: 100%; height: 100%; animation-delay: 0.6s; }
.ai-ripple:nth-child(3) { width: 100%; height: 100%; animation-delay: 1.2s; }

@keyframes rippleEffect {
    0% { transform: scale(0.8); opacity: 1; border-width: 2px; }
    100% { transform: scale(2); opacity: 0; border-width: 0px; }
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Typography */
.loading-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.loading-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Progress Bar */
.progress-container {
    width: 280px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}
body.dark-mode .progress-container {
    background: #334155;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    width: 0%;
    border-radius: 100px;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.progress-shimmer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}
