/* =========================================================
   VALROCA · PORTAL DE CLIENTES
   Sistema visual compartido para autenticación
   ========================================================= */

   :root {
    --valroca-blue: #1E55A3;
    --valroca-blue-dark: #102E63;
    --valroca-blue-deep: #07172F;
    --valroca-green: #31A836;
    --valroca-green-hover: #38B83E;

    --valroca-white: #FFFFFF;
    --valroca-background: #F4F8FB;
    --valroca-text: #162033;
    --valroca-muted: #667085;

    --valroca-border: #D7E0EA;
    --valroca-border-focus: rgba(30, 85, 163, 0.28);
    --valroca-danger: #C9362B;

    --valroca-shadow:
        0 24px 65px rgba(7, 23, 47, 0.13);

    --valroca-radius-lg: 28px;
    --valroca-radius-md: 16px;
    --valroca-radius-sm: 12px;
}

/* =========================================================
   RESET GENERAL
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    color: var(--valroca-text);
    background:
        radial-gradient(
            circle at 12% 15%,
            rgba(30, 85, 163, 0.08),
            transparent 32%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(49, 168, 54, 0.07),
            transparent 28%
        ),
        var(--valroca-background);

    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

a {
    color: var(--valroca-blue);
    text-decoration: none;
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}

a:hover {
    color: var(--valroca-blue-dark);
    text-decoration: none;
}

/* =========================================================
   PANTALLA PRINCIPAL
   ========================================================= */

.auth-page {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 32px 20px;
    overflow: hidden;
}

.auth-page::before {
    content: "";
    position: fixed;
    top: -180px;
    right: -180px;
    width: 420px;
    height: 420px;
    border: 75px solid rgba(30, 85, 163, 0.035);
    border-radius: 50%;
    pointer-events: none;
}

.auth-page::after {
    content: "";
    position: fixed;
    bottom: -230px;
    left: -160px;
    width: 470px;
    height: 470px;
    border: 90px solid rgba(49, 168, 54, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.auth-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.auth-card {
    overflow: hidden;
    background: var(--valroca-white);
    border: 1px solid rgba(30, 85, 163, 0.08);
    border-radius: var(--valroca-radius-lg);
    box-shadow: var(--valroca-shadow);
}

.auth-card-row {
    display: flex;
    min-height: 680px;
}

/* =========================================================
   PANEL VISUAL
   ========================================================= */

.auth-visual {
    position: relative;
    display: flex;
    flex: 0 0 46%;
    min-width: 0;
    overflow: hidden;
    background: var(--valroca-blue-deep);
}

.auth-visual-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.auth-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(7, 23, 47, 0.23) 0%,
            rgba(7, 23, 47, 0.82) 100%
        );
}

.auth-visual-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    padding: 52px;
    color: var(--valroca-white);
}

.auth-portal-badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 8px;
    margin-bottom: 22px;
    padding: 9px 15px;
    color: var(--valroca-white);
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    backdrop-filter: blur(8px);
}

.auth-portal-badge i {
    font-size: 17px;
}

.auth-visual-title {
    max-width: 480px;
    margin: 0 0 16px;
    color: var(--valroca-white);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(32px, 4vw, 49px);
    font-weight: 600;
    line-height: 1.08;
}

.auth-visual-description {
    max-width: 450px;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.65;
}

.auth-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 30px;
}

.auth-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    font-size: 13px;
}

.auth-benefit i {
    color: #68D86D;
    font-size: 16px;
}

/* =========================================================
   PANEL DEL FORMULARIO
   ========================================================= */

.auth-form-panel {
    display: flex;
    flex: 1;
    align-items: center;
    min-width: 0;
    padding: 58px 68px;
}

.auth-form-content {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 46px;
}

.auth-logo {
    display: block;
    width: auto;
    max-width: 190px;
    height: auto;
    max-height: 62px;
    object-fit: contain;
}

.auth-security-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--valroca-muted);
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

