/* ==========================================================
   IZZY · LOGIN
   Misma línea visual del sitio público
   Sin degradados · sin botones blancos · limpio · responsive
   ========================================================== */

:root{
    --izzy-navy:#082b58;
    --izzy-navy-2:#0b3f78;
    --izzy-blue:#0a97cd;
    --izzy-blue-2:#1477ef;
    --izzy-cyan:#13a4d4;
    --izzy-green:#16b866;
    --izzy-text:#17324d;
    --izzy-muted:#647d92;
    --izzy-border:#d3e4ed;
    --izzy-border-strong:#b7d8e7;
    --izzy-page:#eef6fa;
    --izzy-soft:#f6fbfd;
    --izzy-soft-blue:#e9f7fc;
    --izzy-card:#ffffff;
    --izzy-shadow:0 22px 48px rgba(8,43,88,.09);
    --izzy-shadow-soft:0 10px 24px rgba(8,43,88,.06);
    --radius-xl:28px;
    --radius-lg:18px;
    --radius-md:13px;
    --motion:.20s cubic-bezier(.2,.75,.25,1);
}

*{box-sizing:border-box}
html{min-height:100%;background:var(--izzy-page)}

body{
    min-height:100vh;
    margin:0;
    background:var(--izzy-page);
    color:var(--izzy-text);
    font-family:"Segoe UI",Inter,Arial,sans-serif;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
}

button,input,a{font:inherit}
button{cursor:pointer}

.izzy-login-page{
    min-height:100vh;
    display:grid;
    place-items:center;
    padding:22px;
}

.izzy-login-shell{
    width:min(1180px,100%);
    height:min(760px,calc(100vh - 44px));
    min-height:650px;
    display:grid;
    grid-template-columns:minmax(405px,.94fr) minmax(520px,1.06fr);
    overflow:hidden;
    border:1px solid var(--izzy-border);
    border-radius:var(--radius-xl);
    background:#fff;
    box-shadow:var(--izzy-shadow);
}

/* ==========================================================
   PANEL DE MARCA
   ========================================================== */

.izzy-login-brand{
    min-width:0;
    height:100%;
    display:grid;
    grid-template-rows:auto 1fr auto;
    padding:30px 34px 24px;
    background:#f3fbfe;
    border-right:1px solid var(--izzy-border);
}

.brand-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
}

.brand-logo{
    display:inline-flex;
    align-items:center;
}

.brand-logo img{
    display:block;
    width:178px;
    max-width:100%;
    height:auto;
    filter:none!important;
}

.brand-website{
    min-height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:9px 13px;
    border:1px solid #bfdde9;
    border-radius:12px;
    background:#e4f4fa;
    color:#075c80!important;
    text-decoration:none!important;
    font-size:.75rem;
    font-weight:850;
    transition:transform var(--motion),background-color var(--motion),border-color var(--motion);
}
.brand-website:hover,
.brand-website:focus-visible{
    transform:translateY(-2px);
    background:#d8edf6;
    border-color:#a7d2e2;
    color:#064765!important;
}

.brand-main{
    align-self:center;
    padding:16px 0 10px;
}

.brand-kicker,
.auth-kicker{
    display:inline-flex;
    align-items:center;
    min-height:29px;
    padding:7px 11px;
    border-radius:999px;
    border:1px solid #bfe0ec;
    background:#e8f7fc;
    color:#05658d;
    font-size:.65rem;
    line-height:1;
    letter-spacing:.12em;
    font-weight:900;
}

.brand-main h2{
    margin:16px 0 0;
    color:var(--izzy-navy);
    font-size:clamp(2.35rem,4vw,3.55rem);
    line-height:.98;
    letter-spacing:-.05em;
    font-weight:900;
}
.brand-main h2 strong{
    color:var(--izzy-blue-2);
    font-weight:900;
}

.brand-summary{
    max-width:520px;
    margin:18px 0 0;
    color:#506c82;
    font-size:.93rem;
    line-height:1.65;
}

.brand-feature-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:22px;
}

.brand-feature{
    min-width:0;
    display:grid;
    grid-template-columns:40px minmax(0,1fr);
    gap:10px;
    align-items:center;
    padding:11px 12px;
    border:1px solid var(--izzy-border);
    border-radius:15px;
    background:#fff;
    box-shadow:0 5px 14px rgba(8,43,88,.035);
    transition:transform var(--motion),border-color var(--motion),box-shadow var(--motion);
}
.brand-feature:hover{
    transform:translateY(-2px);
    border-color:#b6d9e7;
    box-shadow:0 10px 20px rgba(8,43,88,.06);
}
.feature-icon{
    width:40px;
    height:40px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:#e4f4fa;
    color:#087aa9;
    font-size:.92rem;
}
.brand-feature strong,.brand-feature small{display:block}
.brand-feature strong{
    color:#123e63;
    font-size:.78rem;
    font-weight:900;
}
.brand-feature small{
    margin-top:2px;
    color:#6e8597;
    font-size:.64rem;
    line-height:1.35;
}

.brand-businesses{
    margin-top:17px;
    padding:11px 13px;
    border:1px solid #cce2ec;
    border-radius:14px;
    background:#eaf7fc;
}
.brand-businesses>span{
    display:block;
    margin-bottom:7px;
    color:#547185;
    font-size:.63rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.brand-businesses>div{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}
.brand-businesses b{
    display:inline-flex;
    align-items:center;
    min-height:27px;
    padding:5px 9px;
    border-radius:999px;
    background:#fff;
    border:1px solid #c7dfea;
    color:#15496a;
    font-size:.63rem;
    font-weight:850;
}

.brand-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding-top:14px;
    border-top:1px solid #d7e8ef;
    color:#7890a3;
    font-size:.64rem;
}
.brand-footer strong{color:#315874}

/* ==========================================================
   PANEL DE ACCESO
   ========================================================== */

.izzy-login-access{
    min-width:0;
    height:100%;
    display:grid;
    align-items:center;
    padding:28px 46px;
    background:#fff;
}

.auth-mobile-logo{display:none}

#logreg-forms{
    width:min(540px,100%);
    margin:0 auto;
}

.auth-view{
    width:100%;
    margin:0;
    padding:0;
    background:transparent!important;
    border:0!important;
    box-shadow:none!important;
}

#logreg-forms .form-reset,
#logreg-forms .form-signup{display:none}

.auth-heading{margin-bottom:21px}
.auth-heading h1{
    margin:12px 0 0;
    color:var(--izzy-navy);
    font-size:clamp(2rem,3.7vw,2.65rem);
    line-height:1.02;
    letter-spacing:-.04em;
    font-weight:900;
}
.auth-heading p{
    max-width:520px;
    margin:9px 0 0;
    color:var(--izzy-muted);
    font-size:.84rem;
    line-height:1.5;
}

.auth-form-stack{display:grid;gap:13px}

.auth-control{
    display:grid;
    gap:6px;
    min-width:0;
    margin:0;
}
.auth-control-label{
    color:#203e58;
    font-size:.69rem;
    font-weight:900;
}

.auth-input{
    min-width:0;
    min-height:50px;
    display:grid;
    grid-template-columns:48px minmax(0,1fr);
    align-items:stretch;
    overflow:hidden;
    border:1px solid var(--izzy-border);
    border-radius:12px;
    background:#fff;
    transition:border-color var(--motion),box-shadow var(--motion);
}
.auth-input.has-action{grid-template-columns:48px minmax(0,1fr) 48px}

.auth-control:focus-within .auth-input{
    border-color:#69bad8;
    box-shadow:0 0 0 4px rgba(10,151,205,.09);
}

.auth-input-icon{
    display:grid;
    place-items:center;
    border-right:1px solid #dfeaf0;
    background:#eef8fb;
    color:#0879a8;
    font-size:.9rem;
}

.auth-input input{
    width:100%;
    min-width:0;
    height:48px;
    padding:0 13px;
    border:0!important;
    outline:0!important;
    background:#fff!important;
    color:var(--izzy-text);
    font-size:.86rem;
    font-weight:650;
    box-shadow:none!important;
}
.auth-input input::placeholder{
    color:#8a9cac;
    opacity:1;
    font-weight:500;
}

.auth-password-button{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    padding:0;
    border:0;
    border-left:1px solid #dfeaf0;
    background:#e7f4f9;
    color:#0878a6;
    transition:background-color var(--motion),color var(--motion);
}
.auth-password-button:hover,
.auth-password-button:focus-visible{
    background:#d5ecf5;
    color:#064a6d;
    outline:0;
}

.auth-client-access{
    display:none;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:10px;
    border:1px solid #cfe3ec;
    border-radius:13px;
    background:#f3fafc;
}
#loginform.client-access-visible .auth-form-stack{gap:10px}
#loginform.client-access-visible .auth-heading{margin-bottom:16px}

.registration-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:13px 14px;
}
.registration-grid .span-2{grid-column:1/-1}

.auth-password-info{
    display:grid;
    grid-template-columns:36px minmax(0,1fr);
    gap:9px;
    align-items:center;
    padding:9px 11px;
    border:1px solid #cce5da;
    border-radius:12px;
    background:#eef9f4;
}
.auth-password-info>span{
    width:36px;height:36px;
    display:grid;place-items:center;
    border-radius:10px;
    background:#dff3e9;
    color:#128455;
}
.auth-password-info strong,.auth-password-info small{display:block}
.auth-password-info strong{
    color:#245742;
    font-size:.72rem;
    font-weight:900;
}
.auth-password-info small{
    margin-top:2px;
    color:#618174;
    font-size:.63rem;
    line-height:1.3;
}

/* ==========================================================
   BOTONES Y ENLACES
   ========================================================== */

.auth-button{
    min-height:49px;
    width:100%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:9px 15px;
    border:1px solid transparent;
    border-radius:12px;
    color:#fff!important;
    font-size:.83rem;
    font-weight:900;
    text-decoration:none!important;
    transition:transform var(--motion),background-color var(--motion),box-shadow var(--motion);
}
.auth-button:hover,
.auth-button:focus-visible{
    transform:translateY(-2px);
    color:#fff!important;
    outline:0;
}
.auth-button-primary{
    background:var(--izzy-navy-2);
    border-color:var(--izzy-navy-2);
}
.auth-button-primary:hover,
.auth-button-primary:focus-visible{
    background:#083463;
    border-color:#083463;
    box-shadow:0 11px 22px rgba(8,43,88,.15);
}
.auth-button-create{
    background:var(--izzy-blue);
    border-color:var(--izzy-blue);
}
.auth-button-create:hover,
.auth-button-create:focus-visible{
    background:#0788ba;
    border-color:#0788ba;
    box-shadow:0 11px 22px rgba(10,151,205,.17);
}

.auth-link-row{
    display:flex;
    justify-content:flex-end;
}

.auth-forgot-link{
    max-width:260px;
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr);
    gap:9px;
    align-items:center;
    padding:7px 9px;
    border-radius:11px;
    background:#edf8fc;
    color:#075c80!important;
    text-decoration:none!important;
    transition:transform var(--motion),background-color var(--motion);
}
.auth-forgot-link:hover,
.auth-forgot-link:focus-visible{
    transform:translateY(-1px);
    background:#e2f3f9;
    color:#064864!important;
}
.auth-forgot-icon{
    width:34px;height:34px;
    display:grid;place-items:center;
    border-radius:10px;
    background:#d9eff7;
    color:#0877a3;
}
.auth-forgot-link small,
.auth-forgot-link strong{display:block}
.auth-forgot-link small{
    margin-bottom:1px;
    color:#71899b;
    font-size:.60rem;
    font-weight:700;
}
.auth-forgot-link strong{
    color:#075c80;
    font-size:.70rem;
    font-weight:900;
}

.auth-account-block{margin-top:18px}
.auth-divider{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    gap:11px;
    align-items:center;
    margin-bottom:12px;
    color:#7d8f9f;
    font-size:.65rem;
    font-weight:750;
}
.auth-divider::before,.auth-divider::after{
    content:"";height:1px;background:#dbe7ed;
}

.auth-extra-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:12px;
}
.auth-extra-card{
    min-width:0;
    min-height:70px;
    display:grid;
    grid-template-columns:36px minmax(0,1fr) 14px;
    gap:9px;
    align-items:center;
    padding:11px 12px;
    border-radius:13px;
    text-decoration:none!important;
    transition:transform var(--motion),box-shadow var(--motion),border-color var(--motion),background-color var(--motion);
}
.auth-extra-card.demo{
    background:#e7f7fc;
    border:1px solid #b8dfec;
    color:#075675!important;
}
.auth-extra-card.website{
    background:#e8f0f8;
    border:1px solid #c5d7e7;
    color:#0b3d6b!important;
}
.auth-extra-card:hover,
.auth-extra-card:focus-visible{
    transform:translateY(-2px);
    box-shadow:var(--izzy-shadow-soft);
    outline:0;
}
.auth-extra-icon{
    width:36px;height:36px;
    display:grid;place-items:center;
    border-radius:10px;
    background:rgba(255,255,255,.72);
    color:inherit;
}
.auth-extra-card small,.auth-extra-card strong{display:block;color:inherit}
.auth-extra-card small{
    margin-bottom:2px;
    opacity:.72;
    font-size:.58rem;
    line-height:1.2;
    font-weight:750;
}
.auth-extra-card strong{
    font-size:.70rem;
    line-height:1.2;
    font-weight:900;
}
.auth-extra-arrow{font-size:.65rem;opacity:.6}

