/* ============================================================
   V PRO · Paginador universal — estilos (paginador.css)
   Add-on autocontenido: lo carga paginador.js (que a su vez
   inyecta este <link>). No depende de styles.css.
   Tokens de marca: coral #F7A699 · oscuro #4D4B51 · muted #7C7183
                    rosa claro #fde8e5 · fuente Montserrat
   ============================================================ */

.vpro-pager {
    margin-top: 4px
}

.vpro-topbar {
    margin-bottom: 20px
}

/* --- Cabecera de progreso: posición + porcentaje --- */
.vpro-progress-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px
}

.vpro-progress-count {
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #F7A699;
    white-space: nowrap
}

.vpro-progress-pct {
    font-size: .85rem;
    font-weight: 700;
    color: #F7A699;
    white-space: nowrap;
    font-variant-numeric: tabular-nums
}

/* --- Barra de progreso --- */
.vpro-progress {
    height: 6px;
    background: #f5f5f5c2;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 18px
}

.vpro-progress-fill {
    height: 100%;
    width: 0;
    background: #F7A699;
    border-radius: 3px;
    transition: width .4s ease
}

/* --- Mapa / índice (vertical, con nombres visibles) --- */
.vpro-map {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.vpro-step {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 7px 10px;
    border: none;
    border-radius: 10px;
    background: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background .15s
}

.vpro-step:hover {
    background: #fdf1ef;
}

.vpro-step.active {
    background: #fde8e5;
}

.vpro-step-dot {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(124, 113, 131, .3);
    background: #fff;
    color: #7C7183;
    font-size: .76rem;
    font-weight: 700;
    transition: all .2s
}

.vpro-step.done .vpro-step-dot {
    border-color: #F7A699;
    background: #fde8e5;
    color: #c0584a
}

.vpro-step.active .vpro-step-dot {
    border-color: #F7A699;
    background: #F7A699;
    color: #4D4B51;
    box-shadow: 0 0 0 4px rgba(247, 166, 153, .25)
}

.vpro-step.is-quiz .vpro-step-dot {
    border-style: dashed
}

.vpro-step.is-quiz.active .vpro-step-dot {
    border-style: solid
}

.vpro-step-name {
    font-size: .85rem;
    font-weight: 600;
    color: var(--text_color_classes_names);
    line-height: 1.3;
    transition: color .15s
}

.vpro-step.done .vpro-step-name {
    opacity: .7;
}

.vpro-step.active .vpro-step-name,  .vpro-step:hover .vpro-step-name{
    color: #4D4B51;
    font-weight: 700
}

/* --- Páginas --- */
.vpro-page {
    display: none
}

.vpro-page.active {
    display: block;
    animation: vproFadeIn .3s ease
}

.vpro-page>.section-title:first-child {
    margin-top: 10px
}

.vpro-page>.quiz-section {
    margin-top: 0
}

@keyframes vproFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* --- Navegación inferior --- */
.vpro-paginator-btn{
    background: var(--e-global-color-primary_joint);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}

.vpro-paginator-btn:hover, .vpro-paginator-btn:active, .vpro-paginator-btn:focus{
    background-color: var(--e-global-color-primary_joint);
    border-color: var(--e-global-color-primary_joint);
    filter: brightness(1.1);
}

.vpro-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px
}

.vpro-paginator-btn.vpro-ghost {
    background-color: transparent;
    color: var(--text_color_classes_names);
    border: 2px solid var(--text_color_classes_names);
}

.vpro-paginator-btn.vpro-ghost:hover {
    color: #F7A699;
    border-color: #F7A699;
    opacity: 1
}

.vpro-paginator-btn:disabled {
    opacity: .35;
    cursor: default;
    pointer-events: none;
}

.vpro-nav .vpro-next {
    margin-left: auto
}

@media(max-width:480px) {
    .vpro-step-dot {
        width: 26px;
        height: 26px;
        font-size: .72rem
    }

    .vpro-btn.vpro-prev,
    .vpro-btn.vpro-next {
        padding: 10px 16px
    }
}
