:root {
    --acresal-navy: #002a55;
    --acresal-navy-deep: #001d3c;
    --acresal-green: #2b7c44;
    --acresal-green-bright: #67cb86;
    --acresal-ink: #172231;
    --acresal-muted: #566473;
    --acresal-line: #d9e2e8;
    --acresal-surface: #ffffff;
    --acresal-soft: #f4f8f6;
}

.acresal-auth-document,
.acresal-auth-document * {
    box-sizing: border-box;
}

.acresal-auth-document {
    min-width: 0;
    min-height: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--acresal-soft);
    color: var(--acresal-ink);
    font-family: "Segoe UI Variable", "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.acresal-auth-document [hidden] {
    display: none !important;
}

.acresal-auth-page {
    --acresal-hero-image: url("../images/banner/bn_2.jpg");
    --acresal-hero-position: center center;
    display: grid;
    width: 100%;
    height: 100dvh;
    min-height: 640px;
    grid-template-columns: minmax(0, 1.12fr) minmax(420px, .88fr);
    overflow: hidden;
    background: var(--acresal-soft);
}

.acresal-auth-page--login {
    --acresal-hero-image: url("../images/banner/acresal-change-password-collaboration-v1.webp");
    --acresal-hero-position: 76% center;
    min-height: 560px;
    grid-template-columns: minmax(400px, .68fr) minmax(0, 1.32fr);
}

.acresal-auth-page--verify {
    --acresal-hero-image: url("../images/banner/community-climate-resilience-otp-v1.webp");
    --acresal-hero-position: 56% center;
    min-height: 560px;
    grid-template-columns: minmax(0, 1.32fr) minmax(400px, .68fr);
}

.acresal-auth-page--recovery {
    min-height: 560px;
    grid-template-columns: minmax(0, 1.32fr) minmax(400px, .68fr);
}

.acresal-auth-page--forgot {
    --acresal-hero-image: url("../images/banner/institutional-strengthening-recovery-v1.webp");
    --acresal-hero-position: 57% center;
}

.acresal-auth-page--reset {
    --acresal-hero-image: url("../images/banner/institutional-strengthening-reset-collaboration-v1.webp");
    --acresal-hero-position: 80% center;
}

.acresal-auth-hero {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(32px, 4.4vw, 68px);
    overflow: hidden;
    background-color: var(--acresal-navy);
    background-image:
        linear-gradient(90deg, rgba(0, 29, 60, .94) 0%, rgba(0, 42, 85, .7) 48%, rgba(0, 42, 85, .22) 100%),
        linear-gradient(0deg, rgba(0, 23, 48, .82) 0%, rgba(0, 23, 48, .05) 54%),
        var(--acresal-hero-image);
    background-position: center, center, var(--acresal-hero-position);
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
}

.acresal-auth-page--login .acresal-auth-hero {
    grid-column: 2;
    grid-row: 1;
    background-image:
        linear-gradient(180deg, rgba(0, 23, 48, .55) 0%, rgba(0, 23, 48, .04) 34%, rgba(0, 23, 48, .26) 58%, rgba(0, 23, 48, .94) 100%),
        linear-gradient(90deg, rgba(0, 29, 60, .78) 0%, rgba(0, 42, 70, .25) 54%, rgba(0, 23, 48, .04) 100%),
        var(--acresal-hero-image);
}

.acresal-auth-page--login .acresal-auth-access {
    grid-column: 1;
    grid-row: 1;
}

.acresal-auth-page--verify .acresal-auth-hero {
    background-image:
        linear-gradient(90deg, rgba(0, 29, 60, .94) 0%, rgba(0, 35, 62, .82) 36%, rgba(0, 42, 70, .48) 60%, rgba(0, 35, 55, .14) 84%, rgba(0, 23, 48, .04) 100%),
        linear-gradient(0deg, rgba(0, 23, 48, .82) 0%, rgba(0, 23, 48, .06) 54%),
        var(--acresal-hero-image);
}

.acresal-auth-page--recovery .acresal-auth-hero {
    background-image:
        linear-gradient(90deg, rgba(0, 29, 60, .95) 0%, rgba(0, 35, 62, .84) 36%, rgba(0, 42, 70, .5) 60%, rgba(0, 35, 55, .15) 84%, rgba(0, 23, 48, .04) 100%),
        linear-gradient(0deg, rgba(0, 23, 48, .84) 0%, rgba(0, 23, 48, .06) 54%),
        var(--acresal-hero-image);
}

.acresal-auth-page--login .acresal-auth-hero::after,
.acresal-auth-page--verify .acresal-auth-hero::after,
.acresal-auth-page--recovery .acresal-auth-hero::after {
    width: 1px;
    height: 22%;
    right: auto;
    bottom: 0;
    left: clamp(32px, 4.4vw, 68px);
    border: 0;
    border-radius: 0;
    background: linear-gradient(180deg, transparent, rgba(103, 203, 134, .75));
}