.auth-security-note{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    margin-top:11px;
    color:#7b8f9f;
    font-size:.64rem;
    font-weight:700;
}
.auth-security-note i{color:var(--izzy-green)}

.auth-return-button{
    min-height:45px;
    width:100%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    padding:8px 13px;
    border:1px solid #b8d9e6;
    border-radius:12px;
    background:#e5f3f8;
    color:#075779;
    font-size:.74rem;
    font-weight:900;
    transition:transform var(--motion),background-color var(--motion),border-color var(--motion);
}
.auth-return-button:hover,
.auth-return-button:focus-visible{
    transform:translateY(-1px);
    background:#d9edf5;
    border-color:#a6d0df;
    color:#064562;
    outline:0;
}

.auth-inline-links{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:9px;
    margin-top:12px;
    font-size:.68rem;
}
.auth-inline-links a{
    color:#0879a7!important;
    text-decoration:none!important;
    font-weight:850;
}
.auth-inline-links a:hover{color:var(--izzy-navy)!important}
.auth-inline-links>span{
    width:3px;height:3px;border-radius:50%;
    background:#9eb0be;
}

.RespuestaAjax{
    display:none;
    margin:0;
    padding:9px 11px;
    border-radius:10px;
    font-size:.70rem;
    line-height:1.35;
}
.RespuestaAjax:not(:empty){display:block}

.notyf__toast{
    border-radius:12px!important;
    box-shadow:0 14px 34px rgba(8,43,88,.16)!important;
}
.notyf__message{
    font-family:"Segoe UI",Inter,Arial,sans-serif!important;
    font-size:.80rem!important;
    line-height:1.4!important;
}

.auth-footer-mobile{display:none}

/* ==========================================================
   DESKTOP COMPACTO: REGISTRO Y LOGIN CABEN SIN SCROLL
   ========================================================== */

@media(min-width:1051px) and (max-height:820px){
    .izzy-login-page{padding:12px}
    .izzy-login-shell{
        height:calc(100vh - 24px);
        min-height:610px;
    }
    .izzy-login-brand{padding:22px 28px 18px}
    .brand-logo img{width:158px}
    .brand-main{padding:10px 0 6px}
    .brand-main h2{font-size:2.8rem}
    .brand-summary{font-size:.83rem;margin-top:13px}
    .brand-feature-grid{margin-top:16px;gap:8px}
    .brand-feature{padding:9px 10px}
    .brand-businesses{margin-top:12px;padding:9px 11px}
    .brand-footer{padding-top:10px}
    .izzy-login-access{padding:18px 42px}
    .auth-heading{margin-bottom:15px}
    .auth-heading h1{font-size:2.25rem}
    .auth-heading p{font-size:.78rem}
    .auth-form-stack{gap:10px}
    .registration-grid{gap:10px 12px}
    .auth-account-block{margin-top:14px}
    .auth-extra-actions{margin-top:9px}
    .auth-extra-card{min-height:62px;padding:9px 10px}
    .auth-security-note{margin-top:8px}
    .auth-inline-links{margin-top:9px}
}

/* ==========================================================
   TABLET / MÓVIL
   ========================================================== */

@media(max-width:1050px){
    .izzy-login-page{
        padding:16px;
        place-items:start center;
    }
    .izzy-login-shell{
        height:auto;
        min-height:auto;
        grid-template-columns:1fr;
    }
    .izzy-login-brand{
        height:auto;
        padding:24px;
        border-right:0;
        border-bottom:1px solid var(--izzy-border);
    }
    .brand-main{padding:24px 0 8px}
    .brand-main h2{font-size:2.45rem}
    .brand-feature-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:9px;
        margin-top:18px;
    }
    .brand-feature{
        grid-template-columns:1fr;
        align-content:start;
    }
    .brand-footer{display:none}
    .izzy-login-access{
        height:auto;
        padding:34px 28px;
    }
    #logreg-forms{width:min(680px,100%)}
}

@media(max-width:760px){
    .izzy-login-page{padding:0;background:#fff}
    .izzy-login-shell{
        width:100%;
        border:0;
        border-radius:0;
        box-shadow:none;
    }
    .izzy-login-brand{display:none}
    .izzy-login-access{
        min-height:100vh;
        align-items:start;
        padding:22px 17px 18px;
    }
    .auth-mobile-logo{
        display:flex;
        justify-content:center;
        margin-bottom:22px;
    }
    .auth-mobile-logo img{
        display:block;
        width:148px;
        height:auto;
    }
    .auth-heading{
        text-align:center;
        margin-bottom:22px;
    }
    .auth-heading h1{font-size:2.05rem}
    .auth-heading p{
        margin-inline:auto;
        font-size:.82rem;
    }
    .registration-grid{
        grid-template-columns:1fr;
        gap:14px;
    }
    .registration-grid .span-2{grid-column:auto}
    .auth-client-access{grid-template-columns:1fr}
    .auth-extra-actions{grid-template-columns:1fr}
    .auth-link-row{justify-content:center}
    .auth-forgot-link{
        width:100%;
        max-width:none;
    }
    .auth-footer-mobile{
        display:grid;
        gap:4px;
        justify-items:center;
        margin-top:20px;
        padding-top:15px;
        border-top:1px solid #dce7ed;
        color:#8b9ba8;
        font-size:.63rem;
        text-align:center;
    }
}

@media(max-width:420px){
    .izzy-login-access{padding-inline:13px}
    .auth-heading h1{font-size:1.9rem}
    .auth-input{grid-template-columns:44px minmax(0,1fr)}
    .auth-input.has-action{grid-template-columns:44px minmax(0,1fr) 44px}
    .auth-input-icon,.auth-password-button{width:44px}
}

@media(prefers-reduced-motion:reduce){
    *,*::before,*::after{
        transition:none!important;
        animation:none!important;
        scroll-behavior:auto!important;
    }
}


/* ==========================================================
   IZZY LOGIN v1.0.1 · ajuste final de layout
   ========================================================== */

/* El contenedor principal mantiene una altura fija y elegante en escritorio. */
@media (min-width: 1051px){
    .izzy-login-shell{
        height:95vh!important;
        max-height:820px!important;
        min-height:620px!important;
    }

    .izzy-login-brand,
    .izzy-login-access{
        height:100%!important;
        min-height:0!important;
    }

    .izzy-login-access{
        overflow:hidden!important;
        padding:22px 42px!important;
    }

    #logreg-forms{
        max-height:100%!important;
        min-height:0!important;
    }
}

/* Elimina definitivamente cualquier tarjeta gris heredada del CSS anterior/Bootstrap. */
#logreg-forms,
#logreg-forms form,
#logreg-forms form.auth-view,
#loginform,
#forgot_form,
#form_registro{
    background:#fff!important;
    background-color:#fff!important;
    background-image:none!important;
    box-shadow:none!important;
    border:0!important;
    outline:0!important;
}

/* Mantiene el panel derecho blanco y limpio. */
.izzy-login-access{
    background:#fff!important;
}

/* El registro debe caber dentro del alto de escritorio sin crecer el shell. */
@media (min-width:1051px){
    #form_registro .auth-heading{
        margin-bottom:14px!important;
    }

    #form_registro .auth-heading h1{
        font-size:2.18rem!important;
        margin-top:9px!important;
    }

    #form_registro .auth-heading p{
        margin-top:6px!important;
        line-height:1.42!important;
        font-size:.75rem!important;
    }

    #form_registro .registration-grid{
        gap:9px 12px!important;
    }

    #form_registro .auth-control{
        gap:4px!important;
    }

    #form_registro .auth-control-label{
        font-size:.64rem!important;
    }

    #form_registro .auth-input{
        min-height:44px!important;
    }

    #form_registro .auth-input input{
        height:42px!important;
        font-size:.80rem!important;
    }

    #form_registro .auth-input-icon,
    #form_registro .auth-password-button{
        height:42px!important;
    }

    #form_registro .auth-password-info{
        padding:7px 10px!important;
    }

    #form_registro .auth-button{
        min-height:44px!important;
    }

    #form_registro .auth-return-button{
        min-height:40px!important;
    }

    #form_registro .auth-extra-actions{
        margin-top:9px!important;
    }

    #form_registro .auth-extra-card{
        min-height:58px!important;
        padding:8px 10px!important;
    }
}

/* Si Cliente/PIN aparece, el login se compacta en lugar de hacer crecer la vista. */
@media (min-width:1051px){
    #loginform.client-access-visible .auth-heading{
        margin-bottom:12px!important;
    }

    #loginform.client-access-visible .auth-form-stack{
        gap:8px!important;
    }

    #loginform.client-access-visible .auth-account-block{
        margin-top:12px!important;
    }

    #loginform.client-access-visible .auth-extra-actions{
        margin-top:8px!important;
    }

    #loginform.client-access-visible .auth-extra-card{
        min-height:58px!important;
        padding:8px 10px!important;
    }

    #loginform.client-access-visible .auth-security-note{
        margin-top:7px!important;
    }

    #loginform.client-access-visible .auth-client-access{
        padding:8px!important;
        gap:8px!important;
    }

    #loginform.client-access-visible .auth-client-access .auth-input{
        min-height:44px!important;
    }

    #loginform.client-access-visible .auth-client-access input,
    #loginform.client-access-visible .auth-client-access .auth-input-icon{
        height:42px!important;
    }
}

/* Demo / sitio web: exactamente el mismo lenguaje visual en las 3 vistas. */
.auth-extra-actions-compact{
    margin-top:12px!important;
}

#forgot_form .auth-extra-actions,
#form_registro .auth-extra-actions{
    grid-template-columns:1fr 1fr!important;
}

#forgot_form .auth-extra-card,
#form_registro .auth-extra-card{
    background-image:none!important;
}

#forgot_form .auth-extra-card.demo,
#form_registro .auth-extra-card.demo{
    background:#e7f7fc!important;
    border-color:#b8dfec!important;
    color:#075675!important;
}

#forgot_form .auth-extra-card.website,
#form_registro .auth-extra-card.website{
    background:#e8f0f8!important;
    border-color:#c5d7e7!important;
    color:#0b3d6b!important;
}

/* Recuperación compacta y centrada en el mismo panel blanco. */
#forgot_form{
    width:100%!important;
}

#forgot_form .auth-heading{
    margin-bottom:20px!important;
}

#forgot_form .auth-form-stack{
    gap:13px!important;
}

/* Solo usamos nuestro botón de ojo: ocultar controles nativos del navegador. */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear{
    display:none!important;
    width:0!important;
    height:0!important;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-contacts-auto-fill-button{
    visibility:hidden!important;
    display:none!important;
    pointer-events:none!important;
    position:absolute!important;
    right:0!important;
}

/* Edge / Chromium: reserva el área del ojo únicamente para nuestro botón. */
.auth-input.has-action input[type="password"],
.auth-input.has-action input[type="text"]{
    padding-right:12px!important;
}

/* Responsive: solo pantallas pequeñas pueden crecer naturalmente y hacer scroll. */
@media (max-width:1050px){
    .izzy-login-shell{
        height:auto!important;
        max-height:none!important;
        min-height:0!important;
    }

    .izzy-login-access{
        overflow:visible!important;
    }
}

@media (max-width:760px){
    #forgot_form .auth-extra-actions,
    #form_registro .auth-extra-actions{
        grid-template-columns:1fr!important;
    }

    #form_registro .registration-grid{
        gap:14px!important;
    }
}


/* ==========================================================
   IZZY LOGIN v1.0.2 · refinamiento visual integral
   ========================================================== */

/* ---------- Marca / logo ---------- */
.brand-header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:18px!important;
}

.brand-logo-wrap{
    display:flex!important;
    justify-content:center!important;
    padding-left:86px!important;
}

.brand-logo img{
    width:196px!important;
    max-width:100%!important;
}

.brand-website{
    min-height:54px!important;
    display:grid!important;
    grid-template-columns:36px auto!important;
    gap:9px!important;
    align-items:center!important;
    padding:8px 12px!important;
    background:#e6f5fa!important;
    border:1px solid #b9dce9!important;
    border-radius:14px!important;
    color:#075979!important;
}

.brand-website-icon{
    width:36px!important;
    height:36px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:10px!important;
    background:#d3edf7!important;
    color:#0879a8!important;
}

.brand-website small,
.brand-website strong{
    display:block!important;
    line-height:1.1!important;
}

.brand-website small{
    margin-bottom:3px!important;
    color:#648093!important;
    font-size:.58rem!important;
    font-weight:750!important;
}

.brand-website strong{
    color:#075979!important;
    font-size:.70rem!important;
    font-weight:900!important;
}

.brand-website:hover,
.brand-website:focus-visible{
    background:#dbf0f7!important;
    border-color:#a5d1e2!important;
    color:#064a68!important;
    box-shadow:0 10px 20px rgba(8,43,88,.07)!important;
}

