/**
 * Single Video Player - Estilos
 * Versión: 1.0
 * Fecha: 2025-07-02
 * Autor: 22MW
 */

/* Contenedor principal */
.single-video-player {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background-color: #000;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-radius: 8px;
    min-height: 85vh; /* Altura mínima del 90% del viewport */
    height: 85vh; /* Altura mínima del 90% del viewport */
}

.svp-player-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.svp-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
    z-index: 1;
    cursor: pointer;
}

/* Controles */
.svp-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    /*background: #0000002e;*/
}

.svp-player-wrapper:hover .svp-controls,
.svp-controls.svp-controls-visible {
    opacity: 1;
}
@media screen and (max-width: 1199px) {
    .svp-controls {
        opacity: 1 !important;
    }
}

/* Botones */
.svp-back-button,
.svp-play-pause,
.svp-mute,
.svp-fullscreen {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, color 0.2s ease;
    padding: 0;
    margin: 0 5px;
}
@media screen and (max-width: 760px) {
    #content-info .jet-listing-dynamic-repeater__items {
        max-height: inherit;
        overflow: auto;
        display: flex;
    }
}


.svp-controls button:hover,
.svp-controls button:focus {
    transform: scale(1);
    background-color:transparent; !important;
}
.svp-controls button:hover i,
.svp-controls button:focus i{
    opacity: 0.3;
}

.svp-progress-container {
    flex-grow: 1;
    margin: 0 10px;
    position: relative;
}

.svp-progress-bar {
    height: 2px;
    background-color: transparent;
    border-radius: 0;
    position: relative;
    cursor: pointer;
}

.svp-buffer-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: rgba(255,255,255,0.35);
}

.svp-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #ffffff;
    z-index: 1;
}
.svp-time {
    color: white;
    font-size: 14px;
    font-family: inherit;, sans-serif;
    margin-left: 10px;
    min-width: 45px;
    text-align: right;
}

/* Estado de reproducción */
.svp-playing .svp-play-icon {
    display: none;
}

.svp-paused .svp-pause-icon {
    display: none;
}

.svp-muted .svp-volume-icon {
    display: none;
}

.svp-unmuted .svp-mute-icon {
    display: none;
}

/* Preloader */
.svp-preloader {
    position: absolute;
    z-index: 2;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.svp-preloader.svp-hidden {
    opacity: 0;
}

.svp-preloader-spinner {
    width: 100%;
    height: 100%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: svp-spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@keyframes svp-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Prompt para reproducción */
.svp-play-prompt {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0.7);
    color: white;
    font-size: 18px;
    cursor: pointer;
    z-index: 4;
    animation: svp-fade-in 0.5s forwards;
}

@keyframes svp-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile styles */
@media (max-width: 768px) {
    .svp-controls {
        height: 40px;
        padding: 0 10px;
    }
    
    .svp-back-button,
    .svp-play-pause,
    .svp-mute,
    .svp-fullscreen {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .svp-progress-container {
        margin: 0 8px;
    }
    
    .svp-time {
        font-size: 12px;
        min-width: 40px;
    }
    
    .svp-preloader {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .svp-controls {
        height: 36px;
    }
    
    .svp-back-button,
    .svp-play-pause,
    .svp-mute,
    .svp-fullscreen {
        width: 28px;
        height: 28px;
        font-size: 12px;
        margin: 0 3px;
    }
    
    .svp-time {
        font-size: 10px;
        min-width: 35px;
    }
}