﻿.az-user-live {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 9px 16px 9px 11px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 50%, #06b6d4 100%) !important;
    color: #ffffff !important;
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 9px 24px rgba(59, 130, 246, 0.32), 0 3px 10px rgba(139, 92, 246, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.38) !important;
    overflow: hidden !important;
    isolation: isolate !important;
    animation: azUserBreath 2.8s ease-in-out infinite !important;
}

    .az-user-live::before {
        content: "";
        position: absolute;
        top: -45%;
        left: -80%;
        width: 55%;
        height: 190%;
        background: linear-gradient( 120deg, transparent 0%, rgba(255, 255, 255, 0.18) 35%, rgba(255, 255, 255, 0.58) 50%, rgba(255, 255, 255, 0.18) 65%, transparent 100% );
        transform: rotate(18deg);
        animation: azUserShine 3.4s ease-in-out infinite;
        z-index: 0;
    }

    .az-user-live::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.42), transparent 30%), radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.35), transparent 34%);
        z-index: 0;
        pointer-events: none;
    }

    .az-user-live:hover {
        color: #ffffff !important;
        transform: translateY(-1px) scale(1.025) !important;
        box-shadow: 0 13px 30px rgba(139, 92, 246, 0.38), 0 5px 16px rgba(6, 182, 212, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
    }

.az-user-live__dot,
.az-user-live__icon,
.az-user-live__name {
    position: relative;
    z-index: 1;
}

.az-user-live__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.23), 0 0 12px rgba(34, 197, 94, 0.8);
    flex-shrink: 0;
}

    .az-user-live__dot::after {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 1px solid rgba(34, 197, 94, 0.65);
        animation: azUserDotPulse 1.6s ease-out infinite;
    }

.az-user-live__icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff !important;
    font-size: 0.82rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.az-user-live__name {
    max-width: 115px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff !important;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

@keyframes azUserDotPulse {
    0% {
        transform: scale(0.65);
        opacity: 0.85;
    }

    75% {
        transform: scale(1.45);
        opacity: 0;
    }

    100% {
        transform: scale(1.45);
        opacity: 0;
    }
}

@keyframes azUserShine {
    0% {
        left: -85%;
        opacity: 0;
    }

    18% {
        opacity: 1;
    }

    45% {
        left: 130%;
        opacity: 0;
    }

    100% {
        left: 130%;
        opacity: 0;
    }
}

@keyframes azUserBreath {
    0%, 100% {
        box-shadow: 0 9px 24px rgba(59, 130, 246, 0.32), 0 3px 10px rgba(139, 92, 246, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.38);
    }

    50% {
        box-shadow: 0 11px 30px rgba(59, 130, 246, 0.42), 0 5px 16px rgba(139, 92, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.48);
    }
}