/* ---------- Mismo alto visual para las 3 vistas ---------- */
@media (min-width:1051px){
    .izzy-login-shell{
        height:95vh!important;
        max-height:820px!important;
        min-height:640px!important;
    }

    .izzy-login-access{
        display:flex!important;
        align-items:center!important;
        overflow:hidden!important;
    }

    #logreg-forms{
        width:min(560px,100%)!important;
        max-height:100%!important;
        display:flex!important;
        flex-direction:column!important;
        justify-content:center!important;
    }

    #loginform,
    #forgot_form,
    #form_registro{
        width:100%!important;
        max-height:100%!important;
        overflow:hidden!important;
    }

    #forgot_form{
        min-height:0!important;
    }
}

/* ---------- Limpieza total del panel derecho ---------- */
.izzy-login-access,
#logreg-forms,
#logreg-forms .auth-view,
#loginform,
#forgot_form,
#form_registro{
    background:#fff!important;
    background-color:#fff!important;
    background-image:none!important;
    box-shadow:none!important;
    border:0!important;
}

/* Evita estilos grises heredados por Bootstrap o CSS antiguo */
#logreg-forms .card,
#logreg-forms .panel,
#logreg-forms fieldset,
#logreg-forms .form-signin,
#logreg-forms .form-reset,
#logreg-forms .form-signup{
    background:#fff!important;
    background-image:none!important;
    box-shadow:none!important;
}

/* ---------- Links premium y legibles ---------- */
.auth-forgot-link{
    width:100%!important;
    max-width:none!important;
    grid-template-columns:36px minmax(0,1fr) auto!important;
    min-height:54px!important;
    padding:9px 11px!important;
    border:1px solid #c4e1ec!important;
    border-radius:13px!important;
    background:#eaf7fc!important;
}

.auth-forgot-link::after{
    content:"›"!important;
    color:#0879a8!important;
    font-size:1.1rem!important;
    font-weight:900!important;
}

.auth-forgot-link:hover,
.auth-forgot-link:focus-visible{
    background:#dff2f9!important;
    border-color:#add7e6!important;
    box-shadow:0 8px 18px rgba(8,43,88,.06)!important;
}

.auth-forgot-link small{
    font-size:.62rem!important;
    color:#6d8394!important;
}

.auth-forgot-link strong{
    font-size:.74rem!important;
    color:#075979!important;
}

/* ---------- Demo / sitio web idénticos en login, registro y recuperación ---------- */
.auth-extra-actions,
.auth-extra-actions-compact{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
    gap:10px!important;
}

.auth-extra-card{
    min-height:72px!important;
    border-radius:14px!important;
    box-shadow:none!important;
}

.auth-extra-card.demo{
    background:#e7f7fc!important;
    border:1px solid #b8dfec!important;
    color:#075675!important;
}

.auth-extra-card.website{
    background:#e8f0f8!important;
    border:1px solid #c5d7e7!important;
    color:#0b3d6b!important;
}

.auth-extra-card:hover,
.auth-extra-card:focus-visible{
    transform:translateY(-2px)!important;
    box-shadow:0 10px 22px rgba(8,43,88,.08)!important;
}

.auth-extra-card small{
    font-size:.60rem!important;
    line-height:1.2!important;
}

.auth-extra-card strong{
    font-size:.72rem!important;
    line-height:1.2!important;
}

/* ---------- Registro compacto dentro del viewport ---------- */
@media (min-width:1051px){
    #form_registro .auth-heading{
        margin-bottom:12px!important;
    }

    #form_registro .auth-heading h1{
        font-size:2.05rem!important;
        margin-top:8px!important;
    }

    #form_registro .auth-heading p{
        margin-top:5px!important;
        font-size:.72rem!important;
        line-height:1.34!important;
    }

    #form_registro .registration-grid{
        gap:8px 11px!important;
    }

    #form_registro .auth-control{
        gap:4px!important;
    }

    #form_registro .auth-control-label{
        font-size:.61rem!important;
    }

    #form_registro .auth-input{
        min-height:42px!important;
        border-radius:11px!important;
    }

    #form_registro .auth-input input{
        height:40px!important;
        font-size:.77rem!important;
    }

    #form_registro .auth-input-icon,
    #form_registro .auth-password-button{
        height:40px!important;
    }

    #form_registro .auth-password-info{
        padding:6px 9px!important;
    }

    #form_registro .auth-password-info>span{
        width:32px!important;
        height:32px!important;
    }

    #form_registro .auth-password-info strong{
        font-size:.67rem!important;
    }

    #form_registro .auth-password-info small{
        font-size:.58rem!important;
    }

    #form_registro .auth-button{
        min-height:42px!important;
        font-size:.77rem!important;
    }

    #form_registro .auth-return-button{
        min-height:38px!important;
        font-size:.69rem!important;
    }

    #form_registro .auth-extra-actions{
        margin-top:8px!important;
    }

    #form_registro .auth-extra-card{
        min-height:54px!important;
        padding:7px 9px!important;
    }

    #form_registro .auth-inline-links{
        margin-top:7px!important;
    }
}

/* ---------- Login con Cliente/PIN: compacta, jamás aumenta el shell ---------- */
@media (min-width:1051px){
    #loginform.client-access-visible{
        transform:scale(.965)!important;
        transform-origin:center center!important;
    }

    #loginform.client-access-visible .auth-heading{
        margin-bottom:10px!important;
    }

    #loginform.client-access-visible .auth-heading h1{
        font-size:2.1rem!important;
    }

    #loginform.client-access-visible .auth-form-stack{
        gap:7px!important;
    }

    #loginform.client-access-visible .auth-client-access{
        padding:7px!important;
        gap:7px!important;
    }

    #loginform.client-access-visible .auth-control{
        gap:3px!important;
    }

    #loginform.client-access-visible .auth-input{
        min-height:42px!important;
    }

    #loginform.client-access-visible .auth-input input,
    #loginform.client-access-visible .auth-input-icon{
        height:40px!important;
    }

    #loginform.client-access-visible .auth-account-block{
        margin-top:10px!important;
    }

    #loginform.client-access-visible .auth-extra-actions{
        margin-top:7px!important;
    }

    #loginform.client-access-visible .auth-extra-card{
        min-height:54px!important;
        padding:7px 9px!important;
    }

    #loginform.client-access-visible .auth-security-note{
        margin-top:6px!important;
    }
}

/* ---------- Recuperación alineada al mismo sistema visual ---------- */
#forgot_form .auth-heading{
    margin-bottom:18px!important;
}

#forgot_form .auth-form-stack{
    gap:12px!important;
}

#forgot_form .auth-extra-actions{
    margin-top:12px!important;
}

/* ---------- Oculta controles nativos de mostrar contraseña ---------- */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear{
    display:none!important;
    width:0!important;
    height:0!important;
}

input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-contacts-auto-fill-button{
    visibility:hidden!important;
    display:none!important;
    pointer-events:none!important;
}

/* ---------- Movimiento sutil ---------- */
.brand-feature,
.auth-extra-card,
.brand-website,
.auth-button,
.auth-return-button,
.auth-forgot-link{
    will-change:transform;
}

.brand-feature:hover,
.auth-extra-card:hover,
.brand-website:hover,
.auth-button:hover,
.auth-return-button:hover,
.auth-forgot-link:hover{
    transform:translateY(-2px)!important;
}

/* ---------- Responsive real ---------- */
@media (max-width:1050px){
    .izzy-login-page{
        min-height:100vh!important;
        padding:14px!important;
    }

    .izzy-login-shell{
        height:auto!important;
        max-height:none!important;
        min-height:0!important;
    }

    .izzy-login-access{
        overflow:visible!important;
    }

    .brand-logo-wrap{
        justify-content:flex-start!important;
        padding-left:0!important;
    }

    .brand-logo img{
        width:168px!important;
    }
}

@media (max-width:760px){
    .izzy-login-page{
        padding:0!important;
    }

    .izzy-login-access{
        min-height:100vh!important;
        padding:20px 15px 16px!important;
    }

    #logreg-forms{
        width:100%!important;
    }

    .auth-extra-actions,
    .auth-extra-actions-compact{
        grid-template-columns:1fr!important;
    }

    .auth-extra-card{
        min-height:64px!important;
    }

    #form_registro .registration-grid{
        grid-template-columns:1fr!important;
        gap:13px!important;
    }

    #form_registro .span-2{
        grid-column:auto!important;
    }
}

/* Mantiene lectura en pantallas pequeñas de poca altura */
@media (max-height:680px) and (min-width:761px){
    .izzy-login-page{
        align-items:start!important;
    }

    .izzy-login-shell{
        height:auto!important;
        max-height:none!important;
    }

    .izzy-login-access{
        overflow:visible!important;
    }
}


/* ==========================================================
   IZZY LOGIN v1.0.3 · Cliente/PIN en modal premium
   ========================================================== */

/* El login nunca cambia de alto porque Cliente/PIN ya no vive dentro del flujo visual. */
@media (min-width:1051px){
    .izzy-login-shell{
        height:95vh!important;
        max-height:820px!important;
        min-height:640px!important;
    }

    #loginform,
    #forgot_form,
    #form_registro{
        transform:none!important;
    }
}

/* Desactiva reglas antiguas de compactación del login. */
#loginform.client-access-visible{
    transform:none!important;
}

#loginform.client-access-visible .auth-heading,
#loginform.client-access-visible .auth-form-stack,
#loginform.client-access-visible .auth-account-block,
#loginform.client-access-visible .auth-extra-actions,
#loginform.client-access-visible .auth-extra-card,
#loginform.client-access-visible .auth-security-note{
    margin-top:initial!important;
    margin-bottom:initial!important;
    gap:initial!important;
    min-height:initial!important;
    padding:initial!important;
}

/* Botón que aparece solo cuando la cuenta admite Cliente/PIN. */
.auth-client-option{
    width:100%;
}

.auth-client-trigger{
    width:100%;
    min-height:58px;
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 34px;
    gap:11px;
    align-items:center;
    padding:9px 11px;
    border:1px solid #b9ddeb;
    border-radius:13px;
    background:#e8f7fc;
    color:#075879;
    text-align:left;
    box-shadow:none;
    transition:transform var(--motion),background-color var(--motion),border-color var(--motion),box-shadow var(--motion);
}

.auth-client-trigger:hover,
.auth-client-trigger:focus-visible{
    transform:translateY(-2px);
    background:#dcf1f8;
    border-color:#9fd0e2;
    box-shadow:0 10px 22px rgba(8,43,88,.07);
    outline:0;
}

.auth-client-trigger-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:11px;
    background:#cfeaf5;
    color:#0877a5;
    font-size:.95rem;
}

.auth-client-trigger-copy small,
.auth-client-trigger-copy strong{
    display:block;
}

.auth-client-trigger-copy small{
    margin-bottom:2px;
    color:#6a8396;
    font-size:.61rem;
    font-weight:750;
}

.auth-client-trigger-copy strong{
    color:#075879;
    font-size:.76rem;
    font-weight:900;
}

.auth-client-trigger-arrow{
    width:34px;
    height:34px;
    display:grid;
    place-items:center;
    border-radius:10px;
    background:#fff;
    color:#0877a5;
}

/* Modal premium */
body.izzy-modal-open{
    overflow:hidden;
}

.izzy-client-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}

.izzy-client-modal.is-open{
    display:flex;
}

.izzy-client-modal-backdrop{
    position:absolute;
    inset:0;
    background:rgba(8,43,88,.52);
    backdrop-filter:blur(3px);
}

.izzy-client-modal-dialog{
    position:relative;
    z-index:1;
    width:min(470px,100%);
    padding:24px;
    border:1px solid #cbdfe8;
    border-radius:20px;
    background:#fff;
    box-shadow:0 28px 70px rgba(8,43,88,.24);
}

.izzy-modal-close{
    position:absolute;
    top:14px;
    right:14px;
    width:38px;
    height:38px;
    display:grid;
    place-items:center;
    border:1px solid #c9dfe9;
    border-radius:11px;
    background:#eaf6fb;
    color:#075979;
    transition:transform var(--motion),background-color var(--motion),border-color var(--motion);
}

.izzy-modal-close:hover,
.izzy-modal-close:focus-visible{
    transform:translateY(-1px);
    background:#dceff7;
    border-color:#acd3e2;
    outline:0;
}

.izzy-modal-head{
    display:grid;
    grid-template-columns:52px minmax(0,1fr);
    gap:13px;
    align-items:start;
    padding-right:42px;
}

.izzy-modal-icon{
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    border-radius:14px;
    background:#e1f3fa;
    color:#0877a5;
    font-size:1.08rem;
}

.izzy-modal-kicker{
    display:inline-block;
    margin-bottom:5px;
    color:#0875a0;
    font-size:.61rem;
    font-weight:900;
    letter-spacing:.11em;
}

.izzy-modal-head h2{
    margin:0;
    color:var(--izzy-navy);
    font-size:1.55rem;
    line-height:1.05;
    font-weight:900;
    letter-spacing:-.03em;
}

.izzy-modal-head p{
    margin:7px 0 0;
    color:#657f93;
    font-size:.76rem;
    line-height:1.45;
}

.izzy-modal-fields{
    display:grid;
    gap:14px;
    margin-top:22px;
}

.izzy-modal-note{
    display:grid;
    grid-template-columns:30px minmax(0,1fr);
    gap:9px;
    align-items:center;
    margin-top:14px;
    padding:10px 11px;
    border:1px solid #cfe2eb;
    border-radius:12px;
    background:#f1f9fc;
    color:#59758a;
    font-size:.68rem;
    line-height:1.4;
}

