/* Recuperacion: captcha y pie integrados al acceso. */
body.password-recovery-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
}

body.password-recovery-page > .tm_header,
body.password-recovery-page > .tm_footer {
    flex: 0 0 auto;
}

body.password-recovery-page > .container-fluid {
    display: flex;
    flex: 1 0 auto;
    width: 100%;
    margin: 0;
    padding: 0;
}

body.password-recovery-page > .container-fluid > .side-body {
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

body.password-recovery-page .marken-utility-shell {
    max-width: 520px;
    padding: 28px 0 32px;
}

body.password-recovery-page .login-turnstile {
    box-sizing: border-box;
    width: 100%;
    margin: 12px 0 !important;
    text-align: left;
}

body.password-recovery-page #clave td:has(> strong) {
    color: #64748b !important;
    font-size: 12px;
    font-weight: 400;
}

body.password-recovery-page > .tm_footer {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 0 !important;
}

body.password-recovery-page > .tm_footer:not(:has(.footer-main)) {
    background: transparent !important;
    border-top: 1px solid #e2e8f0;
}

body.password-recovery-page > .tm_footer:not(:has(.footer-main)) .footer-glow {
    display: none;
}

body.password-recovery-page > .tm_footer:not(:has(.footer-main)) .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    gap: 8px;
    padding: 16px 0;
    border-top: 0;
    text-align: center;
}

body.password-recovery-page > .tm_footer:not(:has(.footer-main)) .footer-bottom p {
    margin: 0;
    color: #64748b;
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

html[data-theme="dark"] body.password-recovery-page > .tm_footer:not(:has(.footer-main)) {
    border-color: #334155;
}

html[data-theme="dark"] body.password-recovery-page > .tm_footer .footer-bottom p {
    color: #94a3b8;
}

/* La version de escritorio tambien se abre dentro de un popup. */
body.password-recovery-popup {
    box-sizing: border-box;
    padding: 24px !important;
    color: #1e293b;
    background: #f8fafc;
    font-family: Arial, sans-serif;
}

body.password-recovery-popup > div,
body.password-recovery-popup #clave {
    box-sizing: border-box;
    width: min(100%, 480px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.password-recovery-popup > .f16blb {
    color: #334155 !important;
    font-size: 20px;
}

body.password-recovery-popup #clave table {
    width: 100% !important;
}

body.password-recovery-popup #clave > table {
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
}

body.password-recovery-popup #clave input[name="email"] {
    box-sizing: border-box;
    width: 100% !important;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

body.password-recovery-popup #submit,
body.password-recovery-popup #btnCerrar {
    min-height: 44px;
    padding: 10px 16px;
    border: 0;
    border-radius: 8px;
    background: #334155;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 600px) {
    body.password-recovery-page .marken-utility-shell {
        padding: 20px 0 24px;
    }

    body.password-recovery-page .marken-utility-hero h1 {
        font-size: 26px;
    }

    body.password-recovery-popup {
        padding: 16px !important;
    }

    body.password-recovery-popup #clave table,
    body.password-recovery-popup #clave tbody,
    body.password-recovery-popup #clave tr,
    body.password-recovery-popup #clave td {
        display: block;
        box-sizing: border-box;
        width: 100% !important;
        height: auto;
    }
}
