/* SA Live Badge — Sabbir Ahmed */
.sa-lb-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-lb-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 56px;
    box-sizing: border-box;
    max-width: 100%;
    transition: background-color .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease;
}

/* Dot after the text — no markup branching needed */
.sa-lb-badge.sa-lb-dot-after {
    flex-direction: row-reverse;
}

/* ── Animated dot ── */
.sa-lb-dot {
    position: relative;
    width: 10px;
    height: 10px;
    flex-shrink: 0;
}

.sa-lb-dot-core {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #FFFFFF;
    animation: saLbDotPulse 2s ease-in-out infinite;
}

.sa-lb-dot-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid #FFFFFF;
    animation: saLbRingPulse 2s ease-out infinite;
}

/* ── Text ── */
.sa-lb-text {
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.1px;
    white-space: nowrap;
    transition: color .3s ease;
}

.sa-lb-text.sa-lb-text-wrap {
    white-space: normal;
}

@keyframes saLbDotPulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.9; }
}

@keyframes saLbRingPulse {
    0%   { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .sa-lb-dot-core,
    .sa-lb-dot-ring { animation: none; }
    .sa-lb-dot-ring { opacity: 0.6; }
}