.izzy-modal-note i{
    width:30px;
    height:30px;
    display:grid;
    place-items:center;
    border-radius:9px;
    background:#dff1f8;
    color:#0878a6;
}

.izzy-modal-actions{
    display:grid;
    grid-template-columns:1.35fr .85fr;
    gap:10px;
    margin-top:18px;
}

/* Inputs e iconos como una sola pieza visual */
.auth-input{
    overflow:hidden!important;
}

.auth-input-icon{
    border-right:1px solid #dbe8ee!important;
}

.auth-password-button{
    border-left:1px solid #dbe8ee!important;
}

/* Responsive modal */
@media(max-width:760px){
    .izzy-client-modal{
        padding:12px;
        align-items:flex-end;
    }

    .izzy-client-modal-dialog{
        width:100%;
        max-height:92vh;
        overflow:auto;
        padding:20px 16px 16px;
        border-radius:20px 20px 0 0;
    }

    .izzy-modal-head{
        grid-template-columns:46px minmax(0,1fr);
        gap:11px;
        padding-right:36px;
    }

    .izzy-modal-icon{
        width:46px;
        height:46px;
    }

    .izzy-modal-actions{
        grid-template-columns:1fr;
    }

    .izzy-modal-close{
        top:10px;
        right:10px;
    }
}


/* ==========================================================
   IZZY LOGIN v1.0.4
   Refinamiento visual + Cliente/PIN sin aumentar altura
   ========================================================== */

.auth-password-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    align-items:end;
}
.auth-password-control{min-width:0}
.auth-client-option{align-items:flex-end}

.auth-client-inline{
    min-width:132px;
    height:50px;
    display:grid;
    grid-template-columns:34px minmax(0,1fr);
    gap:8px;
    align-items:center;
    padding:7px 10px;
    border:1px solid #b8dce9;
    border-radius:12px;
    background:#e8f7fc;
    color:#075879;
    text-align:left;
    box-shadow:none;
    transition:transform var(--motion),background-color var(--motion),border-color var(--motion),box-shadow var(--motion);
}
.auth-client-inline:hover,
.auth-client-inline:focus-visible{
    transform:translateY(-2px);
    background:#dff3f9;
    border-color:#9fcfe0;
    box-shadow:0 9px 18px rgba(8,43,88,.07);
    outline:0;
}
.auth-client-inline-icon{
    width:34px;height:34px;
    display:grid;place-items:center;
    border-radius:10px;
    background:#d3edf7;
    color:#0877a5;
    font-size:.88rem;
}
.auth-client-inline-copy small,
.auth-client-inline-copy strong{
    display:block;
    white-space:nowrap;
}
.auth-client-inline-copy small{
    margin-bottom:2px;
    color:#6e8697;
    font-size:.54rem;
    font-weight:750;
}
.auth-client-inline-copy strong{
    color:#075879;
    font-size:.68rem;
    font-weight:900;
}

@media(min-width:1051px){
    .izzy-login-shell{
        height:95vh!important;
        max-height:820px!important;
        min-height:640px!important;
    }
}

.izzy-login-access,
#logreg-forms,
#logreg-forms form,
#loginform,
#forgot_form,
#form_registro{
    background:#fff!important;
    background-color:#fff!important;
    background-image:none!important;
    box-shadow:none!important;
    border:0!important;
}

.brand-header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:18px!important;
}
.brand-logo{
    justify-self:center!important;
    margin-left:72px!important;
}
.brand-logo img{
    width:190px!important;
    max-width:100%!important;
}
.brand-website{
    min-width:145px!important;
    min-height:56px!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:10px!important;
    align-items:center!important;
    padding:8px 12px!important;
    border-radius:14px!important;
    background:#e6f5fa!important;
    border:1px solid #b9dce9!important;
    color:#075979!important;
}
.brand-website > i{
    width:42px!important;
    height:42px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:10px!important;
    background:#d3edf7!important;
    color:#0879a8!important;
    font-size:.95rem!important;
    margin:0!important;
}
.brand-website span{
    font-size:.76rem!important;
    font-weight:900!important;
    line-height:1.2!important;
}
.brand-website:hover,
.brand-website:focus-visible{
    background:#dbf0f7!important;
    border-color:#a4d1e2!important;
    box-shadow:0 10px 20px rgba(8,43,88,.07)!important;
}

.auth-extra-card{
    min-height:84px!important;
    grid-template-columns:46px minmax(0,1fr) 18px!important;
    gap:11px!important;
    padding:13px 14px!important;
}
.auth-extra-icon{
    width:46px!important;
    height:46px!important;
    font-size:1.05rem!important;
}
.auth-extra-card small{
    font-size:.66rem!important;
    line-height:1.25!important;
    font-weight:750!important;
}
.auth-extra-card strong{
    font-size:.82rem!important;
    line-height:1.2!important;
    font-weight:900!important;
}
.auth-extra-arrow{
    justify-self:end!important;
    font-size:.82rem!important;
}

.brand-summary{
    color:#4f687d!important;
    font-size:.96rem!important;
    line-height:1.65!important;
}
.brand-feature{
    min-height:84px!important;
    padding:13px!important;
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:11px!important;
}
.feature-icon{
    width:44px!important;
    height:44px!important;
    font-size:1rem!important;
}
.brand-feature strong{
    font-size:.84rem!important;
    line-height:1.2!important;
}
.brand-feature small{
    margin-top:4px!important;
    color:#5e788c!important;
    font-size:.70rem!important;
    line-height:1.4!important;
}

