.chat-loading {
    position: fixed;
    bottom: 120px;
    right: 20px;
    z-index: 99999;
    display: none;
}

.chat-loading-content {
    width: 280px;
    padding: 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow:
        0 10px 30px rgba(0,0,0,.12),
        0 2px 10px rgba(0,0,0,.08);
    animation: slideIn .3s ease;
}

.chat-loading-title {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

.chat-loading-desc {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.5;
    color: #888;
}

.loader {
    display: flex;
    gap: 6px;
}

.loader span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse 1.2s infinite;
}

.loader span:nth-child(2) {
    animation-delay: .2s;
}

.loader span:nth-child(3) {
    animation-delay: .4s;
}

@keyframes pulse {
    0%, 80%, 100% {
        transform: scale(.6);
        opacity: .4;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-15px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}