/**
 * ImageDownloader Module - Modern Clean Styles
 * Matching RemoveBackground design philosophy
 */

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes modalBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* === UTILITIES === */
.animate-spin {
    animation: spin 1s linear infinite;
}

/* === ANALYSIS RESULTS === */
#analysisResults {
    animation: fadeIn 0.3s ease-in;
}

/* === ERROR MODAL === */
#errorModal {
    backdrop-filter: blur(8px);
}

#errorModal > div {
    animation: modalBounceIn 0.3s ease-out;
}

/* === LOADING STATES === */
.loading-text svg {
    display: inline-block;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }

    .text-xl {
        font-size: 1.125rem !important;
    }
}