.auth-security-label i {
    color: var(--valroca-green);
    font-size: 16px;
}

.auth-eyebrow {
    margin: 0 0 9px;
    color: var(--valroca-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.auth-title {
    margin: 0 0 12px;
    color: var(--valroca-text);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: clamp(30px, 4vw, 40px);
    font-weight: 600;
    line-height: 1.15;
}

.auth-description {
    margin: 0 0 34px;
    color: var(--valroca-muted);
    font-size: 16px;
    line-height: 1.65;
}

/* =========================================================
   CAMPOS
   ========================================================= */

.auth-form-group {
    margin-bottom: 22px;
}

.auth-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
    color: var(--valroca-text);
    font-size: 14px;
    font-weight: 600;
}

.auth-label-help {
    color: var(--valroca-muted);
    font-size: 12px;
    font-weight: 400;
}

.auth-input-wrapper {
    position: relative;
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 1;
    color: #8190A5;
    font-size: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-input {
    width: 100%;
    height: 56px;
    padding: 13px 48px 13px 49px;
    color: var(--valroca-text);
    background: var(--valroca-white);
    border: 1px solid var(--valroca-border);
    border-radius: var(--valroca-radius-sm);
    outline: none;
    font-family: "Inter", Arial, sans-serif;
    font-size: 15px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.auth-input::placeholder {
    color: #98A2B3;
}

.auth-input:hover {
    border-color: #AAB7C7;
}

.auth-input:focus {
    border-color: var(--valroca-blue);
    box-shadow: 0 0 0 4px var(--valroca-border-focus);
}

.auth-input:disabled {
    cursor: not-allowed;
    background: #F3F5F7;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    color: #7B8798;
    background: transparent;
    border: 0;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.auth-password-toggle:hover {
    color: var(--valroca-blue);
    background: rgba(30, 85, 163, 0.07);
}

.auth-password-toggle:focus {
    outline: 2px solid rgba(30, 85, 163, 0.2);
}

/* =========================================================
   BOTONES
   ========================================================= */

.auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    padding: 13px 25px;
    color: var(--valroca-white);
    background: var(--valroca-green);
    border: 1px solid var(--valroca-green);
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(49, 168, 54, 0.2);
    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.auth-button:hover {
    color: var(--valroca-white);
    background: var(--valroca-green-hover);
    border-color: var(--valroca-green-hover);
    box-shadow: 0 15px 30px rgba(49, 168, 54, 0.25);
    transform: translateY(-1px);
}

.auth-button:focus {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(49, 168, 54, 0.18),
        0 12px 24px rgba(49, 168, 54, 0.2);
}

.auth-button:active {
    transform: translateY(0);
}

.auth-button i {
    font-size: 19px;
}

/* =========================================================
   ENLACES Y ACCIONES
   ========================================================= */

.auth-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: -4px 0 26px;
}

.auth-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--valroca-blue);
    font-size: 14px;
    font-weight: 600;
}

.auth-link:hover {
    color: var(--valroca-blue-dark);
}

.auth-help-box {
    margin-top: 30px;
    padding: 20px;
    background: var(--valroca-background);
    border: 1px solid rgba(30, 85, 163, 0.08);
    border-radius: var(--valroca-radius-md);
}

.auth-help-row {
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.auth-help-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--valroca-blue);
    background: rgba(30, 85, 163, 0.1);
    border-radius: 50%;
    font-size: 19px;
}

.auth-help-title {
    margin: 0 0 3px;
    color: var(--valroca-text);
    font-size: 14px;
    font-weight: 600;
}

.auth-help-text {
    margin: 0;
    color: var(--valroca-muted);
    font-size: 13px;
    line-height: 1.55;
}

.auth-register {
    margin: 25px 0 0;
    color: var(--valroca-muted);
    font-size: 14px;
    text-align: center;
}

.auth-register a {
    font-weight: 700;
}

/* =========================================================
   MENSAJES DEL SISTEMA
   ========================================================= */

