/* ============================================================
   IslaMarket — Auth CSS
   Login, Registro, Acceso, Forgot, Reset, 2FA
   Sistema: coral #FF5733 / night #12131A / sand #FFF8F0
   ============================================================ */

/* ── Variables locales ── */
:root {
    --auth-coral:       #FF5733;
    --auth-coral-dark:  #E04020;
    --auth-night:       #12131A;
    --auth-sand:        #FFF8F0;
    --auth-bg:          #F5F5F7;
    --auth-card:        #ffffff;
    --auth-line:        #E8E8EC;
    --auth-muted:       #6E6E80;
    --auth-text:        #12131A;
    --auth-radius:      20px;
}

/* ============================================================
   BODY / PAGE BACKGROUND
   ============================================================ */
.auth-page-bg {
    min-height: calc(100vh - 80px);
    background: var(--auth-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px 60px;
}

/* ============================================================
   AUTH SHELL — reemplaza el layout 50/50 por tarjeta centrada
   ============================================================ */
.auth-shell {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: calc(100vh - 140px);
    padding: 40px 16px 60px;
    background: var(--auth-bg);
}

/* Ocultar el hero lateral — ya no lo necesitamos */
.auth-hero {
    display: none !important;
}

/* La tarjeta ocupa toda la "shell" */
.auth-card {
    width: 100%;
    max-width: 460px;
}

/* ============================================================
   TARJETA FORMULARIO
   ============================================================ */
.auth-form-card {
    background: var(--auth-card);
    border: 1.5px solid var(--auth-line);
    border-radius: var(--auth-radius);
    padding: 36px 32px 32px;
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}

/* Reutiliza .card.form.auth-form del HTML existente */
.card.form.auth-form {
    background: var(--auth-card);
    border: 1.5px solid var(--auth-line) !important;
    border-radius: var(--auth-radius) !important;
    padding: 36px 32px 32px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.06) !important;
}

.card.form.auth-form h2 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    color: var(--auth-night);
    letter-spacing: -.4px;
}

/* ============================================================
   FORM GROUPS / INPUTS
   ============================================================ */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--auth-night);
    letter-spacing: -.1px;
}

.form-group .input,
.auth-form .input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1.5px solid var(--auth-line);
    border-radius: 12px;
    background: #fff;
    color: var(--auth-night);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
    box-sizing: border-box;
}

.form-group .input:focus,
.auth-form .input:focus {
    border-color: var(--auth-coral);
    box-shadow: 0 0 0 3px rgba(255,87,51,.10);
}

.form-group .input::placeholder,
.auth-form .input::placeholder {
    color: #AEAEB8;
    font-weight: 400;
}

/* ============================================================
   BOTONES
   ============================================================ */

/* Primario — coral */
.btn.btn-primary,
.btn-primary,
button.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 0;
    background: var(--auth-coral);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, box-shadow .2s, transform .15s;
    box-shadow: 0 4px 14px rgba(255,87,51,.28);
}

.btn.btn-primary:hover,
.btn-primary:hover {
    background: var(--auth-coral-dark);
    box-shadow: 0 6px 20px rgba(255,87,51,.36);
    transform: translateY(-1px);
}

/* Outline */
.btn.btn-outline,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1.5px solid var(--auth-line);
    background: #fff;
    color: var(--auth-night);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .18s, color .18s;
}

.btn.btn-outline:hover,
.btn-outline:hover {
    border-color: var(--auth-coral);
    color: var(--auth-coral);
}

/* Ghost — texto solo */
.btn.btn-ghost,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--auth-muted);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: color .18s;
}

.btn.btn-ghost:hover,
.btn-ghost:hover {
    color: var(--auth-night);
}

/* Acciones del formulario */
.auth-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.auth-actions .btn {
    flex: 1 1 auto;
}

/* ============================================================
   ACCESO HUB (/acceso)
   ============================================================ */
.auth-shell--access {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
    background: var(--auth-bg);
}

