/* Estilos del tour guiado (coach-marks). Tematizado con tokens --ktra-*.
   Ver wwwroot/js/tour.js. Táctil: botones 44px+ para el POS de 17". */

.ktra-tour-overlay {
    position: fixed;
    inset: 0;
    z-index: 13000; /* por encima de MudBlazor (drawer/appbar ~1100-1300) */
    pointer-events: auto;
}

/* El "foco": un recuadro alrededor del elemento real. El box-shadow gigante
   oscurece todo lo de fuera, creando el efecto de recorte sin SVG. */
.ktra-tour-ring {
    position: fixed;
    border-radius: 12px;
    box-shadow: 0 0 0 9999px rgba(10, 20, 40, 0.62);
    outline: 3px solid var(--ktra-primary);
    outline-offset: 2px;
    transition: left .25s ease, top .25s ease, width .25s ease, height .25s ease, opacity .2s ease;
    pointer-events: none;
}

.ktra-tour-card {
    position: fixed;
    z-index: 13001;
    width: min(360px, calc(100vw - 24px));
    background: var(--ktra-surface);
    border: 1px solid var(--ktra-border);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(10, 20, 40, 0.35);
    padding: 16px 18px 14px;
    font-family: 'Poppins', sans-serif;
    transition: left .25s ease, top .25s ease;
}

.ktra-tour-progress {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ktra-primary);
    margin-bottom: 6px;
}

.ktra-tour-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--ktra-text);
    line-height: 1.25;
    margin-bottom: 6px;
}

.ktra-tour-body {
    font-size: 14px;
    color: var(--ktra-text-soft);
    line-height: 1.5;
    margin-bottom: 14px;
}

.ktra-tour-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ktra-tour-nav {
    display: flex;
    gap: 8px;
}

.ktra-tour-btn {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    border: none;
    background: var(--ktra-primary);
    color: var(--ktra-on-primary);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: background .12s, transform .12s;
}
.ktra-tour-btn:hover { background: var(--ktra-primary-dark); transform: translateY(-1px); }

.ktra-tour-btn.ghost {
    background: transparent;
    color: var(--ktra-text-soft);
    border: 1px solid var(--ktra-border-input);
}
.ktra-tour-btn.ghost:hover { background: var(--ktra-surface-2); color: var(--ktra-text); }

.ktra-tour-skip {
    min-height: 44px;
    padding: 0 8px;
    background: none;
    border: none;
    color: var(--ktra-text-muted);
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
}
.ktra-tour-skip:hover { color: var(--ktra-text-soft); }