.acresal-auth-hero::after {
    position: absolute;
    width: 240px;
    height: 240px;
    right: -120px;
    bottom: -120px;
    border: 44px solid rgba(103, 203, 134, .2);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.acresal-auth-hero__brand,
.acresal-auth-hero__story,
.acresal-auth-hero__credit {
    position: relative;
    z-index: 1;
}

.acresal-auth-hero__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.acresal-auth-hero__brand > span:last-child {
    max-width: 180px;
    color: rgba(255, 255, 255, .75);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.45;
    text-transform: uppercase;
}

.acresal-auth-hero__mark {
    display: inline-flex;
    align-items: center;
    width: 184px;
    min-height: 54px;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 12px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px rgba(0, 16, 34, .18);
}

.acresal-auth-hero__mark img {
    display: block;
    width: 100%;
    height: auto;
}

.acresal-auth-page--login .acresal-auth-hero__mark--emblem,
.acresal-auth-page--verify .acresal-auth-hero__mark--emblem,
.acresal-auth-page--recovery .acresal-auth-hero__mark--emblem {
    width: 94px;
    min-height: 0;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.acresal-auth-hero__story {
    min-width: 0;
    max-width: 680px;
    margin: auto 0;
    padding-block: 52px;
}

.acresal-auth-eyebrow {
    display: inline-block;
    color: #a6efbc;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.acresal-auth-eyebrow--dark {
    color: var(--acresal-green);
}

.acresal-auth-hero__story h1 {
    max-width: 690px;
    margin: 18px 0 22px;
    font-size: clamp(2.85rem, 4.65vw, 5.55rem);
    font-weight: 690;
    letter-spacing: -.06em;
    line-height: .98;
    text-wrap: balance;
}

.acresal-auth-page--login .acresal-auth-hero__story {
    max-width: 650px;
    margin: auto 0 0;
    padding-block: 90px 0;
}

.acresal-auth-page--verify .acresal-auth-hero__story {
    max-width: 620px;
}

.acresal-auth-page--login .acresal-auth-hero__story h1 {
    max-width: 650px;
    font-size: clamp(2.55rem, 4.05vw, 4.85rem);
    letter-spacing: -.055em;
}

.acresal-auth-page--login .acresal-auth-hero__benefits {
    display: grid;
    width: min(700px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
    margin-top: 28px;
}

.acresal-auth-page--login .acresal-auth-hero__benefits span {
    min-width: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: .72rem;
    font-weight: 500;
    backdrop-filter: none;
}

.acresal-auth-page--login .acresal-auth-hero__benefits i {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(123, 227, 160, .36);
    background: rgba(0, 42, 85, .42);
    color: #9af0b6;
    font-size: .67rem;
}

.acresal-auth-page--verify .acresal-auth-hero__story h1 {
    max-width: 620px;
    font-size: clamp(2.55rem, 4.05vw, 4.85rem);
    letter-spacing: -.055em;
}

.acresal-auth-page--login .acresal-auth-hero__story h1 span,
.acresal-auth-page--verify .acresal-auth-hero__story h1 span {
    color: #a6efbc;
}

.acresal-auth-hero__story > p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-size: clamp(.98rem, 1.2vw, 1.14rem);
    line-height: 1.72;
}

.acresal-auth-hero__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.acresal-auth-hero__benefits span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 999px;
    background: rgba(0, 29, 60, .42);
    color: rgba(255, 255, 255, .9);
    font-size: .74rem;
    font-weight: 650;
    backdrop-filter: blur(5px);
}

.acresal-auth-hero__benefits i {
    display: inline-grid;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    place-items: center;
    background: var(--acresal-green-bright);
    color: var(--acresal-navy-deep);
    font-size: .68rem;
    font-style: normal;
    font-weight: 900;
}

.acresal-auth-hero__credit {
    color: rgba(255, 255, 255, .7);
    font-size: .74rem;
    letter-spacing: .025em;
}

.acresal-auth-access {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 0;
    height: 100%;
    flex-direction: column;
    overflow-y: auto;
    background:
        radial-gradient(circle at 100% 0, rgba(103, 203, 134, .14), transparent 35%),
        linear-gradient(145deg, #fff 0%, #f8fbf9 100%);
    scrollbar-width: thin;
}

.acresal-auth-page--login .acresal-auth-access,
.acresal-auth-page--verify .acresal-auth-access {
    padding: clamp(28px, 3.6vw, 58px) clamp(24px, 3.5vw, 52px) 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(103, 203, 134, .12), transparent 32%),
        linear-gradient(155deg, #ffffff 0%, #f7faf8 100%);
}

.acresal-auth-card {
    width: min(100% - 48px, 500px);
    margin: auto;
    padding: clamp(30px, 4vw, 50px);
    border: 1px solid rgba(0, 42, 85, .1);
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 22px 58px rgba(0, 42, 85, .11);
}

.acresal-auth-card--login,
.acresal-auth-card--verify {
    width: min(100%, 380px);
    max-width: 380px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.acresal-auth-access-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: clamp(30px, 4.5vh, 44px);
}

.acresal-auth-access-brand .acresal-auth-logo {
    width: clamp(150px, 12vw, 176px);
    min-width: 0;
    flex: 0 1 auto;
    margin: 0;
}

.acresal-auth-access-brand__divider {
    width: 1px;
    height: 28px;
    flex: 0 0 1px;
    background: #cbd7df;
}

.acresal-auth-access-brand > span:last-child {
    min-width: 0;
    color: var(--acresal-navy);
    font-size: .72rem;
    font-weight: 750;
    letter-spacing: .08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.acresal-auth-page--login .acresal-auth-card h2,
.acresal-auth-page--verify .acresal-auth-card h2 {
    margin-top: 12px;
    font-size: clamp(2rem, 3vw, 2.7rem);
}

.acresal-auth-page--login .acresal-auth-intro,
.acresal-auth-page--verify .acresal-auth-intro {
    margin-bottom: 28px;
    max-width: 430px;
}

.acresal-auth-logo {
    display: block;
    width: min(100%, 220px);
    height: auto;
    margin-bottom: 34px;
}

.acresal-auth-card h2 {
    margin: 10px 0 10px;
    color: var(--acresal-ink);
    font-size: clamp(1.85rem, 3vw, 2.45rem);
    font-weight: 690;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.acresal-auth-intro {
    margin: 0 0 26px;
    color: var(--acresal-muted);
    font-size: .93rem;
    line-height: 1.65;
}

.acresal-auth-intro strong {
    color: var(--acresal-ink);
}

.acresal-auth-message {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .82rem;
    line-height: 1.5;
}

.acresal-auth-message.is-success {
    border-color: #b9ddc4;
    background: #edf8f0;
    color: #175b32;
}

.acresal-auth-message.is-error {
    border-color: #ebc1be;
    background: #fff3f2;
    color: #962f2a;
}

.acresal-auth-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.acresal-auth-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.acresal-auth-field > label {
    color: var(--acresal-ink);
    font-size: .81rem;
    font-weight: 750;
}

.acresal-auth-field input {
    width: 100%;
    min-height: 50px;
    padding: 11px 14px;
    border: 1px solid #cbd7df;
    border-radius: 11px;
    outline: none;
    background: #fff;
    color: var(--acresal-ink);
    font: inherit;
    font-size: .91rem;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.acresal-auth-field input::placeholder {
    color: #687582;
    opacity: 1;
}

.acresal-auth-field input:focus {
    border-color: var(--acresal-green);
    box-shadow: 0 0 0 3px rgba(43, 124, 68, .22);
}

.acresal-auth-page--login .acresal-auth-fields,
.acresal-auth-page--verify .acresal-auth-fields {
    gap: 18px;
}

.acresal-auth-page--login .acresal-auth-field input,
.acresal-auth-page--verify .acresal-auth-field input {
    min-height: 54px;
    border-color: #bac8d0;
    border-radius: 9px;
    background: #f8faf9;
}

.acresal-auth-page--login .acresal-auth-field input:hover:not(:focus),
.acresal-auth-page--verify .acresal-auth-field input:hover:not(:focus) {
    border-color: #8da0ac;
}

.acresal-auth-page--login .acresal-auth-field input:-webkit-autofill,
.acresal-auth-page--login .acresal-auth-field input:-webkit-autofill:hover,
.acresal-auth-page--login .acresal-auth-field input:-webkit-autofill:focus,
.acresal-auth-page--verify .acresal-auth-field input:-webkit-autofill,
.acresal-auth-page--verify .acresal-auth-field input:-webkit-autofill:hover,
.acresal-auth-page--verify .acresal-auth-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--acresal-ink);
    box-shadow: 0 0 0 1000px #f8faf9 inset;
    transition: background-color 9999s ease-out 0s;
}

.acresal-auth-field input.input-validation-error {
    border-color: #c84740;
}

.acresal-password-field {
    position: relative;
}

.acresal-password-field input {
    padding-right: 70px;
}

.acresal-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    padding: 5px 4px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: var(--acresal-green);
    font: inherit;
    font-size: .73rem;
    font-weight: 750;
    transform: translateY(-50%);
    cursor: pointer;
}

.acresal-auth-page--login .acresal-password-toggle {
    right: 6px;
    display: inline-grid;
    min-width: 52px;
    min-height: 42px;
    padding-inline: 8px;
    place-items: center;
}

.acresal-password-toggle:focus-visible,
.acresal-auth-links a:focus-visible,
.acresal-auth-link-button:focus-visible {
    outline: 3px solid var(--acresal-green);
    outline-offset: 3px;
}

.acresal-field-error {
    color: #ad342e;
    font-size: .74rem;
    line-height: 1.35;
}

.acresal-field-error:empty {
    display: none;
}

.acresal-auth-code {
    letter-spacing: .42em;
    font-size: 1.32rem !important;
    font-weight: 750 !important;
    text-align: center;
}

.acresal-password-hint {
    margin: -4px 0 0;
    color: var(--acresal-muted);
    font-size: .74rem;
    line-height: 1.45;
}

.acresal-auth-primary {
    display: inline-flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 2px;
    padding: 12px 17px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(105deg, var(--acresal-navy) 0%, #0b4775 100%);
    box-shadow: 0 10px 24px rgba(0, 42, 85, .2);
    color: #fff;
    font: inherit;
    font-size: .87rem;
    font-weight: 750;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.acresal-auth-primary:hover:not(:disabled) {
    background: linear-gradient(105deg, #00376e 0%, var(--acresal-green) 115%);
    box-shadow: 0 13px 28px rgba(0, 42, 85, .25);
    transform: translateY(-1px);
}

.acresal-auth-primary:focus-visible {
    outline: 3px solid var(--acresal-green);
    outline-offset: 3px;
}

.acresal-auth-page--login .acresal-auth-primary,
.acresal-auth-page--verify .acresal-auth-primary {
    min-height: 54px;
    border-radius: 9px;
    box-shadow: 0 12px 26px rgba(0, 42, 85, .2);
}

.acresal-auth-page--login .acresal-auth-primary > span:last-child,
.acresal-auth-page--verify .acresal-auth-primary > span:last-child {
    font-size: 1.15rem;
    line-height: 1;
    transition: transform .18s ease;
}

.acresal-auth-page--login .acresal-auth-primary:hover:not(:disabled) > span:last-child,
.acresal-auth-page--verify .acresal-auth-primary:hover:not(:disabled) > span:last-child {
    transform: translateX(3px);
}

.acresal-auth-primary:disabled,
.acresal-auth-link-button:disabled {
    opacity: .68;
    cursor: wait;
}

.acresal-auth-links {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.acresal-auth-links--end {
    justify-content: flex-end;
}

.acresal-auth-links--split {
    justify-content: space-between;
}

.acresal-auth-links form {
    margin: 0;
}

.acresal-auth-links a,
.acresal-auth-link-button {
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: var(--acresal-green);
    font: inherit;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.acresal-auth-page--login .acresal-auth-links,
.acresal-auth-page--verify .acresal-auth-links {
    margin-top: 16px;
}

.acresal-auth-page--login .acresal-auth-links a,
.acresal-auth-page--verify .acresal-auth-links a,
.acresal-auth-page--verify .acresal-auth-link-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding-inline: 6px;
}

.acresal-auth-links a:hover,
.acresal-auth-link-button:hover:not(:disabled) {
    color: var(--acresal-navy);
    text-decoration: underline;
}

.acresal-auth-trust {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e4eaee;
    color: var(--acresal-muted);
    font-size: .75rem;
    line-height: 1.5;
}

.acresal-auth-trust strong {
    color: var(--acresal-ink);
}

.acresal-auth-trust__icon {
    display: inline-grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    place-items: center;
    background: #e7f5eb;
    color: var(--acresal-green);
    font-size: .74rem;
    font-weight: 900;
}

.acresal-auth-trust__icon svg {
    width: 15px;
    height: 15px;
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.acresal-auth-page--login .acresal-auth-trust,
.acresal-auth-page--verify .acresal-auth-trust {
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
}

.acresal-auth-trust__identity {
    position: relative;
    display: inline-grid;
    width: 50px;
    height: 42px;
    flex: 0 0 50px;
    place-items: center;
}

.acresal-auth-trust__logo {
    display: block;
    width: 44px;
    height: auto;
}

.acresal-auth-trust__identity .acresal-auth-trust__icon {
    position: absolute;
    right: -1px;
    bottom: -2px;
    width: 19px;
    height: 19px;
    flex-basis: 19px;
    box-shadow: 0 0 0 2px #fff;
}

.acresal-auth-trust__identity .acresal-auth-trust__icon svg {
    width: 12px;
    height: 12px;
}

.acresal-auth-footer {
    margin: 24px auto 22px;
    padding: 0 24px;
    color: #5f6c79;
    font-size: .7rem;
    letter-spacing: .02em;
    text-align: center;
}

.acresal-processing-overlay {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    padding: 24px;
    place-items: center;
    background: rgba(245, 249, 247, .88);
    backdrop-filter: blur(4px);
    cursor: wait;
}

.acresal-processing-card {
    display: flex;
    width: min(100%, 330px);
    align-items: center;
    flex-direction: column;
    padding: 30px 26px;
    border: 1px solid #d9e4df;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 42, 85, .18);
    color: var(--acresal-ink);
    text-align: center;
}

.acresal-processing-card strong {
    margin-top: 18px;
    font-size: 1rem;
}

.acresal-processing-card > span:last-child {
    margin-top: 7px;
    color: var(--acresal-muted);
    font-size: .79rem;
    line-height: 1.5;
}

.acresal-processing-spinner {
    width: 38px;
    height: 38px;
    border: 3px solid #d8e7dd;
    border-top-color: var(--acresal-green);
    border-radius: 50%;
    animation: acresal-auth-spin .76s linear infinite;
}

@keyframes acresal-auth-spin {
    to { transform: rotate(360deg); }
}

.acresal-auth-page--recovery .acresal-auth-hero__story {
    max-width: 620px;
}

.acresal-auth-page--recovery .acresal-auth-hero__story h1 {
    max-width: 620px;
    font-size: clamp(2.55rem, 4.05vw, 4.85rem);
    letter-spacing: -.055em;
}

.acresal-auth-page--recovery .acresal-auth-hero__story h1 span {
    color: #a6efbc;
}

.acresal-auth-page--recovery .acresal-auth-access {
    padding: clamp(28px, 3.6vw, 58px) clamp(24px, 3.5vw, 52px) 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(103, 203, 134, .12), transparent 32%),
        linear-gradient(155deg, #ffffff 0%, #f7faf8 100%);
}

.acresal-auth-card--recovery {
    width: min(100%, 380px);
    max-width: 380px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.acresal-auth-page--recovery .acresal-auth-card h2 {
    margin-top: 12px;
    font-size: clamp(2rem, 3vw, 2.7rem);
}

.acresal-auth-page--recovery .acresal-auth-intro {
    max-width: 430px;
    margin-bottom: 28px;
}

.acresal-auth-page--recovery .acresal-auth-fields {
    gap: 18px;
}

.acresal-auth-page--recovery .acresal-auth-field input {
    min-height: 54px;
    border-color: #bac8d0;
    border-radius: 9px;
    background: #f8faf9;
}

.acresal-auth-page--recovery .acresal-auth-field input:hover:not(:focus) {
    border-color: #8da0ac;
}

.acresal-auth-page--recovery .acresal-auth-field input:-webkit-autofill,
.acresal-auth-page--recovery .acresal-auth-field input:-webkit-autofill:hover,
.acresal-auth-page--recovery .acresal-auth-field input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--acresal-ink);
    box-shadow: 0 0 0 1000px #f8faf9 inset;
    transition: background-color 9999s ease-out 0s;
}

.acresal-auth-page--recovery .acresal-password-toggle {
    right: 6px;
    display: inline-grid;
    min-width: 52px;
    min-height: 42px;
    padding-inline: 8px;
    place-items: center;
}

.acresal-auth-page--recovery .acresal-auth-primary {
    min-height: 54px;
    border-radius: 9px;
    box-shadow: 0 12px 26px rgba(0, 42, 85, .2);
}

.acresal-auth-page--recovery .acresal-auth-primary > span:last-child {
    font-size: 1.15rem;
    line-height: 1;
    transition: transform .18s ease;
}

.acresal-auth-page--recovery .acresal-auth-primary:hover:not(:disabled) > span:last-child {
    transform: translateX(3px);
}

.acresal-auth-page--recovery .acresal-auth-links {
    margin-top: 16px;
}

.acresal-auth-page--recovery .acresal-auth-links a,
.acresal-auth-page--recovery .acresal-auth-link-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding-inline: 6px;
}

.acresal-auth-page--recovery .acresal-auth-trust {
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
}

@media (max-width: 980px) {
    .acresal-auth-document {
        overflow: auto;
    }

    .acresal-auth-page {
        height: auto;
        min-height: 100dvh;
        grid-template-columns: 1fr;
        overflow: visible;
    }

    .acresal-auth-hero {
        min-height: 330px;
        padding: 28px clamp(24px, 6vw, 58px);
    }

    .acresal-auth-hero__story {
        padding-block: 38px;
    }

    .acresal-auth-hero__story h1 {
        max-width: 620px;
        margin-block: 14px 16px;
        font-size: clamp(2.35rem, 7vw, 4.4rem);
    }

    .acresal-auth-hero__benefits {
        margin-top: 20px;
    }

    .acresal-auth-access {
        min-height: 560px;
        height: auto;
        padding-top: 34px;
    }

    .acresal-auth-card {
        margin-block: auto;
    }

    .acresal-auth-page--login .acresal-auth-hero,
    .acresal-auth-page--verify .acresal-auth-hero {
        min-height: 390px;
    }

    .acresal-auth-page--login .acresal-auth-hero {
        grid-column: 1;
        grid-row: 1;
        background-position: center, center, 72% 43%;
    }

    .acresal-auth-page--verify .acresal-auth-hero {
        background-position: center, center, 56% center;
    }

    .acresal-auth-page--login .acresal-auth-access,
    .acresal-auth-page--verify .acresal-auth-access {
        min-height: 0;
        padding: 46px clamp(28px, 8vw, 72px) 18px;
    }

    .acresal-auth-page--login .acresal-auth-access {
        grid-column: 1;
        grid-row: 2;
    }

    .acresal-auth-page--login .acresal-auth-card--login,
    .acresal-auth-page--verify .acresal-auth-card--verify {
        width: min(100%, 390px);
        max-width: 390px;
        padding: 0;
    }
}

@media (max-width: 640px) {
    .acresal-auth-hero {
        min-height: 270px;
        padding: 22px 22px 28px;
    }

    .acresal-auth-hero__brand > span:last-child,
    .acresal-auth-hero__benefits,
    .acresal-auth-hero__credit {
        display: none;
    }

    .acresal-auth-hero__mark {
        width: 158px;
        min-height: 46px;
        padding: 8px 11px;
    }

    .acresal-auth-page--login .acresal-auth-hero__mark--emblem,
    .acresal-auth-page--verify .acresal-auth-hero__mark--emblem {
        width: 84px;
        min-height: 0;
        padding: 0;
    }

    .acresal-auth-hero__story {
        padding: 28px 0 0;
    }

    .acresal-auth-hero__story h1 {
        margin: 10px 0 12px;
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .acresal-auth-hero__story > p {
        font-size: .88rem;
        line-height: 1.55;
    }

    .acresal-auth-access {
        min-height: 0;
        padding-top: 0;
        background: #fff;
    }

    .acresal-auth-card {
        width: 100%;
        padding: 34px 24px 28px;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .acresal-auth-logo {
        width: 190px;
        margin-bottom: 28px;
    }

    .acresal-auth-links--split {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .acresal-auth-footer {
        margin-top: 8px;
    }

    .acresal-auth-page--login .acresal-auth-hero,
    .acresal-auth-page--verify .acresal-auth-hero {
        min-height: 390px;
        padding: 22px 24px 30px;
    }

    .acresal-auth-page--login .acresal-auth-hero {
        background-position: center, center, 76% 42%;
    }

    .acresal-auth-page--login .acresal-auth-hero__benefits {
        display: none;
    }

    .acresal-auth-page--verify .acresal-auth-hero {
        background-position: center, center, 64% center;
    }

    .acresal-auth-page--login .acresal-auth-hero::after,
    .acresal-auth-page--verify .acresal-auth-hero::after {
        left: 24px;
    }

    .acresal-auth-page--login .acresal-auth-hero__story,
    .acresal-auth-page--verify .acresal-auth-hero__story {
        max-width: 440px;
        padding-top: 34px;
    }

    .acresal-auth-page--login .acresal-auth-hero__story .acresal-auth-eyebrow,
    .acresal-auth-page--verify .acresal-auth-hero__story .acresal-auth-eyebrow {
        display: block;
        width: 100%;
        font-size: .64rem;
        letter-spacing: .1em;
        line-height: 1.45;
    }

    .acresal-auth-page--login .acresal-auth-hero__story h1,
    .acresal-auth-page--verify .acresal-auth-hero__story h1 {
        max-width: 430px;
        margin: 11px 0 14px;
        font-size: clamp(2rem, 9.6vw, 3.15rem);
        line-height: 1.01;
    }

    .acresal-auth-page--login .acresal-auth-hero__story > p,
    .acresal-auth-page--verify .acresal-auth-hero__story > p {
        max-width: 400px;
    }

    .acresal-auth-page--login .acresal-auth-access,
    .acresal-auth-page--verify .acresal-auth-access {
        padding: 36px 24px 16px;
    }

    .acresal-auth-page--login .acresal-auth-card--login,
    .acresal-auth-page--verify .acresal-auth-card--verify {
        width: 100%;
        max-width: 390px;
        padding: 0;
    }

    .acresal-auth-page--login .acresal-auth-access-brand,
    .acresal-auth-page--verify .acresal-auth-access-brand {
        gap: 9px;
        margin-bottom: 30px;
    }

    .acresal-auth-page--login .acresal-auth-access-brand .acresal-auth-logo,
    .acresal-auth-page--verify .acresal-auth-access-brand .acresal-auth-logo {
        width: 136px;
        margin: 0;
    }

    .acresal-auth-page--login .acresal-auth-access-brand__divider,
    .acresal-auth-page--verify .acresal-auth-access-brand__divider {
        height: 24px;
    }

    .acresal-auth-page--login .acresal-auth-access-brand > span:last-child,
    .acresal-auth-page--verify .acresal-auth-access-brand > span:last-child {
        max-width: 94px;
        font-size: .62rem;
        letter-spacing: .055em;
    }

    .acresal-auth-page--verify .acresal-auth-links--split {
        align-items: center;
        flex-direction: row;
        gap: 16px;
    }
}

@media (max-width: 340px) {
    .acresal-auth-page--login .acresal-auth-hero {
        min-height: 330px;
    }

    .acresal-auth-page--login .acresal-auth-hero__story > p {
        display: none;
    }
}

@media (min-width: 981px) and (max-height: 800px) {
    .acresal-auth-card {
        padding-block: 30px;
    }

    .acresal-auth-logo {
        width: 190px;
        margin-bottom: 23px;
    }

    .acresal-auth-intro {
        margin-bottom: 19px;
    }

    .acresal-auth-fields {
        gap: 12px;
    }

    .acresal-auth-trust {
        margin-top: 20px;
        padding-top: 15px;
    }

    .acresal-auth-page--login .acresal-auth-hero__story,
    .acresal-auth-page--verify .acresal-auth-hero__story {
        padding-block: 28px;
    }

    .acresal-auth-page--login .acresal-auth-hero__story h1,
    .acresal-auth-page--verify .acresal-auth-hero__story h1 {
        margin-block: 13px 16px;
        font-size: clamp(2.35rem, 3.7vw, 4rem);
    }

    .acresal-auth-page--login .acresal-auth-hero__benefits {
        margin-top: 20px;
    }

    .acresal-auth-page--login .acresal-auth-access,
    .acresal-auth-page--verify .acresal-auth-access {
        padding-block: 24px 12px;
    }

    .acresal-auth-page--login .acresal-auth-card--login,
    .acresal-auth-page--verify .acresal-auth-card--verify {
        padding: 0;
    }

    .acresal-auth-page--login .acresal-auth-access-brand,
    .acresal-auth-page--verify .acresal-auth-access-brand {
        margin-bottom: 24px;
    }

    .acresal-auth-page--login .acresal-auth-access-brand .acresal-auth-logo,
    .acresal-auth-page--verify .acresal-auth-access-brand .acresal-auth-logo {
        width: 160px;
        margin: 0;
    }

    .acresal-auth-page--login .acresal-auth-intro,
    .acresal-auth-page--verify .acresal-auth-intro {
        margin-bottom: 20px;
    }

    .acresal-auth-page--login .acresal-auth-trust,
    .acresal-auth-page--verify .acresal-auth-trust {
        margin-top: 15px;
        padding-top: 14px;
    }

    .acresal-auth-page--login .acresal-auth-footer,
    .acresal-auth-page--verify .acresal-auth-footer {
        display: none;
    }
}

@media (min-width: 981px) and (max-height: 680px) {
    .acresal-auth-page--login .acresal-auth-access,
    .acresal-auth-page--verify .acresal-auth-access {
        padding-block: 18px 12px;
    }

    .acresal-auth-page--login .acresal-auth-access-brand,
    .acresal-auth-page--verify .acresal-auth-access-brand {
        margin-bottom: 14px;
    }

    .acresal-auth-page--login .acresal-auth-access-brand .acresal-auth-logo,
    .acresal-auth-page--verify .acresal-auth-access-brand .acresal-auth-logo {
        width: 146px;
        margin: 0;
    }

    .acresal-auth-page--login .acresal-auth-card h2,
    .acresal-auth-page--verify .acresal-auth-card h2 {
        margin-block: 8px 7px;
        font-size: 2.05rem;
    }

    .acresal-auth-page--login .acresal-auth-intro,
    .acresal-auth-page--verify .acresal-auth-intro {
        margin-bottom: 14px;
        font-size: .85rem;
        line-height: 1.48;
    }

    .acresal-auth-page--login .acresal-auth-fields,
    .acresal-auth-page--verify .acresal-auth-fields {
        gap: 12px;
    }

    .acresal-auth-page--login .acresal-auth-field input,
    .acresal-auth-page--login .acresal-auth-primary,
    .acresal-auth-page--verify .acresal-auth-field input,
    .acresal-auth-page--verify .acresal-auth-primary {
        min-height: 50px;
    }

    .acresal-auth-page--login .acresal-auth-links,
    .acresal-auth-page--verify .acresal-auth-links {
        margin-top: 8px;
    }

    .acresal-auth-page--login .acresal-auth-trust,
    .acresal-auth-page--verify .acresal-auth-trust {
        margin-top: 10px;
        padding-top: 10px;
        font-size: .7rem;
        line-height: 1.35;
    }

    .acresal-auth-page--login .acresal-auth-trust__identity,
    .acresal-auth-page--verify .acresal-auth-trust__identity {
        width: 42px;
        height: 34px;
        flex-basis: 42px;
    }

    .acresal-auth-page--login .acresal-auth-trust__logo,
    .acresal-auth-page--verify .acresal-auth-trust__logo {
        width: 36px;
    }

    .acresal-auth-page--login .acresal-auth-trust__identity .acresal-auth-trust__icon,
    .acresal-auth-page--verify .acresal-auth-trust__identity .acresal-auth-trust__icon {
        width: 16px;
        height: 16px;
    }

    .acresal-auth-page--login .acresal-auth-trust__identity .acresal-auth-trust__icon svg,
    .acresal-auth-page--verify .acresal-auth-trust__identity .acresal-auth-trust__icon svg {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 980px) {
    .acresal-auth-page--recovery .acresal-auth-hero {
        min-height: 390px;
        background-position: center, center, 57% center;
    }

    .acresal-auth-page--reset .acresal-auth-hero {
        background-position: center, center, 57% center;
    }

    .acresal-auth-page--recovery .acresal-auth-access {
        min-height: 0;
        padding: 46px clamp(28px, 8vw, 72px) 18px;
    }

    .acresal-auth-page--recovery .acresal-auth-card--recovery {
        width: min(100%, 390px);
        max-width: 390px;
        padding: 0;
    }
}

@media (max-width: 640px) {
    .acresal-auth-page--recovery .acresal-auth-hero {
        min-height: 390px;
        padding: 22px 24px 30px;
        background-position: center, center, 64% center;
    }

    .acresal-auth-page--reset .acresal-auth-hero {
        background-position: center, center, 78% center;
    }

    .acresal-auth-page--recovery .acresal-auth-hero::after {
        left: 24px;
    }

    .acresal-auth-page--recovery .acresal-auth-hero__mark--emblem {
        width: 84px;
        min-height: 0;
        padding: 0;
    }

    .acresal-auth-page--recovery .acresal-auth-hero__story {
        max-width: 440px;
        padding-top: 34px;
    }

    .acresal-auth-page--recovery .acresal-auth-hero__story .acresal-auth-eyebrow {
        display: block;
        width: 100%;
        font-size: .64rem;
        letter-spacing: .1em;
        line-height: 1.45;
    }

    .acresal-auth-page--recovery .acresal-auth-hero__story h1 {
        max-width: 430px;
        margin: 11px 0 14px;
        font-size: clamp(2rem, 9.6vw, 3.15rem);
        line-height: 1.01;
    }

    .acresal-auth-page--recovery .acresal-auth-hero__story > p {
        max-width: 400px;
    }

    .acresal-auth-page--recovery .acresal-auth-access {
        padding: 36px 24px 16px;
    }

    .acresal-auth-page--recovery .acresal-auth-card--recovery {
        width: 100%;
        max-width: 390px;
        padding: 0;
    }

    .acresal-auth-page--recovery .acresal-auth-access-brand {
        gap: 9px;
        margin-bottom: 30px;
    }

    .acresal-auth-page--recovery .acresal-auth-access-brand .acresal-auth-logo {
        width: 136px;
        margin: 0;
    }

    .acresal-auth-page--recovery .acresal-auth-access-brand__divider {
        height: 24px;
    }

    .acresal-auth-page--recovery .acresal-auth-access-brand > span:last-child {
        max-width: 94px;
        font-size: .62rem;
        letter-spacing: .055em;
    }

    .acresal-auth-page--recovery .acresal-auth-links--split {
        align-items: center;
        flex-direction: row;
        gap: 16px;
    }
}

@media (min-width: 981px) and (max-height: 800px) {
    .acresal-auth-page--recovery .acresal-auth-hero__story {
        padding-block: 28px;
    }

    .acresal-auth-page--recovery .acresal-auth-hero__story h1 {
        margin-block: 13px 16px;
        font-size: clamp(2.35rem, 3.7vw, 4rem);
    }

    .acresal-auth-page--recovery .acresal-auth-access {
        padding-block: 24px 12px;
    }

    .acresal-auth-page--recovery .acresal-auth-card--recovery {
        padding: 0;
    }

    .acresal-auth-page--recovery .acresal-auth-access-brand {
        margin-bottom: 24px;
    }

    .acresal-auth-page--recovery .acresal-auth-access-brand .acresal-auth-logo {
        width: 160px;
        margin: 0;
    }

    .acresal-auth-page--recovery .acresal-auth-intro {
        margin-bottom: 20px;
    }

    .acresal-auth-page--recovery .acresal-auth-trust {
        margin-top: 15px;
        padding-top: 14px;
    }

    .acresal-auth-page--recovery .acresal-auth-footer {
        display: none;
    }
}

@media (min-width: 981px) and (max-height: 680px) {
    .acresal-auth-page--recovery .acresal-auth-access {
        padding-block: 18px 12px;
    }

    .acresal-auth-page--recovery .acresal-auth-access-brand {
        margin-bottom: 14px;
    }

    .acresal-auth-page--recovery .acresal-auth-access-brand .acresal-auth-logo {
        width: 146px;
        margin: 0;
    }

    .acresal-auth-page--recovery .acresal-auth-card h2 {
        margin-block: 8px 7px;
        font-size: 2.05rem;
    }

    .acresal-auth-page--recovery .acresal-auth-intro {
        margin-bottom: 14px;
        font-size: .85rem;
        line-height: 1.48;
    }

    .acresal-auth-page--recovery .acresal-auth-fields {
        gap: 12px;
    }

    .acresal-auth-page--recovery .acresal-auth-field input,
    .acresal-auth-page--recovery .acresal-auth-primary {
        min-height: 50px;
    }

    .acresal-auth-page--recovery .acresal-auth-links {
        margin-top: 8px;
    }

    .acresal-auth-page--recovery .acresal-auth-trust {
        margin-top: 10px;
        padding-top: 10px;
        font-size: .7rem;
        line-height: 1.35;
    }

    .acresal-auth-page--recovery .acresal-auth-trust__identity {
        width: 42px;
        height: 34px;
        flex-basis: 42px;
    }

    .acresal-auth-page--recovery .acresal-auth-trust__logo {
        width: 36px;
    }

    .acresal-auth-page--recovery .acresal-auth-trust__identity .acresal-auth-trust__icon {
        width: 16px;
        height: 16px;
    }

    .acresal-auth-page--recovery .acresal-auth-trust__identity .acresal-auth-trust__icon svg {
        width: 10px;
        height: 10px;
    }

    .acresal-auth-page--reset .acresal-auth-trust {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .acresal-processing-spinner {
        animation-duration: 1.8s;
    }

    .acresal-auth-primary,
    .acresal-auth-field input {
        transition: none;
    }
}
