
/* ========== ESTILOS PANEL 2 - SCROLL DE VIDEO ========== */

#panel2 {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: black;
    pointer-events: auto;
    z-index: 10000;
  }
  

#panel2 .popup-content.tiktok-scroll {
    height: 100vh;
    width: 100vw;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

#panel2 .popup-content.tiktok-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-block {
    height: 100vh;
    width: 100vw;
    scroll-snap-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: black;
}

.scroll-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tiktok-scroll {
    scroll-behavior: smooth;
}

/* BOTONES FLOTANTES */
.button-group-top-left {
    position: fixed;
    top: 20px;
    left: 20px;
    display: none;
    flex-direction: row;
    gap: 10px;
    z-index: 10100;
    pointer-events: auto;
  }
  
  .floating-button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 101001;
    pointer-events: auto;
    transition: background 0.3s ease, transform 0.2s ease;
}

.floating-button:active {
    transform: scale(0.92);
    background: rgba(255, 255, 255, 0.18);
}

  
  #panel2.open {
    display: flex;
    justify-content: center;
    align-items: center;
  }
    

/* BARRA LATERAL SOBRE EL VIDEO */
.side-panel-over {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10100;
}

/* TOGGLE DESLIZANTE */
.toggle-line {
    pointer-events: auto;
    z-index: 10100;
}
