/* Control Room Live Embed Styles */

.cr-live-embed-container {
    margin-bottom: 50px;
    animation: slideInDown 0.4s ease-out;
}

.cr-live-embed-wrapper {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cr-live-embed-indicator {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(211, 47, 47, 0.95);
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cr-live-embed-pulse {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: embeds-pulse 2s ease-in-out infinite;
}

.cr-live-embed-iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
}

/* Live CTA Banner */
.cr-live-cta-banner {
    border: none;
    background: #d32f2f;
}

/* Seamless border wrapper when CTA is present */
.cr-override-with-cta {
    border: 4px solid #d32f2f;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 50px;
}

.cr-override-with-cta .cr-override-embed {
    border-radius: 0;
}

.cr-override-with-cta .cr-live-cta-banner {
    border-top: 4px solid #d32f2f;
    margin: 0 -4px -4px -4px;
}

.cr-live-cta-link {
    text-decoration: none;
    display: block;
    color: #ffffff;
}

.cr-live-cta-link:hover {
    text-decoration: none;
}

.cr-live-cta-text {
    margin: 16px;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
    letter-spacing: 0.3px;
}

.cr-live-cta-link:hover .cr-live-cta-text {
    opacity: 0.9;
}

/* Animations */
@keyframes slideInDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes embeds-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .cr-live-embed-iframe {
        aspect-ratio: 16 / 9;
        min-height: 300px;
    }

    .cr-live-embed-indicator {
        top: 12px;
        left: 12px;
        font-size: 12px;
        padding: 6px 10px;
    }

    .cr-live-cta-text {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    .cr-live-embed-container {
        margin-bottom: 60px;
    }

    .cr-live-embed-iframe {
        aspect-ratio: 16 / 9;
        min-height: 250px;
    }

    .cr-live-embed-indicator {
        font-size: 11px;
        padding: 5px 8px;
    }

    .cr-live-cta-text {
        font-size: 14px;
        margin: 12px;
    }

    .cr-override-wrapper {
        margin-bottom: 40px;
    }
}
