/* Estilo general (modo oscuro) */
/* body {
    background-color: #181818;
    color: #fff;
    font-family: Arial, sans-serif;
} */

/* Contenedor del reproductor */
.video-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  
}

/* Estilo del reproductor principal */
.video-player {
    flex: 2;
    max-width: 700px;
    /* background: #000; */
    background: #dbdfcf;
    padding: 10px;
    border-radius: 5px;
 
}

.video-player iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Contenedor de miniaturas con scroll */
.video-thumbnails {
    flex: 1;
    max-width: 350px;
    height: 430px;
    overflow-y: auto;
    /* background: #252525; */
    background: #dbdfcf;
    padding: 10px;
    border-radius: 5px;
}
.video-thumbnails p{
    color: #353632;
    text-align: center;
}
/* Scroll oscuro */
.video-thumbnails::-webkit-scrollbar,
.options::-webkit-scrollbar {
    width: 10px;
}

.video-thumbnails::-webkit-scrollbar-track,
.options::-webkit-scrollbar-track {
    background: #72746d;
}

.video-thumbnails::-webkit-scrollbar-thumb,
.options::-webkit-scrollbar-thumb {
    background: #565752;
    border-radius: 5px;
}

/* Selector de videos en móviles */
.video-selector-container {
    display: none;
    margin-top: 10px;
    text-align: center;
}

/* Personalización del selector */
.custom-select {
    position: relative;
    width: 100%; /*antes90*/
    /* background: #333; */
    background: #72746d;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
}

.selected-option {
    display: flex;
    align-items: center;
}

.selected-option img {
    width: 60px;
    height: 45px;
    border-radius: 5px;
    margin-right: 10px;
}

.options {
    display: none;
    position: absolute;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    /* background: #252525; */
    background: #dbdfcf;
    color: #353632;
    border-radius: 5px;
    top: 100%;
    left: 0;
    z-index: 10;
}

/* Opciones del selector */
.option {
    display: flex;
    align-items: center;
    padding: 10px;
    cursor: pointer;
}

.option img {
    width: 60px;
    height: 45px;
    border-radius: 5px;
    margin-right: 10px;
}

.option:hover {
    background: #444;
    color:#fff
}

/* .video-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

.video-item img {
    width: 100%;
    height: auto;
    max-width: 200px;
}

.video-description {
    margin-top: 5px;
    font-size: 14px;
    text-align: center;
    color: #555;
} */



/* Mostrar selector solo en móviles */
@media (max-width: 768px) {
    .video-container {
        flex-direction: column;
        align-items: center;
    }

    .video-player, .video-thumbnails {
        max-width: 100%;
    }

    .video-player iframe {
        height: 250px;
    }

    .video-thumbnails {
        display: none;
    }

    .video-selector-container {
        display: block;
    }
}
