/* Additional Modern App Animations */

/* Pulse effect for active states */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Loading spinner animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Bounce in animation for success states */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(30px);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) translateY(-10px);
    }
    70% {
        transform: scale(0.9) translateY(5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Fade slide animations for content */
.fade-slide-up {
    animation: fadeSlideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-slide-down {
    animation: fadeSlideDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for multiple elements */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Hover effects for interactive elements */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(44, 36, 32, 0.15);
}

/* Focus ring for accessibility */
.focus-ring:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--border-radius-sm);
}

/* Smooth page transitions */
.page-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Header Power User Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* Conversion hint styles */
.conversion-hint {
    animation: slideInRight 0.3s ease-out;
}

.hint-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hint-icon {
    font-size: 1.2rem;
}

.hint-instruction {
    font-size: 0.85rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Upload area highlight animation */
@keyframes highlight-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 var(--primary-color);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(53, 90, 133, 0.3);
    }
}

.upload-area.highlighted {
    animation: highlight-pulse 1s ease-in-out 2;
}