.auth-access-card {
    width: 100%;
    max-width: 440px;
    background: var(--auth-card);
    border: 1.5px solid var(--auth-line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,.08);
}

/* Tiles decorativos — mantenemos los colores originales, son bonitos */
.auth-access-media {
    padding: 16px 16px 0;
}

.auth-access-media__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.auth-access-tile {
    border-radius: 18px;
    min-height: 88px;
}

.auth-access-tile--1 { background: linear-gradient(135deg, #FF8A65, #FF5733); }
.auth-access-tile--2 { background: linear-gradient(135deg, #FFB830, #FF8C00); }
.auth-access-tile--3 { background: linear-gradient(135deg, #12131A, #2D2E3A); }
.auth-access-tile--4 { background: linear-gradient(135deg, #FFF8F0, #FFE0D0); }

.auth-access-body {
    padding: 22px 24px 26px;
}

.auth-access-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--auth-coral);
}

.auth-access-body h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
    color: var(--auth-night);
    letter-spacing: -.4px;
}

.auth-access-subtitle {
    margin: 8px 0 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.55;
}

.auth-access-note {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,87,51,.2);
    background: rgba(255,87,51,.05);
    color: var(--auth-coral-dark);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.auth-access-actions {
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.auth-access-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--auth-muted);
    font-size: 12px;
    font-weight: 700;
}

.auth-access-divider::before,
.auth-access-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--auth-line);
}

.auth-access-google-wrap {
    display: flex;
    justify-content: center;
}

.auth-access-btn {
    width: 100%;
    min-height: 52px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: .18s ease;
    border: 1.5px solid var(--auth-line);
    background: #fff;
    color: var(--auth-night);
}

.auth-access-btn:hover {
    border-color: var(--auth-coral);
    color: var(--auth-coral);
    transform: translateY(-1px);
}

.auth-access-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.auth-access-links {
    margin-top: 18px;
    text-align: center;
    display: grid;
    gap: 6px;
}

.auth-access-links p {
    margin: 0;
    color: var(--auth-muted);
    font-size: 14px;
}

.auth-access-links a {
    color: var(--auth-coral);
    font-weight: 800;
    text-decoration: none;
}

.auth-access-links a:hover {
    text-decoration: underline;
}

/* ============================================================
   2FA (im-auth)
   ============================================================ */
.im-auth {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: var(--auth-bg);
}

.im-auth__card {
    width: 100%;
    max-width: 440px;
    background: var(--auth-card);
    border: 1.5px solid var(--auth-line);
    border-radius: var(--auth-radius);
    padding: 32px 28px;
    box-shadow: 0 8px 32px rgba(0,0,0,.06);
}

.im-auth__head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 24px;
}

.im-auth__icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.im-auth__title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 800;
    color: var(--auth-night);
    letter-spacing: -.3px;
}

.im-auth__sub {
    margin: 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.5;
}

.im-auth__label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--auth-night);
}

.im-auth__row {
    display: flex;
    gap: 10px;
}

.im-auth__input {
    flex: 1;
    min-height: 48px;
    padding: 0 14px;
    border: 1.5px solid var(--auth-line);
    border-radius: 12px;
    background: #fff;
    color: var(--auth-night);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .1em;
    outline: none;
    transition: border-color .18s, box-shadow .18s;
}

.im-auth__input:focus {
    border-color: var(--auth-coral);
    box-shadow: 0 0 0 3px rgba(255,87,51,.10);
}

.im-auth__hint {
    margin-top: 10px;
    font-size: 13px;
    color: var(--auth-muted);
    line-height: 1.5;
}

.im-auth__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.im-auth__back {
    font-size: 14px;
    font-weight: 700;
    color: var(--auth-muted);
    text-decoration: none;
}

.im-auth__back:hover {
    color: var(--auth-night);
}

