/* ========================================================================
   TV PLAYER STYLES - Estilos específicos para el reproductor de TV
   ======================================================================== */

/* Animaciones para el reproductor de TV */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Estilos para la página del reproductor de TV */
.wmb-tv-player-page .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.wmb-tv-player-page .header-card:hover,
.wmb-tv-player-page .player-card:hover,
.wmb-tv-player-page .info-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

/* Estilos para Video.js player */
.video-js .vjs-big-play-button {
    background: rgba(0, 123, 255, 0.9) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 70px !important;
    height: 70px !important;
    line-height: 70px !important;
    font-size: 1.5rem !important;
    margin-left: -35px !important;
    margin-top: -35px !important;
}

.video-js .vjs-control-bar {
    background: rgba(0,0,0,0.8) !important;
    border-radius: 0 0 8px 8px !important;
}

.video-js .vjs-progress-control .vjs-progress-holder {
    border-radius: 4px !important;
}

.video-js .vjs-play-progress {
    background: #007bff !important;
    border-radius: 4px !important;
}

/* Indicador de transmisión en vivo */
.live-indicator {
    animation: pulse 2s infinite;
}

/* Estilos para las tarjetas del reproductor de TV */
.wmb-tv-player-page {
    background: #f8f9fa;
    min-height: 100vh;
}

.header-card,
.player-card,
.info-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.wmb-player-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Overlays del reproductor */
.wmb-player-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    z-index: 10;
}

.wmb-loading-overlay {
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wmb-error-overlay {
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
}

.wmb-overlay-content {
    width: 100%;
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.wmb-error-overlay .loading-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid #007bff;
}

/* Estilos para el botón de play personalizado */
.play-button-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 25px rgba(0,0,0,0.5);
}

.play-button:active {
    transform: scale(0.95);
}

.play-button i {
    font-size: 2rem;
    color: #007bff;
    margin-left: 4px;
    transition: color 0.3s ease;
}

.play-button:hover i {
    color: #0056b3;
}

/* Estilos para información adicional */
.info-item {
    text-align: center;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.info-item h6 {
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.info-item p {
    color: var(--gray-600);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Responsive para dispositivos móviles */
@media (max-width: 768px) {
    .header-card,
    .player-card,
    .info-card {
        padding: 1.5rem;
    }
    .wmb-player-actions {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-top: 0.7rem;
        margin-bottom: 0.2rem;
        flex-wrap: nowrap;
    }
    .wmb-player-actions .btn {
        margin-bottom: 0;
        flex: 1 1 0;
        min-width: 0;
        padding: 0.6rem 0.7rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
    .wmb-player-actions .btn span {
        display: inline;
        font-size: 0.98em;
        margin-left: 0.3em;
    }
    .loading-spinner {
        width: 40px;
        height: 40px;
    }
    
    .play-button {
        width: 70px;
        height: 70px;
    }
    
    .play-button i {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .header-card,
    .player-card,
    .info-card {
        padding: 1rem;
    }
    .wmb-overlay-content h4 {
        font-size: 1.25rem;
    }
    .wmb-overlay-content p {
        font-size: 0.875rem;
    }
    .wmb-player-actions {
        gap: 0.25rem;
        width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 0.1rem;
        flex-wrap: nowrap;
    }
    .wmb-player-actions .btn {
        font-size: 0.97rem;
        padding: 0.5rem 0.5rem;
        white-space: nowrap;
    }
    .wmb-player-actions .btn span {
        font-size: 0.95em;
        margin-left: 0.25em;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
    
    .wmb-overlay-content h4 {
        font-size: 1.1rem;
    }
    
    .wmb-overlay-content p {
        font-size: 0.8rem;
    }
} 