/* GASTROFLOW LOGIN V5 - composición fiel a la referencia gastronómica */
:root {
    --mdx-navy: #063D2B;
    --mdx-navy-dark: #141A2A;
    --mdx-navy-soft: #07543A;
    --mdx-emerald: #07965A;
    --mdx-emerald-dark: #057748;
    --mdx-emerald-light: #24B96D;
    --mdx-lime: #FF7A00;
    --mdx-orange: #FF6500;
    --mdx-orange-light: #FFA800;
    --mdx-bg: #F7FAFA;
    --mdx-white: #FFFFFF;
    --mdx-ink: #172437;
    --mdx-muted: #6B7787;
    --mdx-line: #DDE4EA;
    --mdx-danger: #A93645;
    --mdx-danger-bg: #FFF3F4;
    --mdx-danger-line: #F0C9CE;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--mdx-bg) !important;
    color: var(--mdx-ink);
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
}

/* Evita que la navegación del master interfiera con la pantalla de acceso. */
body > header > nav {
    display: none !important;
}

body > header .mask {
    padding-top: 0 !important;
}

.mdx-login-page,
.mdx-login-page * {
    box-sizing: border-box;
}

.mdx-login-page {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at 6% 52%, rgba(7, 150, 90, .09), transparent 25%),
        radial-gradient(circle at 96% 87%, rgba(7, 150, 90, .08), transparent 27%),
        linear-gradient(145deg, #FFFFFF 0%, #F7FAFA 52%, #EDF5F3 100%);
}

.mdx-login-page::before,
.mdx-login-page::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.mdx-login-page::before {
    right: auto;
    bottom: -155px;
    left: -58px;
    width: auto;
    height: auto;
    content: "G";
    color: rgba(7, 150, 90, .055);
    font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    font-size: clamp(22rem, 31vw, 34rem);
    font-weight: 800;
    letter-spacing: -.13em;
    line-height: 1;
}

.mdx-login-page::after {
    right: -26px;
    bottom: -62px;
    width: min(460px, 35vw);
    height: min(360px, 30vw);
    background: url("assets/gastroflow-page-leaves.svg") center / contain no-repeat;
}

.mdx-login-host {
    position: relative;
    z-index: 2;
    width: min(1360px, 100%);
}

.mdx-login-shell {
    display: grid;
    grid-template-columns: minmax(560px, 1.02fr) minmax(520px, .98fr);
    height: min(790px, calc(100dvh - 68px));
    min-height: 650px;
    overflow: hidden;
    border: 1px solid rgba(8, 43, 85, .09);
    border-radius: 32px;
    background: #fff;
    box-shadow: 0 32px 90px rgba(3, 31, 41, .17);
}

/* ==============================
   Panel corporativo
   ============================== */
.mdx-brand-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    padding: clamp(38px, 5.2vh, 46px) clamp(68px, 6vw, 108px) clamp(150px, 19vh, 174px);
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 104% -5%, rgba(25, 171, 91, .23), transparent 32%),
        linear-gradient(145deg, #001711 0%, #012B1E 54%, #07452F 100%);
}

.mdx-brand-panel__glow {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 50%;
    pointer-events: none;
}

.mdx-brand-panel__glow--one {
    top: 128px;
    right: -118px;
    width: 300px;
    height: 300px;
    box-shadow:
        0 0 0 34px rgba(255,255,255,.018),
        0 0 0 68px rgba(255,255,255,.012);
}

.mdx-brand-panel__glow--two {
    bottom: 64px;
    left: -118px;
    width: 260px;
    height: 260px;
    background: rgba(0, 169, 143, .055);
}

.mdx-brand-top,
.mdx-brand-message,
.mdx-brand-footer {
    position: relative;
    z-index: 1;
}

.mdx-brand-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
}

.mdx-logo-badge {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: min(350px, 100%);
    height: clamp(160px, 26vh, 230px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.mdx-logo-badge__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 20px rgba(0,0,0,.24));
}

