/* ── Badge en el header ─────────────────────────────── */
.boxmov-live-badge {
    display: none;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.boxmov-live-badge__dot,
.boxmov-live-widget__dot {
    display: inline-block;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff0000;
    animation: boxmov-pulse 1.2s ease-in-out infinite;
}

/* ── Widget flotante ────────────────────────────────── */
.boxmov-live-widget {
    position: fixed;
    z-index: 99999;
    display: none;
    flex-direction: column;
    width: 320px;
    background: #1a1a2e;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.boxmov-live-widget--bottom-right {
    bottom: 24px;
    right: 24px;
}

.boxmov-live-widget--bottom-left {
    bottom: 24px;
    left: 24px;
}

.boxmov-live-widget__header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #16213e;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.boxmov-live-widget__close {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-size: 16px;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s;
}

.boxmov-live-widget__close:hover {
    color: #fff;
}

.boxmov-live-widget__video {
    aspect-ratio: 16 / 9;
}

.boxmov-live-widget__video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Botón flotante (cuando no hay en vivo) ─────────── */
.boxmov-live-btn {
    position: fixed;
    z-index: 99999;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #ff0000;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.4);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.boxmov-live-btn:hover {
    background: #cc0000;
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.5);
}

.boxmov-live-btn--bottom-right {
    bottom: 24px;
    right: 24px;
}

.boxmov-live-btn--bottom-left {
    bottom: 24px;
    left: 24px;
}

/* ── Animación de pulso ─────────────────────────────── */
@keyframes boxmov-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.25; }
}