.auth-heading p{color:#5f778b!important}
.auth-heading p strong{
    color:var(--izzy-navy)!important;
    font-weight:900!important;
}

.izzy-client-modal-dialog{
    width:min(540px,100%)!important;
    padding:28px!important;
}
.izzy-modal-head{
    grid-template-columns:58px minmax(0,1fr)!important;
    gap:15px!important;
}
.izzy-modal-icon{
    width:58px!important;
    height:58px!important;
    font-size:1.2rem!important;
}
.izzy-modal-kicker{font-size:.67rem!important}
.izzy-modal-head h2{font-size:1.8rem!important}
.izzy-modal-head p{
    font-size:.84rem!important;
    line-height:1.55!important;
}
.izzy-modal-head p strong,
.izzy-modal-note strong{
    color:var(--izzy-navy)!important;
    font-weight:900!important;
}
.izzy-modal-fields{
    gap:16px!important;
    margin-top:24px!important;
}
.izzy-modal-fields .auth-control-label{font-size:.75rem!important}
.izzy-modal-fields .auth-input{min-height:54px!important}
.izzy-modal-fields .auth-input input{height:52px!important;font-size:.88rem!important}
.izzy-modal-fields .auth-input-icon,
.izzy-modal-fields .auth-password-button{
    height:52px!important;
    font-size:.98rem!important;
}
.izzy-modal-note{
    margin-top:16px!important;
    padding:12px!important;
    font-size:.75rem!important;
    line-height:1.5!important;
}
.izzy-modal-actions{margin-top:20px!important}
.izzy-modal-actions .auth-button,
.izzy-modal-actions .auth-return-button{
    min-height:50px!important;
    font-size:.80rem!important;
}

.auth-input{overflow:hidden!important}
.auth-input-icon{border-right:1px solid #dbe8ee!important}
.auth-password-button{border-left:1px solid #dbe8ee!important}

input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear{
    display:none!important;width:0!important;height:0!important;
}
input[type="password"]::-webkit-credentials-auto-fill-button,
input[type="password"]::-webkit-contacts-auto-fill-button{
    visibility:hidden!important;
    display:none!important;
    pointer-events:none!important;
}

@media(max-width:1050px){
    .brand-logo{
        margin-left:0!important;
        justify-self:start!important;
    }
    .brand-logo img{width:168px!important}
}
@media(max-width:760px){
    .auth-password-row{
        grid-template-columns:1fr;
        gap:8px;
    }
    .auth-client-option{width:100%}
    .auth-client-inline{
        width:100%;
        min-width:0;
        grid-template-columns:38px minmax(0,1fr);
    }
    .auth-client-inline-copy small,
    .auth-client-inline-copy strong{white-space:normal}
    .izzy-client-modal-dialog{
        padding:22px 16px 18px!important;
    }
    .izzy-modal-head{
        grid-template-columns:50px minmax(0,1fr)!important;
        padding-right:34px!important;
    }
    .izzy-modal-icon{
        width:50px!important;
        height:50px!important;
    }
    .izzy-modal-head h2{font-size:1.52rem!important}
    .izzy-modal-head p{font-size:.78rem!important}
}


/* ==========================================================
   IZZY LOGIN v1.0.5 · refinamiento solicitado
   ========================================================== */
.izzy-login-shell{width:min(1280px,100%)!important;grid-template-columns:minmax(430px,.90fr) minmax(610px,1.10fr)!important}
#logreg-forms{width:min(620px,100%)!important}
.brand-kicker{min-height:32px!important;padding:8px 13px!important;font-size:.72rem!important;letter-spacing:.13em!important}
.brand-businesses{text-align:center!important}
.brand-businesses>span{display:block!important;margin-bottom:9px!important;color:#4f6c82!important;font-size:.68rem!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.brand-business-list{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:8px!important}
.brand-business-list b{min-height:34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;padding:7px 11px!important;border:1px solid #bfdce9!important;border-radius:999px!important;background:#fff!important;color:#0b4e70!important;font-size:.68rem!important;line-height:1!important;white-space:nowrap!important}
.brand-business-list b i{color:#0890c4!important;font-size:.84rem!important}
.auth-client-option{display:flex!important}
.auth-client-inline:disabled{cursor:not-allowed!important;opacity:1!important;background:#f1f6f8!important;border-color:#d6e3e9!important;color:#6f8798!important;box-shadow:none!important;transform:none!important}
.auth-client-inline:disabled .auth-client-inline-icon{background:#e3edf1!important;color:#78909f!important}
.auth-client-inline:disabled .auth-client-inline-copy small,.auth-client-inline:disabled .auth-client-inline-copy strong{color:#728898!important}
.auth-client-inline.is-enabled{background:#e3f6fc!important;border-color:#9fd4e6!important;color:#075879!important;box-shadow:0 7px 16px rgba(8,43,88,.06)!important}
.auth-client-inline.is-enabled .auth-client-inline-icon{background:#c9eaf6!important;color:#0877a5!important}
.auth-extra-card{text-align:center!important;grid-template-columns:46px minmax(0,1fr) 30px!important}
.auth-extra-card>span:nth-child(2){align-self:center!important;text-align:center!important}
.auth-extra-card small{margin-bottom:5px!important;color:inherit!important;opacity:.76!important}
.auth-extra-card strong{font-size:.86rem!important}
.auth-extra-arrow{width:28px!important;height:28px!important;display:grid!important;place-items:center!important;justify-self:end!important;border-radius:9px!important;background:rgba(255,255,255,.74)!important;font-size:.85rem!important;opacity:1!important}
.auth-view-symbol{display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;margin-bottom:18px!important;padding:12px!important;border:1px solid #c6e1ec!important;border-radius:14px!important;background:#eef9fd!important}
.auth-view-symbol>span{width:52px!important;height:52px!important;display:grid!important;place-items:center!important;border-radius:13px!important;background:#d9f0f8!important;color:#0779a8!important;font-size:1.15rem!important}
.auth-view-symbol strong,.auth-view-symbol small{display:block!important}
.auth-view-symbol strong{color:#0a345e!important;font-size:.84rem!important;font-weight:900!important}
.auth-view-symbol small{margin-top:3px!important;color:#607d91!important;font-size:.69rem!important;line-height:1.35!important}
.auth-explore-intro{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;margin-top:18px!important;margin-bottom:10px!important;color:#486b83!important}
.auth-explore-intro>i{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;border-radius:11px!important;background:#e4f4fa!important;color:#0879a8!important}
.auth-explore-intro strong,.auth-explore-intro small{display:block!important}
.auth-explore-intro strong{color:#0a345e!important;font-size:.73rem!important;font-weight:900!important}
.auth-explore-intro small{margin-top:2px!important;color:#6b8295!important;font-size:.64rem!important}
.auth-return-button{min-height:50px!important;font-size:.78rem!important;font-weight:900!important;color:#075675!important;background:#e6f5fa!important;border-color:#b8dce9!important}
.auth-divider{color:#4f6d83!important;font-size:.70rem!important;font-weight:900!important}
.auth-divider::before,.auth-divider::after{background:#cbdde6!important}
#form_registro .registration-grid{grid-template-columns:minmax(0,1.55fr) minmax(180px,.75fr)!important}
#form_registro .auth-register-name{grid-column:1!important}
#form_registro .auth-register-phone{grid-column:2!important}
#form_registro .span-2{grid-column:1/-1!important}
.auth-control-label{color:#0a345e!important;font-weight:900!important}
.auth-input input{color:#173f60!important;font-weight:650!important}
.auth-input input::placeholder{color:#8296a5!important;opacity:1!important}
@media(max-width:1050px){.izzy-login-shell{width:min(920px,100%)!important;grid-template-columns:1fr!important}}
@media(max-width:760px){#form_registro .registration-grid{grid-template-columns:1fr!important}#form_registro .auth-register-name,#form_registro .auth-register-phone,#form_registro .span-2{grid-column:1!important}.brand-business-list{gap:7px!important}.auth-extra-card{grid-template-columns:42px minmax(0,1fr) 28px!important}.auth-view-symbol{grid-template-columns:46px minmax(0,1fr)!important}.auth-view-symbol>span{width:46px!important;height:46px!important}}


/* ==========================================================
   IZZY LOGIN v1.0.6 · precisión visual final
   ========================================================== */

/* Más ancho útil sin invadir todo el panel. No aumenta el alto del shell. */
.izzy-login-shell{
    width:min(1420px,calc(100% - 32px))!important;
    grid-template-columns:minmax(440px,.88fr) minmax(720px,1.12fr)!important;
}
#logreg-forms{
    width:min(700px,100%)!important;
}

/* La palabra IZZY textual adopta el azul de marca. */
.izzy-word{
    color:#1677f2!important;
    font-weight:900!important;
}
.auth-button .izzy-word{
    color:inherit!important;
}

/* SIMPLIFICA · CONTROLA · CRECE más visible. */
.brand-kicker{
    min-height:36px!important;
    padding:9px 15px!important;
    font-size:.78rem!important;
    letter-spacing:.14em!important;
}

/* Ideal para: iconos, tamaño y centrado robusto. */
.brand-businesses{
    padding:13px 14px!important;
}
.brand-businesses>span{
    font-size:.72rem!important;
    margin-bottom:10px!important;
}
.brand-business-list{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    align-items:center!important;
    gap:9px!important;
}
.brand-business-list b{
    min-height:38px!important;
    padding:8px 13px!important;
    gap:8px!important;
    font-size:.72rem!important;
}
.brand-business-list b i{
    font-size:1rem!important;
}

/* Demo / Sitio web: contenido centrado, respiración y flecha más visible. */
.auth-extra-card{
    min-height:92px!important;
    grid-template-columns:48px minmax(0,1fr) 36px!important;
    gap:14px!important;
    align-items:center!important;
    padding:15px 14px!important;
}
.auth-extra-icon{
    width:48px!important;
    height:48px!important;
    display:grid!important;
    place-items:center!important;
    align-self:center!important;
}
.auth-extra-card>span:nth-child(2){
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    min-width:0!important;
    text-align:center!important;
}
.auth-extra-card small{
    margin:0 0 9px!important;
    font-size:.68rem!important;
    line-height:1.28!important;
    font-weight:760!important;
}
.auth-extra-card strong{
    margin:0!important;
    font-size:.88rem!important;
    line-height:1.25!important;
    font-weight:900!important;
}
.auth-extra-arrow{
    width:34px!important;
    height:34px!important;
    font-size:1rem!important;
    border-radius:10px!important;
}

/* Volver a iniciar sesión: más notorio, sin convertirse en botón blanco. */
.auth-return-button{
    min-height:54px!important;
    background:#dff3fa!important;
    border:1px solid #9fd2e4!important;
    color:#075578!important;
    font-size:.84rem!important;
    font-weight:900!important;
    box-shadow:0 6px 14px rgba(8,43,88,.05)!important;
}
.auth-return-button:hover,
.auth-return-button:focus-visible{
    background:#d2edf7!important;
    border-color:#86c4da!important;
    color:#063f5b!important;
}
.auth-divider{
    color:#274e6d!important;
    font-size:.76rem!important;
    font-weight:900!important;
}

/* Cliente/PIN: siempre EXACTAMENTE el mismo ancho/alto, solo cambia estado/texto. */
.auth-password-row{
    grid-template-columns:minmax(0,1fr) 218px!important;
    gap:12px!important;
}
.auth-client-option{
    width:218px!important;
    display:flex!important;
    align-items:flex-end!important;
}
.auth-client-inline{
    width:218px!important;
    min-width:218px!important;
    max-width:218px!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    grid-template-columns:36px minmax(0,1fr)!important;
    padding:7px 10px!important;
    overflow:hidden!important;
}
.auth-client-inline-copy{
    min-width:0!important;
}
.auth-client-inline-copy small,
.auth-client-inline-copy strong{
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}
.auth-client-inline-copy small{
    font-size:.56rem!important;
}
.auth-client-inline-copy strong{
    font-size:.70rem!important;
}
#loginform.is-demo-login .auth-client-option{
    display:none!important;
}
#loginform.is-demo-login .auth-password-row{
    grid-template-columns:1fr!important;
}

/* Deshabilitado mantiene tamaño y composición; solo cambia tono. */
.auth-client-inline:disabled{
    width:218px!important;
    min-width:218px!important;
    max-width:218px!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
    opacity:1!important;
    cursor:not-allowed!important;
    background:#eef5f8!important;
    border-color:#cadce5!important;
    box-shadow:none!important;
}
.auth-client-inline.is-enabled{
    width:218px!important;
    min-width:218px!important;
    max-width:218px!important;
    height:50px!important;
    min-height:50px!important;
    max-height:50px!important;
}

/* Registro: usa el nuevo ancho. Empresa, nombre, teléfono y correo en filas completas.
   Contraseña + confirmación juntas para ahorrar alto. */
#form_registro .registration-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:10px 12px!important;
}
#form_registro .auth-register-name,
#form_registro .auth-register-phone,
#form_registro .span-2{
    grid-column:1/-1!important;
}
#form_registro .auth-register-password{
    grid-column:1!important;
}
#form_registro .auth-register-password-confirm{
    grid-column:2!important;
}
#form_registro .auth-input input{
    font-size:.80rem!important;
}

/* Los paneles de login/recuperación/registro aprovechan mejor el ancho disponible. */
#loginform .auth-heading,
#forgot_form .auth-heading,
#form_registro .auth-heading{
    max-width:none!important;
}

/* Texto de beneficios más nítido y cómodo de leer. */
.brand-feature strong{
    font-size:.88rem!important;
    line-height:1.25!important;
}
.brand-feature small{
    font-size:.72rem!important;
    line-height:1.45!important;
    letter-spacing:0!important;
}

@media(max-width:1180px){
    .izzy-login-shell{
        width:min(1040px,calc(100% - 24px))!important;
        grid-template-columns:minmax(390px,.9fr) minmax(560px,1.1fr)!important;
    }
    #logreg-forms{width:min(640px,100%)!important}
    .auth-password-row{grid-template-columns:minmax(0,1fr) 205px!important}
    .auth-client-option,.auth-client-inline,.auth-client-inline:disabled,.auth-client-inline.is-enabled{
        width:205px!important;min-width:205px!important;max-width:205px!important;
    }
}

@media(max-width:1050px){
    .izzy-login-shell{
        width:min(820px,calc(100% - 24px))!important;
        grid-template-columns:1fr!important;
    }
    #logreg-forms{width:min(700px,100%)!important}
}

@media(max-width:760px){
    .izzy-login-shell{width:100%!important}
    #logreg-forms{width:100%!important}
    .auth-password-row{grid-template-columns:1fr!important}
    .auth-client-option,.auth-client-inline,.auth-client-inline:disabled,.auth-client-inline.is-enabled{
        width:100%!important;min-width:0!important;max-width:none!important;
    }
    #loginform.is-demo-login .auth-client-option{display:none!important}
    #form_registro .registration-grid{grid-template-columns:1fr!important}
    #form_registro .auth-register-name,
    #form_registro .auth-register-phone,
    #form_registro .auth-register-password,
    #form_registro .auth-register-password-confirm,
    #form_registro .span-2{grid-column:1!important}
    .auth-extra-card{
        min-height:82px!important;
        grid-template-columns:44px minmax(0,1fr) 34px!important;
        gap:10px!important;
    }
}

/* ==========================================================
   IZZY LOGIN v1.0.7 · precisión de ancho interno y legibilidad
   ========================================================== */

/* 1) Devuelve el contenedor general al tamaño anterior.
      Se amplía únicamente el contenido INTERNO del panel derecho. */
.izzy-login-shell{
    width:min(1280px,100%)!important;
    grid-template-columns:minmax(430px,.90fr) minmax(610px,1.10fr)!important;
}

.izzy-login-access{
    padding-left:34px!important;
    padding-right:34px!important;
}

#logreg-forms{
    width:min(680px,calc(100% - 12px))!important;
    margin-left:auto!important;
    margin-right:auto!important;
}

/* Login, recuperación y registro usan el mismo ancho útil. */
#loginform,
#forgot_form,
#form_registro{
    width:100%!important;
    max-width:none!important;
}

/* 2) Acciones principales más grandes, uniformes y nítidas. */
.auth-button,
.auth-return-button,
.auth-account-button,
.auth-forgot-link{
    -webkit-font-smoothing:antialiased!important;
    text-rendering:geometricPrecision!important;
    filter:none!important;
    text-shadow:none!important;
}

.auth-button,
.auth-account-button,
.auth-return-button{
    font-size:.90rem!important;
    line-height:1.15!important;
    font-weight:900!important;
}

.auth-button:hover,
.auth-button:focus-visible,
.auth-account-button:hover,
.auth-account-button:focus-visible,
.auth-return-button:hover,
.auth-return-button:focus-visible{
    transform:none!important;
}

.auth-return-button{
    min-height:56px!important;
    color:#064f70!important;
    background:#dff3fa!important;
    border:1px solid #95cfe3!important;
}

.auth-return-button i,
.auth-button i,
.auth-account-button i{
    font-size:1rem!important;
}

/* “¿Aún no tienes cuenta?” claramente visible. */
.auth-divider{
    margin:18px 0 14px!important;
    color:#0a345e!important;
    font-size:.80rem!important;
    font-weight:900!important;
}
.auth-divider span{
    padding:0 12px!important;
    background:#fff!important;
}

/* 3) Demo / Sitio web: icono, texto y flecha separados y centrados. */
.auth-extra-actions{
    gap:12px!important;
}

.auth-extra-card{
    position:relative!important;
    min-height:126px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:0!important;
    padding:14px 14px 12px!important;
    text-align:center!important;
}

.auth-extra-icon{
    flex:0 0 auto!important;
    width:44px!important;
    height:44px!important;
    margin:0 auto 12px!important;
    display:grid!important;
    place-items:center!important;
}

.auth-extra-card>span:nth-child(2){
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
}

.auth-extra-card small{
    margin:0 0 7px!important;
    font-size:.70rem!important;
    line-height:1.30!important;
    font-weight:750!important;
}

.auth-extra-card strong{
    margin:0!important;
    font-size:.90rem!important;
    line-height:1.24!important;
    font-weight:900!important;
}

.auth-extra-arrow{
    position:absolute!important;
    left:50%!important;
    bottom:10px!important;
    transform:translateX(-50%)!important;
    width:34px!important;
    height:34px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:10px!important;
    font-size:1rem!important;
}

.auth-extra-card:hover .auth-extra-arrow,
.auth-extra-card:focus-visible .auth-extra-arrow{
    transform:translateX(-50%)!important;
}

/* 4) Formularios más anchos sin aumentar el cuadro blanco exterior. */
.auth-input,
.auth-button,
.auth-return-button,
.auth-forgot-link,
.auth-account-button{
    width:100%!important;
}

#form_registro .registration-grid{
    width:100%!important;
}

/* Mantiene contraseña + confirmación juntas cuando hay espacio. */
#form_registro .auth-register-password,
#form_registro .auth-register-password-confirm{
    min-width:0!important;
}

/* 5) Nitidez general del texto. */
.izzy-login-page,
.izzy-login-page *{
    text-shadow:none!important;
}
.auth-heading h1,
.auth-heading p,
.auth-control-label,
.auth-input input,
.brand-feature strong,
.brand-feature small,
.auth-extra-card small,
.auth-extra-card strong{
    -webkit-font-smoothing:antialiased!important;
    text-rendering:geometricPrecision!important;
}

/* Responsive: conserva el ancho interno útil sin desbordar. */
@media(max-width:1180px){
    .izzy-login-shell{
        width:min(1040px,calc(100% - 24px))!important;
        grid-template-columns:minmax(390px,.90fr) minmax(560px,1.10fr)!important;
    }
    .izzy-login-access{
        padding-left:26px!important;
        padding-right:26px!important;
    }
    #logreg-forms{
        width:min(640px,100%)!important;
    }
}

@media(max-width:1050px){
    .izzy-login-shell{
        width:min(820px,calc(100% - 24px))!important;
        grid-template-columns:1fr!important;
    }
    .izzy-login-access{
        padding-left:22px!important;
        padding-right:22px!important;
    }
    #logreg-forms{
        width:min(700px,100%)!important;
    }
}

@media(max-width:760px){
    .izzy-login-shell{width:100%!important}
    .izzy-login-access{
        padding-left:15px!important;
        padding-right:15px!important;
    }
    #logreg-forms{width:100%!important}
    .auth-extra-card{
        min-height:118px!important;
        padding:13px 12px 11px!important;
    }
    .auth-extra-card small{font-size:.68rem!important}
    .auth-extra-card strong{font-size:.86rem!important}
}

/* ==========================================================
   IZZY LOGIN v1.0.8 · acciones demo/sitio compactas y responsive
   ========================================================== */

/* Las acciones nunca deben crecer desproporcionadamente. */
.auth-extra-actions,
.auth-extra-actions-compact{
    width:100%!important;
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    align-items:stretch!important;
}

.auth-extra-card{
    position:relative!important;
    width:100%!important;
    min-width:0!important;
    min-height:88px!important;
    height:auto!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 32px!important;
    grid-template-rows:1fr!important;
    align-items:center!important;
    justify-items:stretch!important;
    gap:10px!important;
    padding:12px!important;
    text-align:center!important;
    overflow:hidden!important;
}

.auth-extra-icon{
    position:static!important;
    width:42px!important;
    height:42px!important;
    margin:0!important;
    display:grid!important;
    place-items:center!important;
    align-self:center!important;
    justify-self:center!important;
    flex:none!important;
}

.auth-extra-card>span:nth-child(2){
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    text-align:center!important;
    align-self:center!important;
}

.auth-extra-card small{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    font-size:.68rem!important;
    line-height:1.26!important;
    font-weight:750!important;
    overflow-wrap:anywhere!important;
}

.auth-extra-card strong{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    font-size:.88rem!important;
    line-height:1.20!important;
    font-weight:900!important;
    overflow-wrap:anywhere!important;
}

.auth-extra-arrow{
    position:static!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    width:32px!important;
    height:32px!important;
    margin:0!important;
    transform:none!important;
    display:grid!important;
    place-items:center!important;
    align-self:center!important;
    justify-self:center!important;
    border-radius:10px!important;
    font-size:.92rem!important;
}

.auth-extra-card:hover .auth-extra-arrow,
.auth-extra-card:focus-visible .auth-extra-arrow{
    transform:translateX(2px)!important;
}

/* Registro: deja aire entre el formulario y las acciones inferiores. */
#form_registro .auth-extra-actions{
    margin-top:12px!important;
}

/* Pantallas intermedias: conserva dos tarjetas sin inflarlas. */
@media(max-width:760px){
    .auth-extra-actions,
    .auth-extra-actions-compact{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:9px!important;
    }

    .auth-extra-card{
        min-height:82px!important;
        grid-template-columns:38px minmax(0,1fr) 28px!important;
        gap:7px!important;
        padding:10px 8px!important;
    }

    .auth-extra-icon{
        width:38px!important;
        height:38px!important;
    }

    .auth-extra-arrow{
        width:28px!important;
        height:28px!important;
        font-size:.82rem!important;
    }

    .auth-extra-card small{
        font-size:.61rem!important;
        line-height:1.20!important;
    }

    .auth-extra-card strong{
        font-size:.76rem!important;
        line-height:1.18!important;
    }
}

/* Teléfonos realmente angostos: una tarjeta por fila, pero compacta y horizontal. */
@media(max-width:480px){
    .auth-extra-actions,
    .auth-extra-actions-compact{
        grid-template-columns:1fr!important;
        gap:8px!important;
    }

    .auth-extra-card{
        min-height:72px!important;
        grid-template-columns:40px minmax(0,1fr) 30px!important;
        gap:9px!important;
        padding:9px 10px!important;
    }

    .auth-extra-icon{
        width:40px!important;
        height:40px!important;
    }

    .auth-extra-card small{
        font-size:.63rem!important;
    }

    .auth-extra-card strong{
        font-size:.80rem!important;
    }
}

/* ==========================================================
   IZZY LOGIN v1.0.9 · acciones Demo / Sitio uniformes en todo tamaño
   ========================================================== */

/* Mantener SIEMPRE el mismo lenguaje visual horizontal y compacto. */
.auth-extra-actions,
.auth-extra-actions-compact{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    align-items:stretch!important;
}

.auth-extra-card{
    min-height:74px!important;
    height:74px!important;
    grid-template-columns:40px minmax(0,1fr) 30px!important;
    grid-template-rows:1fr!important;
    gap:9px!important;
    padding:9px 10px!important;
    align-items:center!important;
    border-radius:13px!important;
    overflow:hidden!important;
}

.auth-extra-icon{
    width:40px!important;
    height:40px!important;
    min-width:40px!important;
    min-height:40px!important;
    margin:0!important;
    align-self:center!important;
    justify-self:center!important;
    font-size:.92rem!important;
}

.auth-extra-card>span:nth-child(2){
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:center!important;
    gap:3px!important;
    min-width:0!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    text-align:center!important;
}

.auth-extra-card small{
    margin:0!important;
    font-size:.61rem!important;
    line-height:1.12!important;
    font-weight:750!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
}

.auth-extra-card strong{
    margin:0!important;
    font-size:.79rem!important;
    line-height:1.12!important;
    font-weight:900!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
}

.auth-extra-arrow{
    position:static!important;
    width:30px!important;
    height:30px!important;
    margin:0!important;
    align-self:center!important;
    justify-self:center!important;
    transform:none!important;
    border-radius:9px!important;
    font-size:.84rem!important;
}

.auth-extra-card:hover .auth-extra-arrow,
.auth-extra-card:focus-visible .auth-extra-arrow{
    transform:translateX(2px)!important;
}

/* En móvil siguen siendo dos columnas; se reducen, no se vuelven tarjetas gigantes. */
@media(max-width:760px){
    .auth-extra-actions,
    .auth-extra-actions-compact{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:7px!important;
    }

    .auth-extra-card{
        min-height:66px!important;
        height:66px!important;
        grid-template-columns:34px minmax(0,1fr) 26px!important;
        gap:6px!important;
        padding:7px!important;
        border-radius:12px!important;
    }

    .auth-extra-icon{
        width:34px!important;
        height:34px!important;
        min-width:34px!important;
        min-height:34px!important;
        font-size:.82rem!important;
    }

    .auth-extra-arrow{
        width:26px!important;
        height:26px!important;
        font-size:.74rem!important;
    }

    .auth-extra-card small{
        font-size:.54rem!important;
        line-height:1.08!important;
    }

    .auth-extra-card strong{
        font-size:.69rem!important;
        line-height:1.08!important;
    }
}

/* Teléfonos estrechos: conservar ambas acciones lado a lado y comprimir proporciones. */
@media(max-width:480px){
    .auth-extra-actions,
    .auth-extra-actions-compact{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:6px!important;
    }

    .auth-extra-card{
        min-height:62px!important;
        height:62px!important;
        grid-template-columns:30px minmax(0,1fr) 24px!important;
        gap:5px!important;
        padding:6px!important;
    }

    .auth-extra-icon{
        width:30px!important;
        height:30px!important;
        min-width:30px!important;
        min-height:30px!important;
        font-size:.74rem!important;
    }

    .auth-extra-arrow{
        width:24px!important;
        height:24px!important;
        font-size:.68rem!important;
    }

    .auth-extra-card small{
        font-size:.49rem!important;
        line-height:1.06!important;
    }

    .auth-extra-card strong{
        font-size:.62rem!important;
        line-height:1.06!important;
    }
}

/* Muy estrecho: priorizar legibilidad sin permitir desbordes. */
@media(max-width:370px){
    .auth-extra-card{
        grid-template-columns:28px minmax(0,1fr) 22px!important;
        gap:4px!important;
        padding:5px!important;
    }
    .auth-extra-icon{width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important}
    .auth-extra-arrow{width:22px!important;height:22px!important}
    .auth-extra-card small{font-size:.45rem!important}
    .auth-extra-card strong{font-size:.57rem!important}
}

/* ==========================================================
   IZZY LOGIN v1.0.10 · Recuperación más clara sin crecer en alto
   ========================================================== */
.auth-explore-intro{
    width:100%!important;
    min-height:50px!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr)!important;
    gap:11px!important;
    align-items:center!important;
    margin-top:14px!important;
    margin-bottom:10px!important;
    padding:6px 10px!important;
    border:1px solid #c5e2ed!important;
    border-radius:13px!important;
    background:#eef9fc!important;
    color:#315d79!important;
    box-sizing:border-box!important;
}

.auth-explore-intro>i{
    width:42px!important;
    height:42px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:11px!important;
    background:#d9f0f8!important;
    color:#0879a8!important;
    font-size:.95rem!important;
}

.auth-explore-intro>span{
    min-width:0!important;
    display:flex!important;
    align-items:baseline!important;
    flex-wrap:wrap!important;
    column-gap:8px!important;
    row-gap:2px!important;
}

.auth-explore-intro strong,
.auth-explore-intro small{
    display:inline!important;
    margin:0!important;
    line-height:1.35!important;
}

.auth-explore-intro>span>strong{
    color:#0a345e!important;
    font-size:.82rem!important;
    font-weight:900!important;
    white-space:nowrap!important;
}

.auth-explore-intro small{
    color:#55758b!important;
    font-size:.70rem!important;
    font-weight:650!important;
}

.auth-explore-intro small .izzy-word{
    color:#1676ee!important;
    font-weight:900!important;
}

@media(max-width:760px){
    .auth-explore-intro{
        grid-template-columns:38px minmax(0,1fr)!important;
        gap:9px!important;
        min-height:48px!important;
        padding:6px 9px!important;
    }

    .auth-explore-intro>i{
        width:38px!important;
        height:38px!important;
        font-size:.88rem!important;
    }

    .auth-explore-intro>span{
        display:block!important;
    }

    .auth-explore-intro>span>strong{
        display:block!important;
        font-size:.77rem!important;
        white-space:normal!important;
    }

    .auth-explore-intro small{
        display:block!important;
        margin-top:2px!important;
        font-size:.66rem!important;
    }
}

/* ==========================================================
   IZZY LOGIN v1.0.11 · Legibilidad + microinteracciones
   Sólo ajustes visuales; sin alterar lógica ni estructura.
   ========================================================== */

/* 1 / 5 / 6 / 8 / 9: títulos, kickers y textos más legibles */
.auth-kicker{
    font-size:clamp(.72rem,.68rem + .18vw,.82rem)!important;
    line-height:1.15!important;
    letter-spacing:.11em!important;
    padding:8px 13px!important;
    border-radius:999px!important;
    font-weight:900!important;
    color:#0875a0!important;
    background:#eef9fd!important;
    border:1px solid #b9ddeb!important;
}

.auth-heading h1{
    font-size:clamp(2rem,1.82rem + .7vw,2.55rem)!important;
    line-height:1.02!important;
    letter-spacing:-.035em!important;
}

.auth-heading p{
    font-size:clamp(.86rem,.82rem + .16vw,.96rem)!important;
    line-height:1.55!important;
    color:#536f83!important;
}

.auth-heading p .izzy-word,
.auth-heading p strong{
    font-weight:900!important;
}

/* 4: resumen izquierdo más grande sin desbordarse */
.brand-summary{
    font-size:clamp(.98rem,.93rem + .18vw,1.08rem)!important;
    line-height:1.62!important;
    max-width:100%!important;
}

/* 7: labels un poco más grandes y nítidos */
.auth-control-label{
    font-size:clamp(.74rem,.70rem + .12vw,.82rem)!important;
    line-height:1.2!important;
    letter-spacing:.005em!important;
}

/* 10: botón Sitio web más claro, centrado y proporcionado */
.brand-website{
    min-width:152px!important;
    min-height:58px!important;
    gap:9px!important;
    padding:8px 13px!important;
}
.brand-website > i{
    width:42px!important;
    height:42px!important;
    font-size:1rem!important;
}
.brand-website span{
    font-size:clamp(.78rem,.75rem + .10vw,.84rem)!important;
    font-weight:900!important;
}

/* 11: acceso seguro más legible */
.auth-security-note{
    font-size:clamp(.68rem,.65rem + .10vw,.75rem)!important;
    line-height:1.35!important;
    gap:7px!important;
}
.auth-security-note i{
    font-size:.78rem!important;
}

/* 12: pie del panel izquierdo más legible */
.brand-footer{
    font-size:clamp(.66rem,.63rem + .10vw,.74rem)!important;
    line-height:1.35!important;
}
.brand-footer strong{
    font-weight:900!important;
}

/* 2: bloque de recuperación con presencia + movimiento sutil */
.auth-explore-intro{
    grid-template-columns:44px minmax(0,1fr)!important;
    gap:12px!important;
    min-height:70px!important;
    width:100%!important;
    padding:11px 14px!important;
    margin-top:16px!important;
    margin-bottom:10px!important;
    border:1px solid #c7e2ed!important;
    border-radius:14px!important;
    background:#edf9fd!important;
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background-color .18s ease!important;
}
.auth-explore-intro:hover{
    transform:translateY(-2px)!important;
    border-color:#9fd0e2!important;
    background:#e6f6fb!important;
    box-shadow:0 9px 20px rgba(8,43,88,.07)!important;
}
.auth-explore-intro>i{
    width:44px!important;
    height:44px!important;
    border-radius:12px!important;
    font-size:.95rem!important;
}
.auth-explore-intro>span{
    min-width:0!important;
}
.auth-explore-intro>span>strong{
    font-size:clamp(.78rem,.74rem + .13vw,.86rem)!important;
    line-height:1.2!important;
}
.auth-explore-intro small{
    margin-top:4px!important;
    font-size:clamp(.70rem,.67rem + .10vw,.77rem)!important;
    line-height:1.4!important;
}

/* 3: chips "Ideal para" con microinteracción, sin escalar ni desenfocar */
.brand-business-list b{
    transition:transform .16s ease,border-color .16s ease,background-color .16s ease,box-shadow .16s ease!important;
    will-change:transform;
}
.brand-business-list b:hover,
.brand-business-list b:focus-within{
    transform:translateY(-2px)!important;
    border-color:#9fd2e4!important;
    background:#f0faff!important;
    box-shadow:0 7px 14px rgba(8,43,88,.06)!important;
}
.brand-business-list b i{
    font-size:1rem!important;
}
.brand-business-list b span{
    font-size:clamp(.70rem,.67rem + .08vw,.76rem)!important;
}

/* "Ideal para" más legible */
.brand-businesses>span{
    font-size:clamp(.72rem,.68rem + .10vw,.80rem)!important;
    font-weight:900!important;
    letter-spacing:.07em!important;
}

/* 1: crear cuenta / volver a inicio con tipografía más clara y uniforme */
.auth-button,
.auth-return-button{
    font-size:clamp(.82rem,.78rem + .12vw,.90rem)!important;
    font-weight:900!important;
    letter-spacing:0!important;
    text-rendering:geometricPrecision!important;
    -webkit-font-smoothing:antialiased!important;
}
.auth-button i,
.auth-return-button i{
    font-size:.92rem!important;
}

/* 8 / 9: encabezado visual de recuperación: más legible y consistente */
.auth-view-symbol{
    min-height:74px!important;
    grid-template-columns:50px minmax(0,1fr)!important;
    gap:13px!important;
    padding:11px 14px!important;
    border-radius:14px!important;
}
.auth-view-symbol>span{
    width:50px!important;
    height:50px!important;
    font-size:1.02rem!important;
}
.auth-view-symbol strong{
    font-size:clamp(.84rem,.80rem + .13vw,.92rem)!important;
    line-height:1.2!important;
}
.auth-view-symbol small{
    margin-top:4px!important;
    font-size:clamp(.70rem,.67rem + .10vw,.77rem)!important;
    line-height:1.35!important;
}

/* 6: texto en registro también más legible */
#form_registro .auth-heading p{
    font-size:clamp(.82rem,.78rem + .12vw,.91rem)!important;
}

/* No aumentar controles en tablet/móvil: reducir proporcionalmente */
@media(max-width:1050px){
    .auth-kicker{
        font-size:.75rem!important;
        padding:7px 11px!important;
    }
    .auth-heading h1{
        font-size:clamp(1.85rem,5.2vw,2.25rem)!important;
    }
    .auth-heading p,
    .brand-summary{
        font-size:.90rem!important;
    }
    .auth-control-label{
        font-size:.75rem!important;
    }
    .brand-website{
        min-width:138px!important;
        min-height:54px!important;
    }
    .brand-website span{font-size:.78rem!important}
    .auth-button,
    .auth-return-button{font-size:.84rem!important}
}

@media(max-width:760px){
    .auth-kicker{
        font-size:.72rem!important;
        padding:6px 10px!important;
    }
    .auth-heading h1{
        font-size:clamp(1.72rem,8.2vw,2.05rem)!important;
    }
    .auth-heading p{
        font-size:.84rem!important;
        line-height:1.48!important;
    }
    .auth-control-label{font-size:.72rem!important}
    .auth-explore-intro{
        min-height:64px!important;
        grid-template-columns:40px minmax(0,1fr)!important;
        gap:9px!important;
        padding:9px 11px!important;
    }
    .auth-explore-intro>i{
        width:40px!important;
        height:40px!important;
        font-size:.88rem!important;
    }
    .auth-explore-intro>span>strong{font-size:.78rem!important}
    .auth-explore-intro small{font-size:.68rem!important}
    .auth-view-symbol{
        min-height:66px!important;
        grid-template-columns:44px minmax(0,1fr)!important;
        gap:10px!important;
        padding:9px 11px!important;
    }
    .auth-view-symbol>span{
        width:44px!important;
        height:44px!important;
        font-size:.92rem!important;
    }
    .auth-view-symbol strong{font-size:.82rem!important}
    .auth-view-symbol small{font-size:.68rem!important}
    .auth-button,
    .auth-return-button{font-size:.81rem!important}
    .auth-security-note{font-size:.66rem!important}
    .brand-footer{font-size:.64rem!important}
}

@media(max-width:420px){
    .auth-heading h1{font-size:1.68rem!important}
    .auth-heading p{font-size:.80rem!important}
    .auth-control-label{font-size:.69rem!important}
    .auth-button,
    .auth-return-button{font-size:.78rem!important}
    .auth-explore-intro>span>strong{font-size:.74rem!important}
    .auth-explore-intro small{font-size:.65rem!important}
}


/* ==========================================================
   IZZY LOGIN v1.0.12 · Ajuste fino solicitado por el usuario
   - Más aire en el titular izquierdo
   - Acciones Demo / Sitio un poco más grandes sin desbordes
   ========================================================== */

/* 1. Separar un poco más el titular de marca sin romper el estilo */
.brand-main h2{
    line-height:1.05!important;
    letter-spacing:-.045em!important;
}
.brand-main h2 strong{
    display:inline-block!important;
    margin-top:.08em!important;
}

/* 2. Hacer más notorias las acciones inferiores sin que se desborden */
.auth-extra-actions,
.auth-extra-actions-compact{
    gap:12px!important;
}

.auth-extra-card{
    min-height:78px!important;
    height:78px!important;
    grid-template-columns:42px minmax(0,1fr) 32px!important;
    gap:9px!important;
    padding:10px 12px!important;
    border-radius:14px!important;
}

.auth-extra-card > span:nth-child(2){
    gap:4px!important;
}

.auth-extra-card small{
    font-size:.66rem!important;
    line-height:1.14!important;
    font-weight:780!important;
}

.auth-extra-card strong{
    font-size:.92rem!important;
    line-height:1.16!important;
    font-weight:900!important;
}

.auth-extra-arrow{
    width:32px!important;
    height:32px!important;
    font-size:.88rem!important;
}

/* Mantener la misma idea en tablets y pantallas medianas */
@media(max-width:760px){
    .auth-extra-actions,
    .auth-extra-actions-compact{
        gap:9px!important;
    }

    .auth-extra-card{
        min-height:74px!important;
        height:74px!important;
        grid-template-columns:40px minmax(0,1fr) 30px!important;
        gap:8px!important;
        padding:9px 10px!important;
    }

    .auth-extra-icon{
        width:40px!important;
        height:40px!important;
        min-width:40px!important;
        min-height:40px!important;
    }

    .auth-extra-card small{
        font-size:.62rem!important;
        line-height:1.12!important;
    }

    .auth-extra-card strong{
        font-size:.84rem!important;
        line-height:1.14!important;
    }

    .auth-extra-arrow{
        width:30px!important;
        height:30px!important;
        font-size:.80rem!important;
    }
}

/* En móviles pequeños: mismo estilo, proporcional, sin desbordarse */
@media(max-width:480px){
    .auth-extra-actions,
    .auth-extra-actions-compact{
        gap:8px!important;
    }

    .auth-extra-card{
        min-height:70px!important;
        height:70px!important;
        grid-template-columns:38px minmax(0,1fr) 28px!important;
        gap:7px!important;
        padding:8px 9px!important;
    }

    .auth-extra-icon{
        width:38px!important;
        height:38px!important;
        min-width:38px!important;
        min-height:38px!important;
        font-size:.86rem!important;
    }

    .auth-extra-card small{
        font-size:.58rem!important;
        line-height:1.10!important;
    }

    .auth-extra-card strong{
        font-size:.78rem!important;
        line-height:1.12!important;
    }

    .auth-extra-arrow{
        width:28px!important;
        height:28px!important;
        font-size:.76rem!important;
    }
}


/* ==========================================================
   IZZY LOGIN v1.0.13 · Cache-safe mobile fit
   - El formulario sube en pantallas pequeñas aprovechando el espacio superior.
   - Demo / Sitio web permanecen visibles, compactos y legibles.
   - No modifica la lógica de autenticación.
   ========================================================== */

@media(max-width:760px){
    .izzy-login-page{
        min-height:100dvh!important;
        padding:0!important;
        place-items:start stretch!important;
        background:#fff!important;
    }

    .izzy-login-shell{
        min-height:100dvh!important;
        height:auto!important;
    }

    .izzy-login-access{
        min-height:100dvh!important;
        align-items:start!important;
        padding:10px 15px 14px!important;
    }

    .auth-mobile-logo{
        margin:0 0 10px!important;
        padding-top:0!important;
    }

    .auth-mobile-logo img{
        width:136px!important;
        max-height:58px!important;
        object-fit:contain!important;
    }

    #logreg-forms{
        width:100%!important;
        margin:0 auto!important;
    }

    #loginform .auth-heading{
        margin-bottom:13px!important;
    }

    #loginform .auth-heading h1{
        margin-top:8px!important;
        font-size:clamp(1.72rem,8vw,2rem)!important;
    }

    #loginform .auth-heading p{
        margin-top:7px!important;
        line-height:1.38!important;
    }

    #loginform .auth-form-stack{
        gap:9px!important;
    }

    #loginform .auth-control{
        gap:4px!important;
    }

    #loginform .auth-input{
        min-height:48px!important;
    }

    #loginform .auth-input input,
    #loginform .auth-password-button{
        height:46px!important;
    }

    #loginform .auth-button{
        min-height:48px!important;
        padding:8px 12px!important;
    }

    #loginform .auth-forgot-link{
        min-height:56px!important;
        padding:7px 9px!important;
    }

    #loginform .auth-account-block{
        margin-top:11px!important;
    }

    #loginform .auth-divider{
        margin-bottom:8px!important;
        gap:8px!important;
    }

    #loginform .auth-button-create{
        min-height:48px!important;
    }

    #loginform .auth-extra-actions,
    #loginform .auth-extra-actions-compact{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
        gap:7px!important;
        margin-top:8px!important;
    }

    #loginform .auth-extra-card{
        min-height:60px!important;
        height:60px!important;
        grid-template-columns:30px minmax(0,1fr) 22px!important;
        gap:5px!important;
        padding:7px 6px!important;
        border-radius:12px!important;
    }

    #loginform .auth-extra-icon{
        width:30px!important;
        height:30px!important;
        min-width:30px!important;
        min-height:30px!important;
        border-radius:9px!important;
        font-size:.76rem!important;
    }

    #loginform .auth-extra-card > span:nth-child(2){
        gap:2px!important;
        text-align:center!important;
    }

    #loginform .auth-extra-card small{
        font-size:.55rem!important;
        line-height:1.10!important;
        font-weight:750!important;
    }

    #loginform .auth-extra-card strong{
        font-size:.72rem!important;
        line-height:1.10!important;
        font-weight:900!important;
    }

    #loginform .auth-extra-arrow{
        width:22px!important;
        height:22px!important;
        border-radius:7px!important;
        font-size:.65rem!important;
    }

    #loginform .auth-security-note{
        margin-top:7px!important;
        font-size:.62rem!important;
    }
}

