﻿
/* Animations */
@keyframes blink {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.9;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wave {
    0%, 100% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.25);
    }
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes bar1 {
    0%, 100% {
        height: 4px;
    }
    50% {
        height: 14px;
    }
}

@keyframes bar2 {
    0%, 100% {
        height: 8px;
    }
    50% {
        height: 4px;
    }
}

@keyframes bar3 {
    0%, 100% {
        height: 12px;
    }
    50% {
        height: 6px;
    }
}


/* Typing indicator */
@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}


.typing-indicator span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--t3);
    animation: typingDot 1.2s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.15s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.3s;
}

/* Status pulse */
.status-dot.online {
    animation: livePulse 2s ease-in-out infinite;
}


/* Context menu / tooltip animation */
@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes livePulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: .3;
    }
}