﻿@keyframes gradientAnimation {
    0% {
        stop-color: #FF0000;
    }

    50% {
        stop-color: #00CD00;
    }

    100% {
        stop-color: #0000FF;
    }
}

.animated stop {
    animation: gradientAnimation 3s infinite alternate;
}


.breathing-point::after {
    content: '•';
    opacity: 0;
    animation: breathe 1s ease-in-out infinite;
    margin-left: 4px;
    font-size: 38px;
    font-weight: bold;
    display: inline-block;
    transform-origin: center;
    vertical-align: middle;
    color: #f15a21
}

@keyframes breathe {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 350ms ease-in-out;
}

@keyframes zoomOut {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.zoom-out {
    animation: zoomOut 350ms ease-in-out;
}

/* Modern Empty Chat Animations */
@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scaleIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

.animate-slide-up {
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-scale-in {
    animation: scaleIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

/* Staggered animation delays */
.stagger-1 { animation-delay: 0ms; }
.stagger-2 { animation-delay: 80ms; }
.stagger-3 { animation-delay: 160ms; }
.stagger-4 { animation-delay: 240ms; }

/* Modern card hover effects */
.card-modern {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.15);
}

.dark .card-modern:hover {
    box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.4);
}

/* Subtle gradient text animation */
.gradient-text-animated {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

/* Button press effect */
.btn-press {
    transition: transform 0.15s ease;
}

.btn-press:active {
    transform: scale(0.97);
}

/* UserInput micro-interactions */
@keyframes bounce-subtle {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.animate-bounce-subtle {
    animation: bounce-subtle 2s ease-in-out infinite;
}

/* Icon hover effect */
.icon-hover {
    transition: transform 0.2s ease, color 0.2s ease;
}

.group:hover .icon-hover {
    transform: scale(1.1);
}

/* Send button pulse when ready */
@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 157, 204, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(0, 157, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 157, 204, 0);
    }
}

.btn-send-ready:not(:disabled) {
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Input container focus glow */
.input-glow {
    transition: box-shadow 0.3s ease;
}

.input-glow:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 157, 204, 0.15);
}

.dark .input-glow:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 157, 204, 0.25);
}

/* Toggle button active animation */
@keyframes toggle-on {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.toggle-active {
    animation: toggle-on 0.3s ease;
}
