/* Live Widget CSS */
:root {
    --ccs-live-red: #ef4444;
    --ccs-live-dark: #111827;
    --ccs-live-gray: #374151;
}

.ccs-live-section {
    padding: 4rem 1rem;
    background: var(--ccs-blue-50);
    /* Consistente con el resto */
}

.ccs-live-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ccs-live-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ccs-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ccs-live-red);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.5);
    animation: ccsPulseRed 2s infinite;
}

.ccs-live-badge.offline {
    background: #6b7280;
    box-shadow: none;
    animation: none;
}

.ccs-live-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ccs-blue-900);
    margin-bottom: 0.5rem;
}

.ccs-live-desc {
    color: var(--ccs-gray-700);
    max-width: 600px;
    margin: 0 auto;
}

/* Video Player Area */
.ccs-live-player-wrapper {
    background: black;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
    aspect-ratio: 16 / 9;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.ccs-live-player-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.ccs-live-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--ccs-blue-900), var(--ccs-blue-800));
    color: white;
    text-align: center;
    padding: 2rem;
}

.ccs-live-placeholder i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.ccs-live-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes ccsPulseRed {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.ccs-live-status-text {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--ccs-blue-900);
    text-align: center;
}