.mdx-brand-lockup strong,
.mdx-brand-lockup span {
    display: block;
}

.mdx-brand-lockup strong {
    color: #fff;
    font-size: 1.65rem;
    font-weight: 900;
    letter-spacing: .105em;
}

.mdx-brand-lockup span {
    margin-top: 5px;
    color: rgba(255,255,255,.66);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.mdx-brand-message {
    margin: clamp(18px, 3.6vh, 34px) 0 0;
}

.mdx-brand-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #80E7D0;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.mdx-brand-kicker::before {
    width: 24px;
    height: 2px;
    content: "";
    border-radius: 999px;
    background: var(--mdx-emerald-light);
}

.mdx-brand-message h1 {
    max-width: 500px;
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(2.2rem, 3vw, 3.35rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.06;
}

.mdx-brand-message h1 em {
    color: var(--mdx-orange-light);
    font-style: normal;
}

.mdx-brand-message > p {
    max-width: 500px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: clamp(.82rem, 1vw, 1rem);
    line-height: 1.5;
}

.mdx-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 13px;
    margin-top: 22px;
}

.mdx-brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding: 9px 6px;
    border: 0;
    border-radius: 13px;
    background: transparent;
    text-align: center;
}

.mdx-brand-item__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: clamp(40px, 3.5vw, 58px);
    height: clamp(40px, 3.5vw, 58px);
    border: 1px solid rgba(43,206,116,.32);
    border-radius: 12px;
    background: rgba(3,31,41,.55);
    color: #38D77E;
    font-size: clamp(.95rem, 1.25vw, 1.28rem);
    box-shadow: 0 12px 24px rgba(0,0,0,.16);
}

.mdx-brand-item strong,
.mdx-brand-item small {
    display: block;
}

.mdx-brand-item strong {
    color: rgba(255,255,255,.94);
    font-size: clamp(.65rem, .75vw, .82rem);
    font-weight: 800;
}

.mdx-brand-item small {
    margin-top: 3px;
    overflow: visible;
    color: rgba(255,255,255,.55);
    font-size: clamp(.53rem, .62vw, .66rem);
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
}

.mdx-brand-food {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    height: clamp(170px, 22vh, 210px);
    background-image: url("assets/login-food-hero.webp");
    background-position: center bottom;
    background-size: cover;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.22) 12%, #000 42%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.22) 12%, #000 42%, #000 100%);
}

.mdx-brand-food::after {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(180deg, rgba(7,69,47,.18), transparent 42%),
        linear-gradient(90deg, rgba(2,29,32,.20), transparent 45%, rgba(2,29,32,.08));
}

.mdx-brand-footer {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: rgba(255,255,255,.55);
    font-size: .64rem;
}

.mdx-brand-footer i {
    margin-right: 5px;
    color: #7CE1CC;
}

.mdx-brand-footer small {
    color: rgba(255,255,255,.37);
    font-size: .58rem;
    letter-spacing: .02em;
}

/* ==============================
   Panel de acceso
   ============================== */
.mdx-form-panel {
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 72px 82px 50px;
    background: #fff;
    overflow: hidden;
}

.mdx-form-panel::before,
.mdx-form-panel::after {
    position: absolute;
    content: "";
    pointer-events: none;
}

.mdx-form-panel::before {
    right: -72px;
    bottom: -82px;
    width: 250px;
    height: 250px;
    border: 1px solid rgba(0,169,143,.09);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(0,169,143,.025);
}

.mdx-form-panel::after {
    right: 22px;
    bottom: -18px;
    width: 92px;
    height: 158px;
    border-radius: 100% 0 100% 0;
    background: rgba(0,169,143,.10);
    transform: rotate(-23deg);
}

.mdx-form-panel__accent {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--mdx-emerald-dark) 0%, #22B655 100%);
}

.mdx-form-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

