/* =============================================
   ANEP Video Controls – Overlay de botões
   ============================================= */

.anep-vc-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
}

/* ------------------------------------------
   Zonas de duplo clique (esquerda / direita)
   ------------------------------------------ */
.anep-vc-zone {
    position: absolute;
    top: 0;
    bottom: 70px;
    width: 20%;
    pointer-events: all;
    cursor: pointer;
}
.anep-vc-zone--left  { left: 0; }
.anep-vc-zone--right { right: 0; max-width: 120px; }

/* ------------------------------------------
   Barra de botões (parte inferior)
   ------------------------------------------ */
.anep-vc-bar {
    position: absolute;
    bottom: 60px; /* acima dos controles nativos do Plyr */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    pointer-events: all;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Aparece ao passar o mouse no player */
.plyr--video:hover .anep-vc-bar,
.plyr:hover .anep-vc-bar,
.tutor-video-player:hover .anep-vc-bar {
    opacity: 1;
}

/* Sempre visível em telas touch */
@media (hover: none) {
    .anep-vc-bar {
        opacity: 1;
        bottom: 70px;
    }
}

.anep-vc-btn {
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
}
.anep-vc-btn:hover {
    background: rgba(0, 0, 0, 0.85);
}
.anep-vc-btn:active {
    transform: scale(0.96);
}

/* ------------------------------------------
   Flash de feedback ("+10s" / "-10s")
   ------------------------------------------ */
.anep-vc-flash {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 22px;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s ease;
    backdrop-filter: blur(3px);
}
.anep-vc-flash--left  { left: 12%; }
.anep-vc-flash--right { right: 12%; }
.anep-vc-flash--visible { opacity: 1; }

/* ------------------------------------------
   Responsivo – mobile
   ------------------------------------------ */
@media (max-width: 600px) {
    .anep-vc-btn {
        font-size: 11px;
        padding: 5px 8px;
    }
    .anep-vc-bar {
        gap: 5px;
        bottom: 65px;
    }
    .anep-vc-flash {
        font-size: 16px;
        padding: 8px 14px;
    }
}