.im2fa__alert {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.im2fa__alert--ok {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
}

.im2fa__alert--err {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* ============================================================
   BOTONES IM (2FA)
   ============================================================ */
.im-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 0;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, transform .15s;
}

.im-btn--primary {
    background: var(--auth-coral);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255,87,51,.28);
}

.im-btn--primary:hover {
    background: var(--auth-coral-dark);
    transform: translateY(-1px);
}

.im-btn--ghost {
    background: transparent;
    border: 1.5px solid var(--auth-line);
    color: var(--auth-night);
}

.im-btn--ghost:hover {
    border-color: var(--auth-coral);
    color: var(--auth-coral);
}

/* ============================================================
   ALERTS
   ============================================================ */
.im-alert {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.5;
}

.im-alert-ok {
    background: #ecfdf5;
    border: 1px solid #86efac;
    color: #166534;
}

.im-alert-err {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* ============================================================
   PASSWORD FIELD
   ============================================================ */
.im-password-field {
    position: relative;
}

.im-password-field .input {
    padding-right: 48px;
}

.im-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 0;
    cursor: pointer;
    color: var(--auth-muted);
    border-radius: 8px;
    transition: color .18s;
}

.im-password-toggle:hover {
    color: var(--auth-night);
}

.im-password-icon { display: flex; }
.im-password-icon svg { width: 18px; height: 18px; }
.im-password-icon--hide { display: none; }
.im-password-toggle.is-visible .im-password-icon--show { display: none; }
.im-password-toggle.is-visible .im-password-icon--hide { display: flex; }

.im-password-help {
    margin-top: 6px;
    font-size: 12px;
    color: var(--auth-muted);
    line-height: 1.45;
}

.im-password-strength {
    margin-top: 8px;
    height: 4px;
    background: var(--auth-line);
    border-radius: 999px;
    overflow: hidden;
}

.im-password-strength__bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    transition: width .3s ease, background .3s ease;
}

