/* Pantallas de acceso (login y elegir base) en AlfaDesign v1.
   Se aplica a .auth-page--ad (Login.razor, SeleccionarBase.razor) por encima de auth.css, con los tokens
   --alfa-* (sigue al tema claro / oscuro). Estructura: tarjeta de dos columnas; a la izquierda la marca
   (tinte suave del acento, logo y tres renglones), a la derecha el formulario. Ver docs/modulos/modo-claro.md. */

html body .auth-page.auth-page--ad {
    --ad-auth-radio: 12px;
    --ad-auth-tinte: color-mix(in srgb, var(--alfa-accent) 7%, var(--alfa-bg-surface));
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 24px 16px;
    background: var(--alfa-bg-canvas) !important;
    color: var(--alfa-text-primary);
    font-family: 'Manrope', sans-serif;
}

html body .auth-page.auth-page--ad::before,
html body .auth-page.auth-page--ad::after,
html body .auth-page--ad .auth-shell::before,
html body .auth-page--ad .auth-shell::after,
html body .auth-page--ad .auth-hero::before,
html body .auth-page--ad .auth-hero::after,
html body .auth-page--ad .auth-form-panel::before,
html body .auth-page--ad .auth-form-panel::after,
html body .auth-page--ad .auth-form-panel__glow {
    display: none !important;
}

/* --- Tarjeta --- */
html body .auth-page--ad .auth-shell {
    width: min(100%, 980px);
    min-height: 0 !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) !important;
    overflow: hidden;
    border: 1px solid var(--alfa-border-default) !important;
    border-radius: var(--ad-auth-radio) !important;
    background: var(--alfa-bg-surface) !important;
    box-shadow: var(--alfa-shadow-flotante) !important;
}

/* --- Marca (izquierda) --- */
html body .auth-page--ad .auth-hero {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: stretch !important;
    justify-items: stretch !important;
    gap: 28px;
    padding: 48px 44px !important;
    border-right: 1px solid var(--alfa-border-default);
    background: var(--ad-auth-tinte) !important;
    color: var(--alfa-text-primary) !important;
    text-align: left !important;
}

html body .auth-page--ad .auth-hero__brand {
    display: block !important;
    min-height: 0 !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

html body .auth-page--ad .auth-hero__brand img,
html body .auth-page--ad .auth-hero__logo {
    width: auto !important;
    height: 56px !important;
    max-width: 240px;
    margin: 0 !important;
    filter: none !important;
    box-shadow: none !important;
}

html body .auth-page--ad .auth-hero__copy {
    width: 100%;
    max-width: none !important;
    justify-self: stretch !important;
    margin: 0 !important;
    text-align: left !important;
}

html body .auth-page--ad .auth-hero__title {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--alfa-text-primary) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 32px !important;
    letter-spacing: -.01em !important;
    text-decoration: none !important;
    text-align: left !important;
}

html body .auth-page--ad .auth-hero__text {
    margin: 8px 0 0 !important;
    color: var(--alfa-text-secondary) !important;
    font-size: 14px !important;
    line-height: 21px !important;
    text-align: left !important;
}

html body .auth-page--ad .auth-hero__features {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

html body .auth-page--ad .auth-hero__features li {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    color: var(--alfa-text-secondary);
    font-size: 13px;
    line-height: 19px;
}

html body .auth-page--ad .auth-hero__features strong {
    display: block;
    color: var(--alfa-text-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
}

html body .auth-page--ad .auth-hero__feature-icon {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--alfa-accent) 28%, var(--alfa-border-default));
    border-radius: var(--alfa-radius-md);
    background: var(--alfa-bg-surface);
    color: var(--alfa-accent);
    font-size: 17px;
    box-shadow: var(--alfa-shadow-borde);
}

html body .auth-page--ad .auth-hero__summary,
html body .auth-page--ad .auth-hero__note,
html body .auth-page--ad .auth-hero__points,
html body .auth-page--ad .auth-hero__system {
    display: none !important;
}

/* --- Formulario (derecha) --- */
html body .auth-page--ad .auth-form-panel {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 40px 36px !important;
    background: var(--alfa-bg-surface) !important;
}

