/**
 * Video Responsive CSS - EventLive.cl
 * Mantiene proporciones 16:9 en todos los videos
 */

/* Contenedor 16:9 responsivo */
.video-container-16-9 {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (9/16 = 0.5625) */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin: 1rem 0;
}

.video-container-16-9 .video-wrapper,
.video-container-16-9 iframe,
.video-container-16-9 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.video-container-16-9 video {
    object-fit: cover;
}

/* Fullscreen específico para contenedor 16:9 */
.video-container-16-9:fullscreen {
    width: 100vw;
    height: 100vh;
    padding-bottom: 0;
    border-radius: 0;
}

.video-container-16-9:fullscreen .video-wrapper,
.video-container-16-9:fullscreen iframe,
.video-container-16-9:fullscreen video {
    border-radius: 0;
}

/* Responsive breakpoints */
@media (max-width: 768px) {
    .video-container-16-9 {
        border-radius: 8px;
        margin: 0.5rem 0;
    }
    
    .video-container-16-9 .video-wrapper,
    .video-container-16-9 iframe,
    .video-container-16-9 video {
        border-radius: 8px;
    }
}

@media (max-width: 576px) {
    .video-container-16-9 {
        border-radius: 6px;
        margin: 0.25rem 0;
    }
    
    .video-container-16-9 .video-wrapper,
    .video-container-16-9 iframe,
    .video-container-16-9 video {
        border-radius: 6px;
    }
}

/* Controles de video personalizados */
.video-controls-overlay {
    transition: opacity 0.3s ease;
}

.video-controls-overlay:hover {
    opacity: 0.8 !important;
}

/* Botones de control responsivos */
.control-buttons .btn {
    transition: all 0.3s ease;
}

.control-buttons .btn:hover {
    transform: scale(1.1);
}

/* Volume slider responsivo */
.volume-control input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    cursor: pointer;
}

.volume-control input[type="range"]::-webkit-slider-track {
    background: rgba(255, 255, 255, 0.3);
    height: 4px;
    border-radius: 2px;
}

.volume-control input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #007bff;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    cursor: pointer;
}

.volume-control input[type="range"]::-moz-range-track {
    background: rgba(255, 255, 255, 0.3);
    height: 4px;
    border-radius: 2px;
    border: none;
}

.volume-control input[type="range"]::-moz-range-thumb {
    background: #007bff;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}


