.im-password-strength__bar.is-weak   { width: 33%; background: #ef4444; }
.im-password-strength__bar.is-medium { width: 66%; background: #f59e0b; }
.im-password-strength__bar.is-strong { width: 100%; background: #22c55e; }

.im-password-strength__text {
    margin-top: 6px;
    font-size: 12px;
    color: var(--auth-muted);
}

.im-password-checklist {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.im-password-checklist li {
    font-size: 12px;
    color: var(--auth-muted);
    padding-left: 18px;
    position: relative;
}

.im-password-checklist li::before {
    content: "·";
    position: absolute;
    left: 4px;
    color: var(--auth-muted);
}

.im-password-checklist li.is-valid {
    color: #16a34a;
}

.im-password-checklist li.is-valid::before {
    content: "✓";
    color: #16a34a;
}

.im-password-checklist li.is-invalid {
    color: #ef4444;
}

.im-password-match {
    margin-top: 6px;
    font-size: 12px;
    color: var(--auth-muted);
}

.im-password-match.is-ok    { color: #16a34a; }
.im-password-match.is-error { color: #ef4444; }

/* ============================================================
   CONSENT / REMEMBER / EXTRAS
   ============================================================ */
.auth-consent-row {
    margin: 12px 0 16px;
}

.auth-consent {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    column-gap: 10px;
    cursor: pointer;
    color: var(--auth-muted);
}

.auth-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--auth-coral);
    cursor: pointer;
}

.auth-consent-text {
    display: block;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
}

.auth-consent a {
    color: var(--auth-coral);
    text-decoration: none;
    font-weight: 700;
}

.auth-consent a:hover {
    text-decoration: underline;
}

.auth-turnstile-wrap {
    margin: 14px 0 16px;
    display: flex;
    justify-content: center;
}

.im-remember2fa {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0;
    font-size: 13px;
    color: var(--auth-muted);
    cursor: pointer;
}

.im-remember2fa input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--auth-coral);
    flex-shrink: 0;
}

.auth-extra {
    margin-top: 14px;
    text-align: center;
}

.auth-extra a {
    font-size: 14px;
    font-weight: 700;
    color: var(--auth-coral);
    text-decoration: none;
}

.auth-extra a:hover {
    text-decoration: underline;
}

.auth-resend-verify {
    margin-top: 14px;
    border-top: 1px solid var(--auth-line);
    padding-top: 14px;
}

.auth-resend-verify summary {
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: var(--auth-muted);
    list-style: none;
}

.auth-resend-verify summary:hover {
    color: var(--auth-night);
}

.auth-resend-verify__form {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ============================================================
   "Volver a opciones" link
   ============================================================ */
.auth-access-entry {
    margin-bottom: 16px;
}

.auth-access-entry .btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 520px) {
    .auth-shell {
        padding: 24px 12px 40px;
        align-items: flex-start;
    }

    .card.form.auth-form {
        padding: 24px 18px 22px !important;
        border-radius: 18px !important;
    }

    .card.form.auth-form h2 {
        font-size: 22px;
    }

    .auth-shell--access {
        padding: 28px 12px;
        align-items: flex-start;
    }

    .auth-access-card {
        max-width: 100%;
        border-radius: 22px;
    }

    .auth-access-body {
        padding: 18px 18px 22px;
    }

    .auth-access-body h1 {
        font-size: 22px;
    }

    .auth-actions {
        flex-direction: column;
    }

    .auth-actions .btn {
        width: 100%;
    }

    .im-auth__row {
        flex-direction: column;
    }

    .im-auth__card {
        padding: 24px 18px;
    }
}

/* ============================================================
   FIXES — overrides globales que rompen el layout de auth
   ============================================================ */

/* Fix texto vertical en checkbox remember2fa */
.im-remember2fa,
.im-remember2fa span,
.im-remember2fa input {
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: normal !important;
    white-space: normal !important;
    letter-spacing: normal !important;
}

/* Fix layout auth-shell — asegura columna centrada */
.auth-shell {
    background: var(--auth-bg, #F5F5F7) !important;
}

/* Fix card dentro de auth — override del .card global */
.auth-shell .card.form.auth-form {
    background: #fff !important;
    border: 1.5px solid #E8E8EC !important;
    border-radius: 20px !important;
    padding: 32px 28px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.06) !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Asegurar que el form-group label no hereda writing-mode */
.auth-shell label,
.auth-shell .form-group label {
    writing-mode: horizontal-tb !important;
    display: block !important;
}

/* ============================================================
   OVERRIDE CRÍTICO — fondo y botones en páginas de auth
   ============================================================ */

/* Fondo limpio — elimina el gris azulado del body global */
body.is-auth {
    background: #F5F5F7 !important;
}

body.is-auth .container {
    background: transparent !important;
    max-width: 100% !important;
    padding: 0 !important;
}

/* Override del .btn global (azul→coral) en contexto auth */
body.is-auth .btn,
body.is-auth .btn-primary,
body.is-auth button.btn-primary,
body.is-auth button[type="submit"].btn {
    background: #FF5733 !important;
    background-image: none !important;
    color: #fff !important;
    border: 0 !important;
    box-shadow: 0 4px 14px rgba(255,87,51,.28) !important;
    min-height: 48px !important;
    padding: 0 24px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.is-auth .btn:hover,
body.is-auth .btn-primary:hover {
    background: #E04020 !important;
    transform: translateY(-1px);
}

/* Outline en contexto auth */
body.is-auth .btn-outline,
body.is-auth a.btn-outline,
body.is-auth button.btn-outline {
    background: #fff !important;
    background-image: none !important;
    border: 1.5px solid #E8E8EC !important;
    color: #12131A !important;
    box-shadow: none !important;
}

body.is-auth .btn-outline:hover {
    border-color: #FF5733 !important;
    color: #FF5733 !important;
    transform: translateY(-1px);
}

/* Ghost */
body.is-auth .btn-ghost,
body.is-auth a.btn-ghost {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    color: #6E6E80 !important;
    box-shadow: none !important;
}

body.is-auth .btn-ghost:hover {
    color: #12131A !important;
}

/* Eliminar el degradado de fondo del container en auth */
body.is-auth main.container {
    background: transparent !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/* =========================================================
   Login attempts — fix contador visible
   ========================================================= */

.im-login-attempt-head span[data-login-countdown] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(153, 27, 27, .10);
    color: #991B1B;
    font-size: .82rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.im-login-attempt-blocked .im-login-attempt-head span[data-login-countdown] {
    background: rgba(153, 27, 27, .12);
    color: #7F1D1D;
}

.im-login-attempt-danger .im-login-attempt-head span:not([data-login-countdown]) {
    background: transparent;
    color: #DC2626;
}

.im-login-attempt-blocked .im-login-attempt-head span:not([data-login-countdown]) {
    background: transparent;
    color: #991B1B;
}

.im-login-attempt-danger .im-login-attempt-bar span {
    background: #DC2626;
}

.im-login-attempt-blocked .im-login-attempt-bar span {
    background: #991B1B;
}

@media (max-width: 640px) {
    .im-login-attempt-head span[data-login-countdown] {
        min-width: auto;
        width: fit-content;
        padding: 6px 9px;
        font-size: .8rem;
    }
}
.im-login-attempt {
    margin: 18px 0 18px;
    padding: 18px;
    border-radius: 18px;
}

.im-login-attempt-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .im-login-attempt-head strong {
        font-size: 1rem;
    }

    .im-login-attempt-head span[data-login-countdown] {
        min-width: auto;
        padding: 7px 10px;
        border-radius: 999px;
        background: rgba(220, 38, 38, .10);
        color: #B91C1C;
        font-size: .82rem;
        font-weight: 900;
    }

.im-login-attempt-blocked {
    border: 1px solid rgba(220, 38, 38, .18);
    background: linear-gradient(180deg, rgba(255, 247, 247, .96), rgba(255, 255, 255, .98));
}

    .im-login-attempt-blocked p {
        margin-top: 14px;
        color: #1F2937;
    }

    .im-login-attempt-blocked small {
        margin-top: 14px;
    }

.im-login-blocked-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

    .im-login-blocked-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

@media (max-width: 640px) {
    .im-login-attempt {
        padding: 16px;
        border-radius: 16px;
    }

    .im-login-attempt-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .im-login-blocked-actions {
        flex-direction: column;
    }

        .im-login-blocked-actions .btn {
            width: 100%;
        }
}
/* Login bloqueado: mantener formulario visible pero desactivado */
form.is-login-disabled {
    position: relative;
    opacity: .72;
}

    form.is-login-disabled .input,
    form.is-login-disabled input,
    form.is-login-disabled button[type="submit"] {
        cursor: not-allowed;
    }

        form.is-login-disabled .input:disabled,
        form.is-login-disabled input:disabled {
            background: rgba(245, 245, 247, .88);
            color: rgba(18, 19, 26, .55);
            border-color: rgba(18, 19, 26, .12);
        }

        form.is-login-disabled button[type="submit"]:disabled {
            opacity: .75;
            filter: grayscale(.15);
        }

.im-login-blocked-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

    .im-login-blocked-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

@media (max-width: 640px) {
    .im-login-blocked-actions {
        flex-direction: column;
    }

        .im-login-blocked-actions .btn {
            width: 100%;
        }
}

/* ISLAMARKET_AUTH_VERIFY_ALERT_CLEAN_V1_START */
.im-alert-verify {
  border-color: rgba(245, 158, 11, .35) !important;
  background: #fff7ed !important;
  color: #7c2d12 !important;
}

.im-alert-verify strong {
  color: #7c2d12 !important;
}
/* ISLAMARKET_AUTH_VERIFY_ALERT_CLEAN_V1_END */