html body .auth-page--ad .auth-form-panel__surface {
    width: 100% !important;
    max-width: 360px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

html body .auth-page--ad .auth-saas-login,
html body .auth-page--ad .auth-legacy-login__login {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

html body .auth-page--ad .auth-saas-login__header,
html body .auth-page--ad .auth-form-panel__header {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

html body .auth-page--ad .auth-saas-login__header-icon {
    display: none !important;
}

html body .auth-page--ad .auth-card__title {
    margin: 0 !important;
    color: var(--alfa-text-primary) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    letter-spacing: -.01em !important;
    text-align: left !important;
}

html body .auth-page--ad .auth-card__subtitle {
    margin: 6px 0 0 !important;
    color: var(--alfa-text-secondary) !important;
    font-size: 13px !important;
    line-height: 19px !important;
    text-align: left !important;
}

html body .auth-page--ad .auth-form {
    display: flex !important;
    flex-direction: column;
    gap: 14px !important;
    margin: 0 !important;
}

html body .auth-page--ad .auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 !important;
}

html body .auth-page--ad .auth-field > label {
    margin: 0 !important;
    color: var(--alfa-text-primary) !important;
    font-size: 13px !important;
    font-weight: var(--alfa-weight-label) !important;
}

html body .auth-page--ad .auth-input-shell {
    position: relative;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

html body .auth-page--ad .auth-input-shell .auth-input-shell__icon,
html body .auth-page--ad .auth-input-shell > span:first-child {
    position: absolute !important;
    top: 50% !important;
    left: 12px !important;
    width: 18px !important;
    height: 18px !important;
    display: grid !important;
    place-items: center;
    border: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--alfa-text-secondary) !important;
    font-size: 15px !important;
    transform: translateY(-50%) !important;
    pointer-events: none;
    z-index: 1;
}

html body .auth-page--ad .auth-input-shell input,
html body .auth-page--ad .central-login-input,
html body .auth-page--ad .auth-base-search__input {
    width: 100% !important;
    height: 40px !important;
    min-height: 0 !important;
    padding: 0 12px 0 38px !important;
    border: 1px solid var(--alfa-border-strong) !important;
    border-radius: var(--alfa-radius-md) !important;
    background: var(--alfa-bg-input) !important;
    box-shadow: none !important;
    color: var(--alfa-text-primary) !important;
    -webkit-text-fill-color: var(--alfa-text-primary) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}

html body .auth-page--ad .auth-input-shell--password input {
    padding-right: 44px !important;
}

html body .auth-page--ad .auth-input-shell input::placeholder,
html body .auth-page--ad .auth-base-search__input::placeholder {
    color: var(--alfa-text-disabled) !important;
    -webkit-text-fill-color: var(--alfa-text-disabled) !important;
    font-weight: 400;
}

html body .auth-page--ad .auth-input-shell input:focus,
html body .auth-page--ad .auth-base-search__input:focus {
    border-color: var(--alfa-accent) !important;
    outline: 3px solid color-mix(in srgb, var(--alfa-accent) 22%, transparent) !important;
    outline-offset: 0;
}

html body .auth-page--ad .auth-password__toggle {
    position: absolute !important;
    top: 50% !important;
    right: 6px !important;
    width: 30px !important;
    height: 30px !important;
    min-height: 0 !important;
    display: grid !important;
    place-items: center;
    padding: 0 !important;
    border: 0 !important;
    border-radius: var(--alfa-radius-sm) !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--alfa-text-secondary) !important;
    transform: translateY(-50%) !important;
}

html body .auth-page--ad .auth-password__toggle:hover {
    background: var(--alfa-state-hover) !important;
    color: var(--alfa-text-primary) !important;
}

html body .auth-page--ad .auth-card__submit {
    width: 100% !important;
    height: 40px !important;
    min-height: 0 !important;
    margin-top: 4px !important;
    padding: 0 16px !important;
    border: 1px solid var(--alfa-accent) !important;
    border-radius: var(--alfa-radius-md) !important;
    background: var(--alfa-accent) !important;
    box-shadow: var(--alfa-shadow-borde) !important;
    color: var(--alfa-on-accent) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    transform: none !important;
}

html body .auth-page--ad .auth-card__submit:hover:not(:disabled) {
    border-color: var(--alfa-accent-hover) !important;
    background: var(--alfa-accent-hover) !important;
}

html body .auth-page--ad .auth-card__error {
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid color-mix(in srgb, var(--alfa-danger) 45%, var(--alfa-border-default)) !important;
    border-radius: var(--alfa-radius-md) !important;
    background: color-mix(in srgb, var(--alfa-danger) 8%, var(--alfa-bg-surface)) !important;
    color: var(--alfa-text-primary) !important;
    font-size: 13px;
}

html body .auth-page--ad .auth-card__error strong {
    color: var(--alfa-danger) !important;
}

html body .auth-page--ad .auth-saas-login__footer {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

html body .auth-page--ad .auth-saas-login__forgot {
    white-space: nowrap;
}

html body .auth-page--ad .auth-saas-login__forgot,
html body .auth-page--ad .auth-saas-login__cancel {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--alfa-text-secondary) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

html body .auth-page--ad .auth-saas-login__cancel:hover:not(:disabled) {
    color: var(--alfa-text-primary) !important;
}

html body .auth-page--ad .auth-saas-login__signup {
    margin: 4px 0 0;
    padding-top: 16px;
    border-top: 1px solid var(--alfa-border-default);
    color: var(--alfa-text-secondary);
    font-size: 13px;
    text-align: center;
}

html body .auth-page--ad .auth-saas-login__signup a {
    color: var(--alfa-accent);
    font-weight: 700;
    text-decoration: none;
}

html body .auth-page--ad .auth-saas-login__signup a:hover {
    text-decoration: underline;
}

/* Logo arriba del formulario solo en celular (la columna de marca se oculta) */
html body .auth-page--ad .auth-mobile-brand {
    display: none !important;
}

/* --- Elegir base --- */
html body .auth-page--ad .auth-form-panel__surface--selection {
    max-width: 400px;
    display: flex !important;
    flex-direction: column;
    gap: 16px;
}

html body .auth-page--ad .auth-base-search {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
}

html body .auth-page--ad .auth-base-search::before {
    content: "\F52A";
    position: absolute;
    top: 50%;
    left: 13px;
    font-family: 'bootstrap-icons';
    color: var(--alfa-text-secondary);
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

html body .auth-page--ad .auth-base-grid {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    max-height: min(52vh, 420px);
    overflow-y: auto;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--alfa-border-default);
    border-radius: var(--alfa-radius-md);
    background: var(--alfa-bg-surface);
}

html body .auth-page--ad .auth-base-grid {
    scrollbar-color: var(--alfa-border-strong) transparent !important;
}

html body .auth-page--ad .auth-base-grid::-webkit-scrollbar-track {
    background: transparent !important;
}

html body .auth-page--ad .auth-base-grid::-webkit-scrollbar-thumb {
    border: 2px solid var(--alfa-bg-surface) !important;
    background: var(--alfa-border-strong) !important;
}

html body .auth-page--ad .auth-base-card {
    flex: 0 0 auto;
    height: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--alfa-border-subtle) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html body .auth-page--ad .auth-base-card:last-child {
    border-bottom: 0 !important;
}

html body .auth-page--ad .auth-base-card:hover,
html body .auth-page--ad .auth-base-card--selected {
    background: var(--alfa-bg-row-hover) !important;
}

html body .auth-page--ad .auth-base-card--active {
    background: color-mix(in srgb, var(--alfa-success) 8%, var(--alfa-bg-surface)) !important;
}

html body .auth-page--ad .auth-base-card__content {
    min-width: 0;
}

html body .auth-page--ad .auth-base-card__name {
    margin: 0 !important;
    overflow: hidden;
    color: var(--alfa-text-primary) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 19px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body .auth-page--ad .auth-base-card__meta {
    margin: 2px 0 0 !important;
    overflow: hidden;
    color: var(--alfa-text-secondary) !important;
    font-size: 12px !important;
    line-height: 16px !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body .auth-page--ad .auth-base-card__id {
    display: inline-block !important;
    width: auto !important;
    margin: 4px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--alfa-text-disabled) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
}

html body .auth-page--ad .auth-base-card__action {
    height: 32px !important;
    min-height: 0 !important;
    padding: 0 12px !important;
    border: 1px solid var(--alfa-border-default) !important;
    border-radius: var(--alfa-radius-sm) !important;
    background: var(--alfa-bg-surface-raised) !important;
    box-shadow: none !important;
    color: var(--alfa-text-primary) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    transform: none !important;
}

html body .auth-page--ad .auth-base-card__action:hover {
    border-color: var(--alfa-accent) !important;
    background: var(--alfa-accent) !important;
    color: var(--alfa-on-accent) !important;
}

html body .auth-page--ad .auth-base-card__action--active {
    border-color: color-mix(in srgb, var(--alfa-success) 45%, var(--alfa-border-default)) !important;
    background: transparent !important;
    color: var(--alfa-success) !important;
}

html body .auth-page--ad .auth-base-empty,
html body .auth-page--ad .auth-loading {
    padding: 16px;
    border: 1px dashed var(--alfa-border-default);
    border-radius: var(--alfa-radius-md);
    color: var(--alfa-text-secondary);
    font-size: 13px;
    text-align: center;
}

/* --- Botón de tema --- */
.auth-theme-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--alfa-border-default);
    border-radius: var(--alfa-radius-md);
    background: var(--alfa-bg-surface);
    box-shadow: var(--alfa-shadow-borde);
    color: var(--alfa-text-secondary);
    font-size: 16px;
    cursor: pointer;
}

.auth-theme-toggle:hover {
    color: var(--alfa-text-primary);
    border-color: var(--alfa-border-strong);
}

.auth-theme-toggle__luna,
html[data-theme="light"] .auth-theme-toggle__sol {
    display: none;
}

html[data-theme="light"] .auth-theme-toggle__luna {
    display: inline;
}

/* --- Celular --- */
@media (max-width: 860px) {
    html body .auth-page--ad .auth-shell {
        grid-template-columns: 1fr !important;
        width: min(100%, 440px);
    }

    html body .auth-page--ad .auth-hero {
        display: none !important;
    }

    html body .auth-page--ad .auth-mobile-brand {
        display: block !important;
        margin: 0 0 4px !important;
        padding: 0 !important;
        background: none !important;
        box-shadow: none !important;
    }

    html body .auth-page--ad .auth-mobile-brand img {
        width: auto !important;
        height: 44px !important;
        margin: 0 !important;
    }

    html body .auth-page--ad .auth-form-panel {
        padding: 28px 22px !important;
    }
}

/* auth.css centra los hijos (justify-items: center): en la marca todo va alineado a la izquierda. */
html body .auth-page--ad .auth-hero,
html body .auth-page--ad .auth-hero__brand,
html body .auth-page--ad .auth-hero__copy {
    justify-items: start !important;
}

html body .auth-page--ad .auth-input-shell__icon i,
html body .auth-page--ad .auth-input-shell__icon::before,
html body .auth-page--ad .auth-input-shell__icon::after {
    background: none !important;
    box-shadow: none !important;
    color: var(--alfa-text-secondary) !important;
}

/* ===== Ingreso con el usuario interno de la base (AppLoginOverlay, ventana sobre la app) ===== */
html body .auth-page--ad-overlay {
    --ad-auth-radio: 12px;
    --ad-auth-tinte: color-mix(in srgb, var(--alfa-accent) 7%, var(--alfa-bg-surface));
    width: 100%;
    color: var(--alfa-text-primary);
    font-family: 'Manrope', sans-serif;
    display: grid;
    place-items: center;
}

html body .auth-page--ad-overlay .auth-shell {
    width: min(100%, 900px) !important;
    max-height: calc(100dvh - 32px);
}

html body .auth-page--ad-overlay .auth-hero {
    padding: 40px 36px !important;
}

html body .auth-page--ad .app-login-shell__base-card {
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid var(--alfa-border-default) !important;
    border-radius: var(--alfa-radius-md) !important;
    background: var(--alfa-bg-surface) !important;
    box-shadow: var(--alfa-shadow-borde) !important;
    text-align: left !important;
}

html body .auth-page--ad .app-login-shell__base-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--alfa-text-secondary) !important;
    font-size: var(--alfa-font-caption) !important;
    font-weight: 700 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase;
}

