/* ZOOM */

.zoom-live-info
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.zoom-live-note
{
    font-size: 12px;
    color: #777;
    text-align: center;
    margin-bottom: 2px;
    line-height: 1.2;
}

.zoom-live-wrapper
{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 12px 0 24px 0;
}

/* Container-level visibility */
#zoomLiveMode
{
    display: none;       /* hidden by default until API says LIVE */
}

#zoomOfflineMode
{
    display: flex;       /* shown by default */
}

/* Pills */

.zoom-live-pill,
.zoom-offline-pill
{
    border-radius: 999px;
    padding: 8px 16px;
    font-weight: 600;
    display: inline-flex;   /* always flex; containers control hiding */
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

/* Little red dot indicator */
.zoom-live-dot
{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

/* LIVE state */
.zoom-live-pill
{
    font-size: 0.95rem;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    background: #e02424;
    box-shadow: 0 0 12px rgba(224, 36, 36, 0.6);
    animation: zoom-live-pulse 1.2s ease-in-out infinite;
}

/* OFFLINE state */
.zoom-offline-pill
{
    font-size: 0.75rem;
    text-align: center;
    justify-content: center;
    color: #ffffff;
    background: #000000;
    box-shadow: 0 0 12px rgba(0,0,0,1);    
    font-weight: 500;
}

/* Passcode row (only visible when live via container) */
.zoom-passcode
{
    margin-top: 6px;
    font-size: 14px;
    text-align: center;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.copy-pass-btn
{
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    cursor: pointer;
    transition: background 0.15s ease;
}

.copy-pass-btn:hover
{
    background: #e5e5e5;
}

/* Live pill pulse animation */
@keyframes zoom-live-pulse
{
    0%
    {
        box-shadow: 0 0 6px rgba(224, 36, 36, 0.5);
        transform: scale(1);
    }
    50%
    {
        box-shadow: 0 0 18px rgba(255, 80, 80, 0.95);
        transform: scale(1.03);
    }
    100%
    {
        box-shadow: 0 0 6px rgba(224, 36, 36, 0.5);
        transform: scale(1);
    }
}