@media (max-width: 1200px) and (min-width: 761px) {
    .mdx-login-page { padding: 24px; }
    .mdx-login-shell { grid-template-columns: minmax(455px,1fr) minmax(430px,1fr); }
    .mdx-brand-panel { padding-right: 44px; padding-left: 44px; }
    .mdx-form-panel { padding-right: 50px; padding-left: 50px; }
    .mdx-brand-message h1 { font-size: 2.35rem; }
}

.mdx-mobile-brand {
    display: none;
}

.mdx-login-heading {
    margin-bottom: 42px;
}

.mdx-login-heading__kicker {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 14px;
    color: var(--mdx-emerald);
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mdx-login-heading__kicker::before {
    width: 30px;
    height: 3px;
    content: "";
    border-radius: 999px;
    background: var(--mdx-emerald);
}

.mdx-login-heading h2 {
    margin: 0;
    color: var(--mdx-navy-dark);
    font-size: clamp(2rem, 2.6vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.1;
    white-space: nowrap;
}

.mdx-login-heading h2 em {
    color: var(--mdx-orange);
    font-style: normal;
}

.mdx-login-heading p {
    max-width: 470px;
    margin: 12px 0 0;
    color: var(--mdx-muted);
    font-size: .87rem;
    line-height: 1.65;
}

.mdx-login-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid var(--mdx-danger-line);
    border-radius: 13px;
    background: var(--mdx-danger-bg);
    color: var(--mdx-danger);
    font-size: .75rem;
    line-height: 1.45;
}

.mdx-login-alert__icon {
    margin-top: 1px;
}

.mdx-login-field {
    margin-bottom: 19px;
}

.mdx-login-field__label {
    display: block;
    margin: 0 0 7px;
    color: #35475B;
    font-size: .76rem;
    font-weight: 750;
}

.mdx-login-field__control {
    position: relative;
}

.mdx-login-field__icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 2;
    color: #8291A0;
    font-size: .83rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.mdx-login-input {
    width: 100%;
    height: 58px !important;
    padding: 0 46px 0 45px !important;
    border: 1px solid var(--mdx-line) !important;
    border-radius: 14px !important;
    background: #FAFBFC !important;
    color: var(--mdx-ink) !important;
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif !important;
    font-size: .88rem !important;
    box-shadow: none !important;
    outline: none !important;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.mdx-login-input:hover {
    border-color: #C6D1DB !important;
}

.mdx-login-input:focus {
    border-color: rgba(0,169,143,.75) !important;
    background: #fff !important;
    box-shadow: 0 0 0 4px rgba(0,169,143,.09) !important;
}

.mdx-login-input::placeholder {
    color: #9AA6B2;
}

/* Chrome / Edge autofill */
.mdx-login-input:-webkit-autofill,
.mdx-login-input:-webkit-autofill:hover,
.mdx-login-input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--mdx-ink);
    box-shadow: 0 0 0 1000px #FAFBFC inset !important;
    transition: background-color 9999s ease-in-out 0s;
}

.mdx-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #788694;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .15s ease, color .15s ease;
}

.mdx-password-toggle:hover,
.mdx-password-toggle:focus {
    background: rgba(0,169,143,.08);
    color: var(--mdx-emerald);
    outline: none;
}

.mdx-login-assistance {
    display: flex;
    justify-content: flex-end;
    margin: -2px 0 28px;
}

.mdx-login-link {
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: var(--mdx-emerald-dark);
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    font-size: .74rem;
    font-weight: 700;
    cursor: pointer;
}

.mdx-login-link:hover,
.mdx-login-link:focus {
    color: var(--mdx-emerald-dark);
    text-decoration: none;
    outline: none;
}