html body .auth-page--ad .app-login-shell__base-head {
    display: grid !important;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

html body .auth-page--ad .app-login-shell__base-icon {
    width: 36px !important;
    height: 36px !important;
    display: grid !important;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--alfa-accent) 28%, var(--alfa-border-default)) !important;
    border-radius: var(--alfa-radius-md) !important;
    background: var(--ad-auth-tinte) !important;
    box-shadow: none !important;
    color: var(--alfa-accent) !important;
    font-size: 16px !important;
}

html body .auth-page--ad .app-login-shell__base-copy strong {
    display: block;
    overflow: hidden;
    color: var(--alfa-text-primary) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html body .auth-page--ad .app-login-shell__base-copy small {
    color: var(--alfa-text-secondary) !important;
    font-size: 12px !important;
}

html body .auth-page--ad .app-login-shell__base-info {
    color: var(--alfa-text-secondary) !important;
}

html body .auth-page--ad .app-login-shell__header {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

html body .auth-page--ad .app-login-shell__eyebrow {
    display: none !important;
}

html body .auth-page--ad .app-login-shell__title {
    margin: 0 !important;
    color: var(--alfa-text-primary) !important;
    -webkit-text-fill-color: currentColor !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 28px !important;
    letter-spacing: -.01em !important;
}

html body .auth-page--ad .app-login-shell__subtitle {
    margin: 6px 0 0 !important;
    color: var(--alfa-text-secondary) !important;
    font-size: 13px !important;
    line-height: 19px !important;
}

html body .auth-page--ad .app-login-shell__surface {
    display: flex !important;
    flex-direction: column;
    gap: 16px;
}

html body .auth-page--ad .app-login-shell__change-base {
    width: 100% !important;
    height: 40px !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 0 12px !important;
    border: 1px solid var(--alfa-border-default) !important;
    border-radius: var(--alfa-radius-md) !important;
    background: var(--alfa-bg-surface-raised) !important;
    box-shadow: none !important;
    color: var(--alfa-text-primary) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

html body .auth-page--ad .app-login-shell__change-base:hover:not(:disabled) {
    border-color: var(--alfa-border-strong) !important;
    background: var(--alfa-state-hover) !important;
}

html body .auth-page--ad .app-login-shell__change-base-icon {
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    color: var(--alfa-accent) !important;
}

html body .auth-page--ad .app-login-shell__change-base-label {
    flex: 1 1 auto;
    text-align: left;
}

html body .auth-page--ad .app-login-shell__change-base-chevron {
    color: var(--alfa-text-secondary) !important;
}

html body .auth-page--ad .auth-legacy-login__remember {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    color: var(--alfa-text-primary) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

html body .auth-page--ad .auth-legacy-login__remember input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--alfa-accent);
}

html body .auth-page--ad .auth-legacy-login__footer {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 !important;
    padding: 16px 0 0 !important;
    border-top: 1px solid var(--alfa-border-default) !important;
}

html body .auth-page--ad .app-login-action-btn {
    width: auto !important;
    height: 32px !important;
    min-height: 0 !important;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 0 12px !important;
    border: 1px solid var(--alfa-border-default) !important;
    border-radius: var(--alfa-radius-sm) !important;
    background: var(--alfa-bg-surface) !important;
    box-shadow: none !important;
    color: var(--alfa-text-primary) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

html body .auth-page--ad .app-login-action-btn:hover:not(:disabled) {
    border-color: var(--alfa-border-strong) !important;
    background: var(--alfa-state-hover) !important;
}

@media (max-width: 860px) {
    html body .auth-page--ad-overlay .auth-shell {
        width: min(100%, 440px) !important;
    }
}