/* Teléfonos angostos: se conservan las dos acciones lado a lado, pero con
   jerarquía de texto suficiente para que ambas se alcancen a reconocer. */
@media(max-width:480px){
    .izzy-login-access{
        padding:7px 12px 12px!important;
    }

    .auth-mobile-logo{
        margin-bottom:7px!important;
    }

    .auth-mobile-logo img{
        width:128px!important;
        max-height:54px!important;
    }

    #loginform .auth-kicker{
        padding:5px 9px!important;
        font-size:.68rem!important;
    }

    #loginform .auth-heading{
        margin-bottom:10px!important;
    }

    #loginform .auth-heading h1{
        margin-top:6px!important;
        font-size:1.64rem!important;
    }

    #loginform .auth-heading p{
        margin-top:6px!important;
        font-size:.76rem!important;
        line-height:1.34!important;
    }

    #loginform .auth-extra-card{
        min-height:58px!important;
        height:58px!important;
        grid-template-columns:28px minmax(0,1fr) 20px!important;
        gap:4px!important;
        padding:6px 5px!important;
    }

    #loginform .auth-extra-icon{
        width:28px!important;
        height:28px!important;
        min-width:28px!important;
        min-height:28px!important;
        font-size:.70rem!important;
    }

    #loginform .auth-extra-card small{
        font-size:.51rem!important;
    }

    #loginform .auth-extra-card strong{
        font-size:.67rem!important;
    }

    #loginform .auth-extra-arrow{
        width:20px!important;
        height:20px!important;
        font-size:.60rem!important;
    }
}

