/* Barre du lecteur vidéo des étapes (30/10/2026) : public/js/lecteur.js. */

.nds-lecteur {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.6rem auto 0;
    padding: 0.45rem 0.6rem;
    max-width: 100%;
    background: #f5f1fc;
    border: 1px solid rgba(111, 66, 193, 0.15);
    border-radius: 14px;
}

.nds-lecteur__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 44px;
    min-height: 40px;
    padding: 0 0.7rem;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #4b2a8a;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    justify-content: center;
}

.nds-lecteur__btn i {
    font-size: 1.25rem;
    line-height: 1;
}

.nds-lecteur__btn:hover,
.nds-lecteur__btn:focus-visible {
    background: #6f42c1;
    color: #fff;
}

.nds-lecteur__btn[hidden],
.nds-lecteur__subs[hidden] {
    display: none !important;
}

.nds-lecteur__subs {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: #4b2a8a;
}

.nds-lecteur__subs i {
    font-size: 1.3rem;
}

.nds-lecteur__subs select {
    min-height: 40px;
    min-width: 9.5rem;
    border-radius: 999px;
    border-color: rgba(111, 66, 193, 0.3);
}

.nds-lecteur__next {
    background: #ffc107;
    color: #2b1a4f;
}

/* Sous-titres plus lisibles : fond foncé, et une taille « grand » au choix. */
video.step-video::cue {
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    line-height: 1.35;
}

video.step-video.nds-subs-large::cue {
    font-size: 140%;
}

@media (max-width: 575.98px) {
    .nds-lecteur {
        gap: 0.4rem;
        padding: 0.4rem;
    }

    .nds-lecteur__subs select {
        min-width: 0;
        max-width: 9rem;
    }
}