.auth-messages {
    margin-top: 22px;
}

.auth-messages .alert {
    margin-bottom: 12px;
    border: 0;
    border-radius: 12px;
    font-size: 14px;
}

/* =========================================================
   PIE DE PÁGINA
   ========================================================= */

.auth-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 18px;
    margin-top: 34px;
    color: var(--valroca-muted);
    font-size: 12px;
    text-align: center;
}

.auth-footer a {
    color: var(--valroca-muted);
}

.auth-footer a:hover {
    color: var(--valroca-blue);
}

.auth-footer-divider {
    width: 4px;
    height: 4px;
    background: #BCC5D0;
    border-radius: 50%;
}

/* =========================================================
   LOADER ACTUAL
   ========================================================= */

#divLoading {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(7, 23, 47, 0.78);
    backdrop-filter: blur(4px);
}

#divLoading > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    background: var(--valroca-white);
    border-radius: 22px;
    box-shadow: var(--valroca-shadow);
}

#divLoading img {
    width: 44px;
    height: 44px;
}

/* Compatibilidad por si el JS actual usa clases adicionales */

#divLoading.show,
#divLoading.active,
#divLoading.visible {
    display: flex;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {
    .auth-page {
        padding: 24px;
    }

    .auth-card-row {
        min-height: auto;
    }

    .auth-visual {
        flex-basis: 41%;
    }

    .auth-visual-content {
        padding: 36px;
    }

    .auth-form-panel {
        padding: 48px 42px;
    }

    .auth-brand {
        margin-bottom: 38px;
    }

    .auth-benefits {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .auth-page {
        align-items: flex-start;
        padding: 16px;
    }

    .auth-card {
        border-radius: 22px;
    }

    .auth-card-row {
        display: block;
    }

    .auth-visual {
        min-height: 240px;
    }

    .auth-visual-content {
        justify-content: flex-end;
        padding: 28px;
    }

    .auth-visual-title {
        max-width: 430px;
        margin-bottom: 8px;
        font-size: 29px;
    }

    .auth-visual-description {
        display: none;
    }

    .auth-portal-badge {
        margin-bottom: 12px;
    }

    .auth-form-panel {
        padding: 38px 28px;
    }

    .auth-brand {
        margin-bottom: 32px;
    }

    .auth-logo {
        max-width: 165px;
    }

    .auth-security-label {
        display: none;
    }
}

@media (max-width: 479.98px) {
    .auth-page {
        padding: 0;
        background: var(--valroca-white);
    }

    .auth-page::before,
    .auth-page::after {
        display: none;
    }

    .auth-card {
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-visual {
        min-height: 210px;
    }

    .auth-visual-content {
        padding: 23px;
    }

    .auth-portal-badge {
        padding: 7px 12px;
        font-size: 11px;
    }

    .auth-visual-title {
        font-size: 25px;
    }

    .auth-form-panel {
        padding: 32px 22px 38px;
    }

    .auth-title {
        font-size: 29px;
    }

    .auth-description {
        margin-bottom: 28px;
        font-size: 14px;
    }

    .auth-input {
        height: 54px;
    }

    .auth-footer-divider {
        display: none;
    }

    .auth-footer {
        flex-direction: column;
        gap: 7px;
    }
}

/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* =========================================================
   REGISTRO DE CLIENTES
   ========================================================= */

   .auth-card--signup .auth-card-row {
    min-height: 790px;
}

.auth-card--signup .auth-form-panel {
    padding-top: 44px;
    padding-bottom: 44px;
}

.auth-card--signup .auth-brand {
    margin-bottom: 30px;
}

.auth-card--signup .auth-description {
    margin-bottom: 26px;
}

/* =========================================================
   INDICADOR DE CONTRASEÑA
   ========================================================= */

.password-requirements {
    margin-top: 11px;
    padding: 13px 15px;
    background: var(--valroca-background);
    border: 1px solid rgba(30, 85, 163, 0.08);
    border-radius: 12px;
}

.password-requirements-title {
    margin: 0 0 9px;
    color: var(--valroca-muted);
    font-size: 12px;
    font-weight: 600;
}

.password-requirements-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.password-requirement {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--valroca-muted);
    font-size: 12px;
    transition: color 0.2s ease;
}

.password-requirement i {
    color: #AEB7C4;
    font-size: 15px;
    transition: color 0.2s ease;
}

.password-requirement.is-valid {
    color: var(--valroca-green);
}

.password-requirement.is-valid i {
    color: var(--valroca-green);
}

/* =========================================================
   COINCIDENCIA DE CONTRASEÑAS
   ========================================================= */

.password-match-message {
    display: none;
    align-items: center;
    gap: 6px;
    margin: 8px 0 0;
    font-size: 12px;
}

.password-match-message.is-visible {
    display: flex;
}

.password-match-message.is-valid {
    color: var(--valroca-green);
}

.password-match-message.is-invalid {
    color: var(--valroca-danger);
}

.password-match-message i {
    font-size: 16px;
}

.auth-input.is-valid-visual {
    border-color: var(--valroca-green);
}

.auth-input.is-invalid-visual {
    border-color: var(--valroca-danger);
}

.auth-input.is-valid-visual:focus {
    box-shadow: 0 0 0 4px rgba(49, 168, 54, 0.14);
}

.auth-input.is-invalid-visual:focus {
    box-shadow: 0 0 0 4px rgba(201, 54, 43, 0.12);
}

/* =========================================================
   ACEPTACIÓN DE TÉRMINOS
   ========================================================= */

.auth-terms {
    position: relative;
    margin: 4px 0 25px;
    padding: 16px;
    background: var(--valroca-background);
    border: 1px solid rgba(30, 85, 163, 0.09);
    border-radius: 14px;
}

.auth-checkbox-wrapper {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    cursor: pointer;
}

.auth-checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.auth-checkbox-control {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 21px;
    height: 21px;
    margin-top: 1px;
    background: var(--valroca-white);
    border: 1.5px solid #AAB5C3;
    border-radius: 6px;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.auth-checkbox-control::after {
    content: "";
    width: 10px;
    height: 6px;
    margin-top: -2px;
    border-bottom: 2px solid var(--valroca-white);
    border-left: 2px solid var(--valroca-white);
    opacity: 0;
    transform: rotate(-45deg) scale(0.7);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.auth-checkbox:checked + .auth-checkbox-control {
    background: var(--valroca-blue);
    border-color: var(--valroca-blue);
}

.auth-checkbox:checked + .auth-checkbox-control::after {
    opacity: 1;
    transform: rotate(-45deg) scale(1);
}

.auth-checkbox:focus + .auth-checkbox-control {
    box-shadow: 0 0 0 4px rgba(30, 85, 163, 0.14);
}

.auth-checkbox-text {
    color: var(--valroca-muted);
    font-size: 13px;
    line-height: 1.55;
}

.auth-checkbox-text a {
    font-weight: 600;
}

/* =========================================================
   AVISO DE CUENTA Y REENVÍO
   ========================================================= */

.auth-account-actions {
    margin-top: 25px;
    padding-top: 23px;
    border-top: 1px solid #E9EEF4;
}

.auth-account-actions .auth-help-box {
    margin-top: 0;
}

.auth-account-login {
    margin: 22px 0 0;
    color: var(--valroca-muted);
    font-size: 14px;
    text-align: center;
}

.auth-account-login a {
    font-weight: 700;
}

/* =========================================================
   RESPONSIVE REGISTRO
   ========================================================= */

@media (max-width: 991.98px) {
    .auth-card--signup .auth-card-row {
        min-height: 740px;
    }

    .auth-card--signup .auth-form-panel {
        padding: 38px 36px;
    }

    .password-requirements-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .auth-card--signup .auth-card-row {
        min-height: auto;
    }

    .auth-card--signup .auth-form-panel {
        padding: 36px 28px;
    }

    .auth-card--signup .auth-brand {
        margin-bottom: 28px;
    }
}

@media (max-width: 479.98px) {
    .auth-card--signup .auth-form-panel {
        padding: 30px 22px 38px;
    }

    .password-requirements-list {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .auth-terms {
        padding: 14px;
    }
}

/* =========================================================
   RECUPERACIÓN DE CONTRASEÑA
   ========================================================= */

   .auth-card--recovery .auth-card-row {
    min-height: 700px;
}

.auth-card--recovery .auth-description {
    margin-bottom: 30px;
}

/* =========================================================
   CAPTCHA MATEMÁTICO AJUSTADO
   ========================================================= */

   .auth-captcha {
    margin: 8px 0 0;
    padding: 20px;
    background: var(--valroca-background);
    border: 1px solid rgba(30, 85, 163, 0.1);
    border-radius: var(--valroca-radius-md);
}

.auth-captcha-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.auth-captcha-icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    color: var(--valroca-blue);
    background: rgba(30, 85, 163, 0.1);
    border-radius: 50%;
    font-size: 20px;
}

.auth-captcha-title {
    margin: 0 0 4px;
    color: var(--valroca-text);
    font-size: 14px;
    font-weight: 600;
}

.auth-captcha-description {
    margin: 0;
    color: var(--valroca-muted);
    font-size: 12px;
    line-height: 1.5;
}

.auth-captcha-operation {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-captcha-equation {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    min-height: 54px;
    padding: 10px 16px;
    color: var(--valroca-blue-dark);
    background: var(--valroca-white);
    border: 1px solid var(--valroca-border);
    border-radius: 12px;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.auth-captcha-sign,
.auth-captcha-equals {
    color: var(--valroca-muted);
    font-size: 18px;
    font-weight: 600;
}

.auth-captcha-answer {
    flex: 1;
    min-width: 0;
}

.auth-captcha-answer .auth-input {
    padding: 13px 16px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

/* Separación respecto al botón */

.auth-submit-wrapper {
    margin-top: 24px;
    margin-bottom: 18px;
}

/* Separación debajo del botón */

.auth-recovery-info {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    padding: 15px 16px;
    color: var(--valroca-muted);
    background: rgba(30, 85, 163, 0.045);
    border-left: 3px solid var(--valroca-blue);
    border-radius: 0 11px 11px 0;
    font-size: 12px;
    line-height: 1.55;
}

.auth-recovery-info i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--valroca-blue);
    font-size: 18px;
}

.auth-captcha-answer input[type="number"]::-webkit-inner-spin-button,
.auth-captcha-answer input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.auth-captcha-answer input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

@media (max-width: 479.98px) {
    .auth-captcha {
        padding: 16px;
    }

    .auth-captcha-operation {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .auth-captcha-equation {
        justify-content: center;
        width: 100%;
    }

    .auth-captcha-answer {
        width: 100%;
    }

    .auth-submit-wrapper {
        margin-top: 22px;
        margin-bottom: 18px;
    }
}

/* =========================================================
   REGRESAR AL LOGIN
   ========================================================= */

.auth-back-login {
    margin: 25px 0 0;
    color: var(--valroca-muted);
    font-size: 14px;
    text-align: center;
}

.auth-back-login a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 767.98px) {
    .auth-card--recovery .auth-card-row {
        min-height: auto;
    }
}

@media (max-width: 479.98px) {
    .auth-captcha {
        padding: 15px;
    }

    .auth-captcha-operation {
        gap: 8px;
    }

    .auth-captcha-numbers {
        gap: 7px;
        min-height: 52px;
        padding: 9px 12px;
        font-size: 18px;
    }

    .auth-captcha-equals {
        font-size: 18px;
    }

    .auth-captcha-answer .auth-input {
        min-width: 72px;
        padding: 10px;
    }
}