/* Altura reducida (navegadores móviles con barras grandes): prioriza que las
   acciones inferiores sigan visibles sin hacer diminutos los campos. */
@media(max-width:760px) and (max-height:720px){
    .izzy-login-access{
        padding-top:5px!important;
    }

    .auth-mobile-logo{
        margin-bottom:5px!important;
    }

    .auth-mobile-logo img{
        width:118px!important;
        max-height:48px!important;
    }

    #loginform .auth-heading{
        margin-bottom:8px!important;
    }

    #loginform .auth-heading p{
        margin-top:5px!important;
    }

    #loginform .auth-form-stack{
        gap:7px!important;
    }

    #loginform .auth-account-block{
        margin-top:8px!important;
    }

    #loginform .auth-extra-actions{
        margin-top:6px!important;
    }

    #loginform .auth-security-note{
        margin-top:5px!important;
    }
}


/* ==========================================================
   IZZY LOGIN · Recordar correo
   ========================================================== */
#loginform .auth-remember-option{
    display:inline-flex;
    align-items:center;
    gap:10px;
    width:max-content;
    max-width:100%;
    margin:-2px 0 0;
    cursor:pointer;
    color:#234865;
    user-select:none;
}
#loginform .auth-remember-option input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}
#loginform .auth-remember-check{
    width:22px;
    height:22px;
    flex:0 0 22px;
    display:grid;
    place-items:center;
    border:1px solid #bfd8e4;
    border-radius:7px;
    background:#f4fafc;
    color:transparent;
    font-size:.68rem;
    transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease;
}
#loginform .auth-remember-copy{
    display:flex;
    flex-direction:column;
    min-width:0;
    line-height:1.18;
}
#loginform .auth-remember-copy strong{
    color:#0a345e;
    font-size:.76rem;
    font-weight:900;
}
#loginform .auth-remember-copy small{
    margin-top:2px;
    color:#71899a;
    font-size:.64rem;
    font-weight:600;
}
#loginform .auth-remember-option:hover .auth-remember-check{
    border-color:#63b9d7;
    background:#eaf8fc;
}
#loginform .auth-remember-option input:focus-visible + .auth-remember-check{
    border-color:#1098ea;
    box-shadow:0 0 0 3px rgba(16,152,234,.14);
}
#loginform .auth-remember-option input:checked + .auth-remember-check{
    border-color:#1098ea;
    background:#1098ea;
    color:#fff;
}
#loginform .auth-remember-option input:disabled + .auth-remember-check{
    background:#eef4f7;
    border-color:#d8e4ea;
}
#loginform .auth-remember-option input:disabled ~ .auth-remember-copy{
    opacity:.62;
}
#loginform.is-demo-login .auth-remember-option{
    display:none;
}
@media(max-width:760px){
    #loginform .auth-remember-option{
        gap:8px;
        margin-top:-1px;
    }
    #loginform .auth-remember-copy small{
        font-size:.61rem;
    }
}

