/* =========================================================================
   U1 — Hoja de primera visita (Users\FirstVisitSheet)
   Hoja inferior compacta en celular; tarjeta abajo a la derecha en escritorio.
   No lleva fondo oscuro: no tapa la página (decisión con Jorge).
   ========================================================================= */

.bindy-hoja {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 9970;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
    text-transform: none !important;
}
.bindy-hoja[hidden] { display: none; }
.bindy-hoja * { text-transform: none !important; box-sizing: border-box; }
.bindy-hoja__box {
    pointer-events: auto;
    position: relative;
    width: 100%;
    max-width: 560px;
    background: #ffffff;
    border-radius: 18px 18px 0 0;
    padding: 16px 14px calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 34px rgba(8, 58, 132, .22);
    border-top: 1px solid #e2e8f2;
    transform: translateY(105%);
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.bindy-hoja.is-on .bindy-hoja__box { transform: translateY(0); }
.bindy-hoja__x {
    position: absolute;
    top: 8px; right: 8px;
    width: 34px; height: 34px;
    border: 0;
    border-radius: 50%;
    background: #f2f5fa;
    color: #4a5a72;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}
.bindy-hoja__x:hover { background: #e6ecf5; }
.bindy-hoja__head { padding: 0 40px 10px 4px; line-height: 1.25; }
.bindy-hoja__head strong { display: block; font-size: 17px; color: #0b1f3f; font-weight: 700; }
.bindy-hoja__head span { display: block; font-size: 13.5px; color: #5b6b8c; margin-top: 2px; }
.bindy-hoja__opt {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 54px;
    padding: 7px 10px 7px 8px;
    margin: 0 0 6px;
    background: #ffffff;
    border: 1px solid #e3e8f4;
    border-radius: 12px;
    color: #0b1f3f !important;
    text-decoration: none !important;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.bindy-hoja__opt:hover { border-color: #02CCE2; box-shadow: 0 4px 14px rgba(8, 58, 132, .10); }
.bindy-hoja__opt--hi { border-color: #cfe0f6; background: #f5f9ff; }
.bindy-hoja__opt--ghost { background: #fafbfd; }
.bindy-hoja__ill { flex: none; width: 40px; height: 40px; display: inline-flex; }
.bindy-hoja__ill svg { width: 40px; height: 40px; }
.bindy-hoja__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.bindy-hoja__txt b { font-size: 14.5px; font-weight: 700; color: #0b1f3f; }
.bindy-hoja__txt small { font-size: 12.5px; color: #5b6b8c; margin-top: 2px; }
.bindy-hoja__arrow { flex: none; color: #02CCE2; font-size: 22px; font-weight: 700; line-height: 1; }
.bindy-hoja__login { margin: 6px 0 0; text-align: center; font-size: 12.5px; color: #5b6b8c; }
.bindy-hoja__login a { color: #083A84 !important; font-weight: 700; text-decoration: underline !important; }

/* Escritorio: tarjeta compacta abajo a la derecha, misma hoja */
@media (min-width: 768px) {
    .bindy-hoja { justify-content: flex-end; padding: 0 22px 22px; }
    .bindy-hoja__box {
        max-width: 380px;
        border-radius: 16px;
        border: 1px solid #e2e8f2;
        padding: 16px 14px 12px;
        box-shadow: 0 14px 40px rgba(8, 58, 132, .22);
        transform: translateY(24px);
        opacity: 0;
        transition: transform .28s cubic-bezier(.2,.8,.2,1), opacity .25s;
    }
    .bindy-hoja.is-on .bindy-hoja__box { transform: translateY(0); opacity: 1; }
}
@media print { .bindy-hoja { display: none !important; } }
