.auth-page {
    --auth-navy: #073b5e;
    --auth-blue: #0d527a;
    --auth-gold: #e4ad43;
    --auth-ink: #183b50;
    --auth-muted: #728592;
    min-height: min(820px, calc(100vh - 150px));
    display: grid;
    place-items: center;
    padding: clamp(28px, 6vw, 72px) 20px;
    background:
        radial-gradient(ellipse at 12% 12%, rgba(232, 190, 104, .17), transparent 28%),
        #f8f5ec;
}

.auth-card {
    display: grid;
    grid-template-columns: minmax(280px, .85fr) minmax(440px, 1.15fr);
    width: min(100%, 1000px);
    min-height: 600px;
    overflow: hidden;
    border: 1px solid rgba(9, 55, 82, .08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(28, 55, 67, .13), 0 3px 12px rgba(28, 55, 67, .04);
}

.auth-aside {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 38px 36px 30px;
    color: #fff;
    background: linear-gradient(145deg, #0d527a 0%, #073b5e 58%, #052e4b 100%);
}

.auth-aside::before {
    position: absolute;
    z-index: -1;
    inset: auto -30% -38% -32%;
    height: 72%;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
    transform: rotate(-16deg);
}

.auth-aside::after {
    position: absolute;
    z-index: -1;
    right: -150px;
    bottom: -200px;
    width: 410px;
    height: 410px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 50%;
    content: "";
}

.auth-brand,
.auth-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: inherit;
    font-family: Poppins, sans-serif;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
}

.auth-brand img,
.auth-mobile-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.auth-aside-copy {
    position: relative;
    z-index: 1;
    max-width: 350px;
    margin: 44px 0 48px;
}

.auth-eyebrow {
    display: inline-block;
    margin-bottom: 13px;
    color: #bd8530;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.auth-aside .auth-eyebrow { color: #f0c36b; }

.auth-aside h1 {
    max-width: 340px;
    margin: 0 0 16px;
    color: #fff;
    font-family: Poppins, sans-serif;
    font-size: clamp(28px, 3vw, 39px);
    font-weight: 800;
    line-height: 1.2;
}

.auth-aside-copy > p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 15px;
    line-height: 1.7;
}

.auth-benefits {
    display: grid;
    gap: 15px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
}

.auth-benefits li span {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border: 1px solid rgba(240, 195, 107, .55);
    border-radius: 50%;
    color: #f0c36b;
    font-size: 12px;
}

.auth-aside-foot {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, .55);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.auth-orbit { display: none; }

.auth-main {
    align-self: center;
    width: 100%;
    max-width: 590px;
    margin-inline: auto;
    padding: 56px clamp(32px, 6vw, 72px);
}

.auth-mobile-brand { display: none; }

.auth-heading { margin-bottom: 28px; }

.auth-heading h2 {
    margin: 0 0 8px;
    color: var(--auth-navy);
    font-family: Poppins, sans-serif;
    font-size: clamp(27px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.25;
}

.auth-heading p {
    margin: 0;
    color: var(--auth-muted);
    font-size: 14px;
    line-height: 1.6;
}

.auth-form { display: grid; gap: 19px; }

.auth-field {
    display: grid;
    gap: 8px;
    color: #294b60;
    font-size: 13px;
    font-weight: 800;
}

.auth-field input:not([type="checkbox"]) {
    width: 100%;
    min-height: 49px;
    padding: 0 14px;
    border: 1px solid #dce5e9;
    border-radius: 10px;
    outline: none;
    background: #fbfcfc;
    color: #16394e;
    font: 500 14px Nunito, sans-serif;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-field input:not([type="checkbox"])::placeholder { color: #a4b1b8; }

.auth-field input:not([type="checkbox"]):hover { border-color: #b8cbd4; }

.auth-field input:not([type="checkbox"]):focus {
    border-color: #2681a8;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(38, 129, 168, .12);
}

.auth-field input[aria-invalid="true"] { border-color: #c84e4e; }

.auth-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.auth-field-error {
    color: #b53d3d;
    font-size: 12px;
    font-weight: 700;
}

.auth-form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: -3px;
    font-size: 12px;
}

.auth-remember { display: inline-flex; align-items: center; gap: 8px; color: #607783; cursor: pointer; }
.auth-remember input { width: 16px; height: 16px; accent-color: #0d668a; }
.auth-form-options a,
.auth-switch a { color: #0a648a; font-weight: 800; text-decoration: none; }
.auth-form-options a:hover,
.auth-switch a:hover { color: #b5791f; text-decoration: underline; }

.auth-submit {
    display: flex;
    min-height: 51px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 3px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(100deg, #0d668a, #084a70);
    box-shadow: 0 8px 18px rgba(8, 74, 112, .18);
    color: #fff;
    cursor: pointer;
    font: 800 14px Nunito, sans-serif;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.auth-submit span { font-size: 18px; line-height: 1; }
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 11px 22px rgba(8, 74, 112, .25); background: linear-gradient(100deg, #0b7098, #07547d); }
.auth-submit:focus-visible { outline: 3px solid rgba(228, 173, 67, .65); outline-offset: 3px; }
.auth-submit:active { transform: translateY(0); }

.auth-switch {
    margin: 24px 0 0;
    color: #657b88;
    font-size: 13px;
    text-align: center;
}

.auth-privacy {
    margin: 28px 0 0;
    padding-top: 17px;
    border-top: 1px solid #edf1f2;
    color: #8a9aa2;
    font-size: 11px;
    text-align: center;
}

.auth-alert,
.auth-status {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 0 20px;
    padding: 13px 15px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
}

.auth-alert { border: 1px solid #f1d2d0; background: #fff7f6; color: #8c3434; }
.auth-status { border: 1px solid #cde8da; background: #f3fbf6; color: #286b4a; }
.auth-alert-icon { display: grid; width: 20px; height: 20px; flex: 0 0 20px; place-items: center; border-radius: 50%; background: #f2d6d4; font-weight: 900; }
.auth-alert strong { display: block; margin: 1px 0 4px; }
.auth-alert ul { margin: 0; padding-left: 17px; }
.auth-alert li + li { margin-top: 2px; }
.auth-status > span { font-weight: 900; }

@media (max-width: 760px) {
    .auth-page { min-height: auto; padding: 28px 16px 42px; }
    .auth-card { display: block; width: min(100%, 520px); min-height: auto; border-radius: 18px; }
    .auth-aside { display: none; }
    .auth-main { padding: 30px clamp(22px, 7vw, 38px) 27px; }
    .auth-mobile-brand { display: inline-flex; margin-bottom: 30px; color: var(--auth-navy); }
    .auth-mobile-brand img { width: 34px; height: 34px; }
    .auth-heading { margin-bottom: 23px; }
    .auth-heading h2 { font-size: 28px; }
}

@media (max-width: 430px) {
    .auth-page { padding-inline: 12px; }
    .auth-main { padding-inline: 20px; }
    .auth-field-row { grid-template-columns: 1fr; gap: 19px; }
    .auth-form-options { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .auth-field input, .auth-submit { transition: none; }
}