/* ==========================================================
   IZZY LOGIN v1.0.8 · más contraste visual + recordar centrado
   ========================================================== */

/* Más presencia general sin perder el estilo limpio aprobado. */
body,
.izzy-login-page{
    background:#eaf4f8!important;
}

.izzy-login-shell{
    border-color:#c3dbe7!important;
    box-shadow:0 28px 64px rgba(8,43,88,.14)!important;
}

.izzy-login-brand{
    background:#eef9fd!important;
    border-right-color:#c7dfe9!important;
}

.izzy-login-access{
    background:#ffffff!important;
}

.brand-feature{
    border-color:#c7dce7!important;
    box-shadow:0 8px 20px rgba(8,43,88,.055)!important;
}

.brand-feature:hover{
    border-color:#9fc9db!important;
    box-shadow:0 14px 28px rgba(8,43,88,.085)!important;
}

.brand-businesses{
    background:#e4f4fa!important;
    border-color:#b9d9e6!important;
}

.auth-kicker,
.brand-kicker{
    background:#e1f4fb!important;
    border-color:#abd3e4!important;
    color:#045f87!important;
}

.auth-heading h1{
    color:#082b58!important;
}

.auth-heading p{
    color:#4d687e!important;
}

.auth-input{
    background:#fff!important;
    border-color:#bfd8e4!important;
    box-shadow:0 4px 12px rgba(8,43,88,.035)!important;
}

.auth-input:focus-within{
    border-color:#1098ea!important;
    box-shadow:0 0 0 3px rgba(16,152,234,.12),0 8px 18px rgba(8,43,88,.055)!important;
}

.auth-client-inline,
.auth-forgot-link{
    border-color:#b7d8e6!important;
    box-shadow:0 5px 14px rgba(8,43,88,.035)!important;
}

.auth-button-primary{
    background:#0f4f8d!important;
    box-shadow:0 10px 24px rgba(15,79,141,.18)!important;
}

.auth-button-primary:hover,
.auth-button-primary:focus-visible{
    background:#0c467e!important;
    box-shadow:0 12px 28px rgba(15,79,141,.22)!important;
}

.auth-button-create{
    background:#119acb!important;
    box-shadow:0 9px 22px rgba(17,154,203,.16)!important;
}

.auth-extra-card{
    border-color:#c2dbe7!important;
    box-shadow:0 8px 20px rgba(8,43,88,.05)!important;
}

.auth-extra-card:hover,
.auth-extra-card:focus-visible{
    border-color:#9fc9db!important;
    box-shadow:0 12px 26px rgba(8,43,88,.08)!important;
}

/* Recordar correo: conserva su posición original y centra únicamente el check. */
#loginform .auth-remember-option{
    justify-content:flex-start!important;
    width:max-content!important;
    max-width:100%!important;
    margin:-2px 0 0!important;
    text-align:left!important;
}

#loginform .auth-remember-check{
    display:grid!important;
    place-items:center!important;
    text-align:center!important;
    line-height:1!important;
}

#loginform .auth-remember-check > *,
#loginform .auth-remember-check::before,
#loginform .auth-remember-check::after{
    margin:0!important;
    line-height:1!important;
}

#loginform .auth-remember-copy{
    align-items:flex-start!important;
}

/* IZZY registro: mismos labels que inicio de sesión, obligatorio visible. */
#loginform .auth-control-label,
#form_registro .auth-control-label {
    font-size:clamp(.74rem,.70rem + .12vw,.82rem)!important;
    line-height:1.25!important;
    font-weight:900!important;
}
#form_registro .auth-required-mark {
    color:#d92d43;
    display:inline;
    font-size:1.1em;
    margin-left:4px;
    font-weight:900;
}
#form_registro .auth-input:has(input.is-invalid) {
    border-color:#d92d43!important;
    box-shadow:0 0 0 3px rgba(217,45,67,.12)!important;
}
#form_registro .auth-input input.is-invalid {
    background:#fff!important;
}
@media(max-width:1050px) {
    #loginform .auth-control-label,
    #form_registro .auth-control-label {font-size:.75rem!important}
}
@media(max-width:760px) {
    #loginform .auth-control-label,
    #form_registro .auth-control-label {font-size:.72rem!important}
}
@media(max-width:420px) {
    #loginform .auth-control-label,
    #form_registro .auth-control-label {font-size:.69rem!important}
}


/* IZZY · estados unificados: inicio, recuperación y registro. */
#logreg-forms .auth-required-mark {
    display:inline;
    margin-left:4px;
    color:#d92d43;
    font-weight:900;
}
#logreg-forms .auth-control.izzy-field-invalid > .auth-input {
    border-color:#dc3545!important;
    box-shadow:0 0 0 3px rgba(220,53,69,.12)!important;
}
#logreg-forms .auth-control.izzy-field-valid > .auth-input {
    border-color:#159666!important;
    box-shadow:0 0 0 2px rgba(21,150,102,.08)!important;
}
#logreg-forms .auth-control.izzy-field-invalid:focus-within > .auth-input {
    box-shadow:0 0 0 3px rgba(220,53,69,.16)!important;
}
#logreg-forms .auth-control.izzy-field-valid:focus-within > .auth-input {
    box-shadow:0 0 0 3px rgba(21,150,102,.14)!important;
}
#logreg-forms .izzy-field-message {
    display:block;
    color:#bc263c;
    font-size:.72rem;
    font-weight:750;
    line-height:1.3;
    margin-top:1px;
}

/* v6.18 - Estados de validación que no alteran el layout */
#logreg-forms .izzy-field-message { display:none!important; }
#logreg-forms .auth-control { min-height:0; }
#loginform .auth-password-row { align-items:end!important; }
#loginform .auth-client-option { align-self:end!important; }
#logreg-forms .auth-control.izzy-field-invalid > .auth-input,
#logreg-forms .auth-control.izzy-field-valid > .auth-input { box-sizing:border-box; }

/* Reto de acceso. El diálogo vive en la capa superior del navegador. */
#loginform .auth-password-row {grid-template-columns:minmax(0,1fr)!important;}
.auth-submit-actions {display:flex;align-items:stretch;gap:.65rem;}
.auth-submit-actions > .auth-button {flex:1 1 auto;min-width:0;}
.auth-access-dialog {position:fixed;inset:0;width:min(38rem,calc(100% - 1.25rem));max-width:none;max-height:calc(100dvh - 1.25rem);margin:auto;padding:0;border:1px solid #cbddeb;border-radius:1rem;background:#fff;color:#122b40;box-shadow:0 24px 65px #122b4050;overflow:hidden;}
.auth-access-dialog[open] {display:flex;flex-direction:column;}
#loginOtpModal {width:min(45rem,calc(100% - 1.25rem));}
.auth-access-dialog::backdrop {background:#132b4266;}
.auth-dialog-heading {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:1rem;background:#122a40;color:#fff;border-bottom:3px solid #159bd8;}
.auth-dialog-heading h2 {color:inherit;font-size:1.15rem;margin:0;line-height:1.3;}
.auth-dialog-heading p {margin:.2rem 0 0;color:#dce8f5;font-size:.83rem;}
.auth-dialog-icon,.auth-otp-icon {display:grid;place-items:center;width:2.35rem;height:2.35rem;border-radius:.55rem;background:#245174;color:#eef7ff;}
.auth-dialog-close {display:grid;place-items:center;width:2rem;height:2rem;border:0;border-radius:.4rem;background:transparent;color:#fff;}
.auth-dialog-close:is(:hover,:focus-visible) {background:#285472;}
.auth-dialog-body {min-height:0;overflow:auto;padding:1rem 1.25rem;overscroll-behavior:contain;}
.auth-dialog-note {font-size:.88rem;color:#476177;margin:0 0 .75rem;}
.auth-dialog-note i {color:#0874b3;}
.auth-dialog-error {margin:.65rem 0 0;color:#9d242b;font-size:.85rem;}
.auth-dialog-error:empty {display:none;}
.auth-dialog-actions {display:flex;justify-content:flex-end;flex-wrap:wrap;gap:.5rem;padding:.8rem 1rem;background:#eff5fa;border-top:1px solid #dae7f1;}
.auth-dialog-actions .auth-button,.auth-dialog-secondary {width:auto!important;flex:0 1 auto;min-height:2.75rem;padding:.5rem .95rem;border-radius:.58rem;font-size:.85rem;font-weight:750;}
.auth-dialog-secondary {border:1px solid #29485f;background:#29485f;color:#fff;}
.auth-dialog-secondary:is(:hover,:focus-visible) {background:#1a364c;}
.auth-otp-body {text-align:center;}
.auth-otp-label {display:block;font-size:1.08rem;font-weight:750;margin:0 0 .45rem;}
.auth-otp-icon {width:3.2rem;height:3.2rem;margin:0 auto .65rem;border-radius:50%;background:#e6f3fc;color:#126da6;font-size:1.2rem;}
.auth-code-field {position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.38rem;max-width:17.5rem;margin:.85rem auto;}
.auth-code-field input {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:text;}
.auth-code-field span {display:grid;place-items:center;min-height:2.85rem;border:1px solid #aabfd3;border-radius:.5rem;background:#fcfdff;color:#132c46;font-size:1.3rem;font-weight:750;}
.auth-code-field:focus-within span:empty:not(span:empty ~ span:empty) {border-color:#137fbd;box-shadow:0 0 0 2px #d0eafb;}
.auth-code-field:focus-within:not(:has(span:empty)) span:last-child {border-color:#137fbd;box-shadow:0 0 0 2px #d0eafb;}
@media(max-width:480px) {
    .auth-dialog-body {padding:.85rem;}
}

#loginform .auth-extra-actions.auth-extra-single {grid-template-columns:minmax(0,1fr)!important;}

.auth-extra-actions.auth-extra-single > .auth-extra-card {width:min(100%,24rem);justify-self:center;}
.auth-demo-card {display:flex;align-items:flex-start;gap:.65rem;margin:.75rem 0;padding:.68rem;
    border:1px solid #c4e1f1;border-radius:.74rem;background:#eef6fb;color:#112b40;text-align:left;}
.auth-demo-icon {display:grid;place-items:center;flex:none;width:2.2rem;height:2.2rem;border-radius:.65rem;background:#dceff9;color:#0878b5;}
.auth-demo-card strong {font-size:.91rem;line-height:1.3;}
.auth-demo-card p {margin:.24rem 0 0;font-size:.82rem;line-height:1.35;color:#385f7a;}

.auth-code-field[hidden], .auth-login-recovery[hidden], .auth-login-enrollment[hidden], .auth-recovery-toggle[hidden] {display:none;}
.auth-login-recovery, .auth-login-enrollment {display:grid;justify-items:center;gap:.4rem;margin:.75rem auto;color:#17344b;}
.auth-login-recovery input {width:min(100%,20rem);padding:.55rem;border:1px solid #aabfd3;border-radius:.5rem;text-align:center;}
.auth-login-enrollment img {image-rendering:pixelated;}
.auth-login-enrollment p {margin:0;}
.auth-login-enrollment code {overflow-wrap:anywhere;}
.auth-recovery-toggle {margin-bottom:.4rem;}
