/* Zodastro Chat Plus: LIVE badge, green ring and "online" note on the Astro Angel button */

#aiAstroChatWidget #chatToggleBtn { overflow: visible; }

.zac-live {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px 3px 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #22c55e, #15803d);
    color: #fff;
    font: 800 9.5px/1 system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", sans-serif;
    letter-spacing: .07em;
    text-transform: uppercase;
    white-space: nowrap;
    border: 2px solid #020617;
    box-shadow: 0 0 10px rgba(34, 197, 94, .75);
    pointer-events: none;
    z-index: 2;
}
.zac-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .9);
    animation: zacDot 1.4s ease-in-out infinite;
}
@keyframes zacDot {
    0%   { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, .8); }
    60%  { opacity: .55; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0); }
    100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* Green ripple rings around the round button */
.zac-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(34, 197, 94, .85);
    pointer-events: none;
    animation: zacRing 2.4s ease-out infinite;
}
.zac-ring.zac-ring-2 { animation-delay: 1.2s; }
@keyframes zacRing {
    0%   { transform: scale(1); opacity: .9; }
    100% { transform: scale(1.55); opacity: 0; }
}
#aiAstroChatWidget.zac-open .zac-ring { display: none; }

/* "Astrologer is online" note beside the button */
.zac-teaser {
    position: absolute;
    right: 68px;
    bottom: 6px;
    width: max-content;
    max-width: min(250px, calc(100vw - 110px));
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 30px 9px 11px;
    border-radius: 14px 14px 4px 14px;
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    border: 1px solid rgba(34, 197, 94, .7);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .55), 0 0 14px rgba(34, 197, 94, .25);
    color: #f1f5f9;
    font: 600 12.5px/1.35 system-ui, -apple-system, "Segoe UI", "Noto Sans Devanagari", sans-serif;
    cursor: pointer;
    opacity: 0;
    transform: translateY(8px) scale(.96);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
    box-sizing: border-box;
}
.zac-teaser.zac-show { opacity: 1; transform: none; pointer-events: auto; }
.zac-teaser-dot {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    animation: zacTeaserDot 1.6s ease-out infinite;
}
@keyframes zacTeaserDot {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .8); }
    100% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
}
.zac-teaser-x {
    position: absolute;
    top: 4px;
    right: 5px;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #94a3b8;
    font: 400 16px/22px system-ui, sans-serif;
    cursor: pointer;
}
.zac-teaser-x:hover { color: #fff; background: rgba(148, 163, 184, .15); }

@media (prefers-reduced-motion: reduce) {
    .zac-ring, .zac-live-dot, .zac-teaser-dot { animation: none; }
}
