/* Tour guiado (wwwroot/js/tour.js). Usa los colores del tema activo (--primary, --text-primary). */
.tourfs-capa {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: transparent; /* bloquea clics; el oscurecido lo pone la sombra del foco */
}

.tourfs-capa-oscura {
    background: rgba(0, 0, 0, 0.6);
}

.tourfs-foco {
    position: fixed;
    z-index: 10001;
    border-radius: 0.8rem;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.6);
    outline: 3px solid var(--primary, #47a6dd);
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}

.tourfs-foco.tourfs-visible {
    opacity: 1;
}

.tourfs-globo {
    position: fixed;
    z-index: 10002;
    width: min(360px, calc(100vw - 24px));
    background: #fff;
    color: #333;
    border-radius: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 1rem 1.1rem 0.9rem;
    font-family: inherit;
    text-align: left;
    transition: opacity .15s ease;
}

.tourfs-globo.tourfs-centrado {
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%);
    width: min(440px, calc(100vw - 24px));
}

.tourfs-globo.tourfs-cargando {
    opacity: 0;
}

.tourfs-progreso {
    font-size: 0.75rem;
    color: var(--text-primary, #00364A);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: .25rem;
}

.tourfs-titulo {
    font-family: var(--font-titulos, inherit);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--text-primary, #345b85);
    margin-bottom: .4rem;
}

.tourfs-texto {
    font-size: 0.92rem;
    line-height: 1.45;
}

.tourfs-texto ul {
    padding-left: 1.1rem;
    margin: .4rem 0 0;
}

.tourfs-texto .badge {
    font-size: 0.75rem;
}

.tourfs-acciones {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .5rem;
    margin-top: .9rem;
}

.tourfs-nav {
    display: flex;
    gap: .4rem;
}

.tourfs-btn {
    border: 1px solid var(--primary, #47a6dd);
    background: var(--primary, #47a6dd);
    color: var(--button-text, #fff);
    border-radius: 0.6rem;
    padding: .35rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
}

.tourfs-btn:hover {
    background: var(--button-hover, var(--primary, #47a6dd));
    border-color: var(--button-hover, var(--primary, #47a6dd));
    color: var(--button-hover-text, #fff);
}

.tourfs-btn:focus-visible {
    outline: 2px solid var(--text-primary, #345b85);
    outline-offset: 2px;
}

.tourfs-btn-sec {
    background: #fff;
    color: var(--text-primary, #47a6dd);
}

.tourfs-omitir {
    background: none;
    border: none;
    padding: 0;
    font-size: 0.85rem;
    color: #777;
    text-decoration: underline;
    cursor: pointer;
}

.tourfs-novolver {
    display: flex;
    align-items: center;
    gap: .35rem;
    font-size: 0.85rem;
    color: #555;
    cursor: pointer;
    margin: 0;
}

/* Vigencia elegida en la solicitud de ejemplo del tutorial */
.tourfs-elegida {
    outline: 3px solid var(--marca-amarillo, #FFF200);
    outline-offset: 2px;
}