.mdx-login-submit,
.mdx-login-recovery-submit {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 62px;
    margin: 0 !important;
    padding: 11px 18px !important;
    border: 0 !important;
    border-radius: 15px !important;
    background: linear-gradient(100deg, #FF5500, var(--mdx-orange-light)) !important;
    color: #fff !important;
    font-family: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    letter-spacing: .025em;
    text-decoration: none !important;
    box-shadow: 0 14px 28px rgba(255,101,0,.25) !important;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.mdx-login-submit:hover,
.mdx-login-recovery-submit:hover {
    background: linear-gradient(100deg, #E94E00, #FF9200) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(232,82,0,.28) !important;
}

.mdx-login-submit:focus,
.mdx-login-recovery-submit:focus {
    outline: 3px solid rgba(0,169,143,.16);
    outline-offset: 3px;
}

.mdx-login-recovery-submit[disabled] {
    opacity: .7;
    pointer-events: none;
}

.mdx-login-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 23px;
    color: #8A96A2;
    font-size: .64rem;
}

.mdx-login-security i {
    color: var(--mdx-emerald);
}

.mdx-login-back {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.mdx-login-view[hidden] {
    display: none !important;
}

.mdx-login-view.is-entering {
    animation: mdxLoginFade .22s ease both;
}

.mdx-form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    margin-top: 64px;
    padding-top: 25px;
    color: #9AA5B0;
    font-size: .72rem;
}

.mdx-form-footer::before {
    position: absolute;
    top: 0;
    left: 50%;
    width: 32px;
    height: 2px;
    content: "";
    border-radius: 999px;
    background: var(--mdx-orange);
    transform: translateX(-50%);
}

.mdx-form-footer__dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #B7C0C8;
}

@keyframes mdxLoginFade {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==============================
   Tablet
   ============================== */
@media (max-width: 980px) {
    .mdx-login-page {
        padding: 18px;
    }

    .mdx-login-shell {
        grid-template-columns: minmax(360px, .9fr) minmax(390px, 1.1fr);
        min-height: 570px;
    }

    .mdx-brand-panel {
        padding: 30px 30px 165px;
    }

    .mdx-brand-message h1 {
        font-size: 2.05rem;
    }

    .mdx-brand-item small {
        display: none;
    }

    .mdx-brand-food { height: 160px; }

    .mdx-form-panel {
        padding: 46px 40px 34px;
    }
}

/* ==============================
   Móvil
   ============================== */
@media (max-width: 760px) {
    .mdx-login-page {
        display: flex;
        align-items: flex-start;
        min-height: 100dvh;
        height: auto;
        padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        background:
            linear-gradient(180deg, var(--mdx-navy-dark) 0, var(--mdx-navy) 150px, #F3F6F8 150px, #F3F6F8 100%);
    }

    .mdx-login-page::before,
    .mdx-login-page::after {
        display: none;
    }

    .mdx-login-host {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    .mdx-login-shell {
        display: block;
        height: auto;
        min-height: calc(100dvh - 24px);
        overflow: hidden;
        border: 0;
        border-radius: 24px;
        box-shadow: 0 24px 54px rgba(6,26,49,.20);
    }

    .mdx-brand-panel {
        display: none !important;
    }

    .mdx-form-panel {
        display: flex;
        align-items: stretch;
        height: auto;
        min-height: calc(100dvh - 24px);
        padding: 0;
        background: #fff;
    }

    .mdx-form-panel__accent {
        height: 4px;
    }

    .mdx-form-wrap {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: none;
        min-height: calc(100dvh - 24px);
        height: auto;
        padding: 26px 22px 20px;
    }

    .mdx-mobile-brand {
        display: block;
        margin-bottom: 24px;
        padding-bottom: 18px;
        border-bottom: 1px solid #E8EDF2;
    }

    .mdx-mobile-brand__top {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
    }

    .mdx-mobile-logo {
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        width: min(220px, 76vw);
        height: 110px;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .mdx-mobile-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .mdx-mobile-lockup strong,
    .mdx-mobile-lockup span {
        display: block;
    }

    .mdx-mobile-lockup strong {
        color: var(--mdx-navy);
        font-size: .95rem;
        font-weight: 900;
        letter-spacing: .09em;
    }

    .mdx-mobile-lockup span {
        margin-top: 2px;
        color: var(--mdx-muted);
        font-size: .61rem;
        font-weight: 700;
        letter-spacing: .15em;
        text-transform: uppercase;
    }

    .mdx-mobile-brand p {
        margin: 11px 0 0;
        color: var(--mdx-emerald-dark);
        font-size: .65rem;
        font-weight: 700;
        letter-spacing: .025em;
    }

    .mdx-login-heading {
        margin-bottom: 23px;
    }

    .mdx-login-heading h2 {
        font-size: clamp(1.42rem, 5.5vw, 1.85rem);
        white-space: normal;
    }

    .mdx-login-heading p {
        font-size: .79rem;
    }

    .mdx-login-input {
        height: 50px !important;
        font-size: 16px !important;
    }

    .mdx-login-submit,
    .mdx-login-recovery-submit {
        min-height: 51px;
    }

    .mdx-form-footer {
        margin-top: auto;
        padding-top: 32px;
        color: #9DA7B1;
    }
}

@media (max-width: 760px) and (max-height: 600px) {
    .mdx-login-page {
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .mdx-login-shell,
    .mdx-form-panel,
    .mdx-form-wrap {
        min-height: calc(100dvh - 14px);
    }

    .mdx-form-wrap {
        padding-top: 16px;
        padding-bottom: 16px;
    }

    .mdx-mobile-brand {
        margin-bottom: 17px;
        padding-bottom: 13px;
    }

    .mdx-mobile-logo {
        width: 170px;
        height: 82px;
    }

    .mdx-login-heading {
        margin-bottom: 19px;
    }
}

@media (max-width: 380px) {
    .mdx-login-page {
        padding-left: 7px;
        padding-right: 7px;
    }

    .mdx-login-shell,
    .mdx-form-panel,
    .mdx-form-wrap {
        min-height: calc(100dvh - 14px);
    }

    .mdx-form-wrap {
        padding: 22px 16px 17px;
    }
}

/* Alturas reducidas en escritorio */
@media (max-height: 690px) and (min-width: 761px) {
    .mdx-login-page {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mdx-login-shell {
        min-height: 540px;
    }

    .mdx-brand-panel {
        padding: 26px 42px 142px;
    }

    .mdx-brand-message {
        margin: 16px 0 0;
    }

    .mdx-brand-message h1 {
        font-size: 2rem;
    }

    .mdx-brand-message > p { font-size: .76rem; line-height: 1.48; }
    .mdx-brand-grid { margin-top: 13px; }
    .mdx-brand-item { padding-top: 4px; padding-bottom: 4px; }
    .mdx-brand-item__icon { width: 38px; height: 38px; }
    .mdx-brand-food { height: 136px; }

    .mdx-form-panel {
        padding-top: 30px;
        padding-bottom: 24px;
    }

    .mdx-login-heading {
        margin-bottom: 24px;
    }

    .mdx-form-footer {
        margin-top: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mdx-login-view.is-entering {
        animation: none;
    }

    .mdx-login-submit,
    .mdx-login-recovery-submit,
    .mdx-login-input,
    .mdx-password-toggle {
        transition: none;
    }
}

/* ==========================================================
   V3 - Reglas defensivas contra estilos heredados del Master
   ========================================================== */
.mdx-login-shell { display: grid !important; }
.mdx-brand-panel { display: flex !important; visibility: visible !important; opacity: 1 !important; }
.mdx-form-panel { display: flex !important; visibility: visible !important; opacity: 1 !important; }
.mdx-login-heading { display: block !important; visibility: visible !important; opacity: 1 !important; }
.mdx-login-assistance { display: flex !important; }
.mdx-login-security { display: flex !important; }
.mdx-form-footer { display: flex !important; }
#div_login { display: block; }
#div_Recuperar[hidden], #div_Recuperar[style*="display:none"] { display: none !important; }

@media (max-width: 760px) {
    .mdx-login-shell { display: block !important; }
    .mdx-brand-panel { display: none !important; }
    .mdx-mobile-brand { display: block !important; visibility: visible !important; opacity: 1 !important; }
}
