﻿:root {
    --au-navy: #103048;
    --au-navy-mid: #184c72;
    --au-blue: #3b8ef3;
    --au-sky: #8fd3f0;
    --au-text: #1b2733;
    --au-muted: #6b7686;
    --au-line: #dfe4ec;
    --au-field: #f6f8fb;
    --au-amber: #a35a06;
    --au-amber-soft: #fff4dc;
}

.auth-body {
    margin: 0;
    min-height: 100vh;
    background: #eef2f7;
    font-family: Poppins, Helvetica, sans-serif;
    color: var(--au-text);
}

.auth {
    display: flex;
    min-height: 100vh;
}

.auth-hero {
    position: sticky;
    top: 0;
    height: 100vh;
    flex: 1 1 58%;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.auth-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(16, 48, 72, 0) 30%, rgba(16, 48, 72, .55) 62%, rgba(10, 30, 46, .94) 100%),
        linear-gradient(90deg, rgba(16, 48, 72, .35) 0%, rgba(16, 48, 72, 0) 60%);
}

.auth-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 56px 56px;
    color: #fff;
    max-width: 680px;
    animation: auth-rise .7s ease-out both;
}

.auth-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .25);
    backdrop-filter: blur(6px);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.auth-hero-badge i {
    color: var(--au-sky);
}

.auth-hero-title {
    margin: 18px 0 12px;
    font-size: 2.35rem;
    line-height: 1.2;
    font-weight: 700;
    color: #fff;
}

.auth-hero-text {
    margin: 0 0 24px;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
    max-width: 520px;
}

.auth-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-hero-features li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: .88rem;
    font-weight: 500;
}

.auth-hero-features i {
    color: var(--au-sky);
}

.auth-main {
    position: relative;
    flex: 0 0 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 32px 24px;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(59, 142, 243, .10), transparent 70%),
        radial-gradient(500px 280px at 0% 100%, rgba(143, 211, 240, .18), transparent 70%),
        #f4f7fb;
}

.auth-card {
    margin-top: auto;
    width: 100%;
    max-width: 420px;
    padding: 36px 36px 28px;
    background: #fff;
    border: 1px solid var(--au-line);
    border-radius: 18px;
    box-shadow: 0 24px 48px -24px rgba(16, 48, 72, .28), 0 2px 6px rgba(16, 48, 72, .05);
    animation: auth-rise .55s ease-out both;
}

.auth-brand {
    text-align: center;
    margin-bottom: 20px;
}

.auth-brand img {
    height: 44px;
    width: auto;
}

.auth-heading {
    text-align: center;
    margin-bottom: 26px;
}

.auth-heading h2 {
    margin: 0 0 4px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--au-navy);
}

.auth-heading p {
    margin: 0;
    font-size: .92rem;
    color: var(--au-muted);
}

.auth-form .form-group {
    margin-bottom: 18px;
}

.auth-label {
    display: block;
    margin-bottom: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--au-text);
}

.auth-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.auth-pass-group {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    align-items: baseline;
}

.auth-pass-label {
    grid-column: 1;
    grid-row: 1;
}

.auth-pass-forgot {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
}

.auth-pass-field {
    grid-column: 1 / -1;
    grid-row: 2;
}

.auth-pass-group .auth-caps {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
}

.auth-link {
    font-size: .8rem;
    font-weight: 500;
    color: var(--au-blue);
}

.auth-link:hover {
    color: var(--au-navy-mid);
    text-decoration: underline;
}

.auth-field {
    position: relative;
}

.auth-field-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: .95rem;
    color: #9aa5b4;
    pointer-events: none;
    transition: color .15s ease;
    z-index: 2;
}

.auth-input.form-control {
    height: 50px;
    padding: 0 16px 0 44px;
    font-size: .95rem;
    color: var(--au-text);
    background-color: var(--au-field);
    border: 1px solid var(--au-line);
    border-radius: 12px;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.auth-input.form-control:-webkit-autofill,
.auth-input.form-control:-webkit-autofill:hover,
.auth-input.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--au-text);
    -webkit-box-shadow: 0 0 0 1000px var(--au-field) inset;
    caret-color: var(--au-text);
    transition: background-color 9999s ease-out 0s;
}

.auth-input.form-control:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #fff inset, 0 0 0 4px rgba(59, 142, 243, .14);
}

.auth-input.form-control::placeholder {
    color: #a7b0bd;
}

.auth-input.form-control:focus {
    background-color: #fff;
    border-color: var(--au-blue);
    box-shadow: 0 0 0 4px rgba(59, 142, 243, .14);
}

.auth-field:focus-within .auth-field-icon {
    color: var(--au-blue);
}

.auth-input-pass.form-control {
    padding-right: 48px;
}

.auth-input.form-control.is-invalid {
    border-color: #f1416c;
    background-image: none;
    padding-right: 16px;
}

.auth-input-pass.form-control.is-invalid {
    padding-right: 48px;
}

.auth-input.form-control.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(241, 65, 108, .12);
}

.auth-input.form-control.is-valid {
    background-image: none;
    border-color: var(--au-line);
}

.auth-select.form-control {
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%236b7686' stroke-width='1.6' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.auth-eye {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--au-muted);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
    z-index: 2;
}

.auth-eye:hover,
.auth-eye:focus {
    background: #e8f1fe;
    color: var(--au-navy-mid);
    outline: none;
}

.auth-caps {
    display: none;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--au-amber-soft);
    color: var(--au-amber);
    font-size: .8rem;
    font-weight: 500;
}

.auth-caps.is-on {
    display: inline-flex;
}

.auth-steps .form-group:not(.hide) {
    animation: auth-rise .35s ease-out both;
}

.auth-copy-context,
.auth-identity {
    display: none;
}

.auth-card.has-context .auth-copy-login,
.auth-form.has-context .auth-cred,
.auth-form.has-context .auth-options {
    display: none;
}

.auth-card.has-context .auth-copy-context {
    display: inline;
}

.auth-form.has-context .auth-identity {
    display: flex;
    animation: auth-rise .35s ease-out both;
}

.auth-form.has-context .auth-submit.btn {
    margin-top: 24px;
}

.auth-identity {
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 12px 12px 12px 14px;
    background: #f3f8ff;
    border: 1px solid #dbe8fb;
    border-radius: 14px;
}

.auth-avatar {
    flex: 0 0 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #103048 0%, #184c72 100%);
    color: #fff;
    font-size: 1rem;
}

.auth-identity-text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.auth-identity-text strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .95rem;
    font-weight: 600;
    color: var(--au-navy);
}

.auth-identity-text small {
    font-size: .76rem;
    font-weight: 500;
    color: #1b7a3d;
}

.auth-identity-change {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid #dbe8fb;
    border-radius: 10px;
    background: #fff;
    color: var(--au-navy-mid);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}

.auth-identity-change:hover,
.auth-identity-change:focus-visible {
    border-color: var(--au-blue);
    color: var(--au-blue);
    outline: none;
}

.auth-form.is-busy .auth-identity-change {
    opacity: .55;
    pointer-events: none;
}

.auth-select.form-control {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 22px;
    font-size: .88rem;
    color: var(--au-muted);
}

.auth-options .checkbox > span {
    margin-right: 10px;
}

.auth-submit.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    font-size: 1rem;
    font-weight: 600;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background-color: #103048;
    background-image: linear-gradient(135deg, #103048 0%, #184c72 100%);
    box-shadow: 0 10px 22px -10px rgba(16, 48, 72, .7);
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.auth-submit.btn:hover,
.auth-submit.btn:focus {
    color: #fff;
    filter: brightness(1.12);
    transform: translateY(-1px);
    box-shadow: 0 14px 26px -10px rgba(16, 48, 72, .75);
}

.auth-submit.btn:active {
    transform: translateY(0);
}

.auth-submit.btn i {
    transition: transform .15s ease;
}

.auth-submit.btn:hover i {
    transform: translateX(3px);
}

.auth-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: .78rem;
    color: var(--au-muted);
}

.auth-secure i {
    color: #1b7a3d;
}

.auth-footer {
    margin-bottom: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-size: .82rem;
    color: var(--au-muted);
}

.auth-footer a {
    color: var(--au-muted);
    font-weight: 500;
}

.auth-footer a:hover {
    color: var(--au-navy-mid);
}

.auth-footer-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b5bdc9;
}

.auth-submit.btn {
    position: relative;
}

.auth-submit-idle,
.auth-submit-busy {
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.auth-submit-idle {
    display: inline-flex;
}

.auth-submit-busy {
    display: none;
    font-weight: 500;
    letter-spacing: .01em;
}

.auth-submit.btn.is-busy .auth-submit-idle {
    display: none;
}

.auth-submit.btn.is-busy .auth-submit-busy {
    display: inline-flex;
    animation: auth-fade .2s ease-out both;
}

.auth-submit.btn.is-busy,
.auth-submit.btn.is-busy:hover,
.auth-submit.btn.is-busy:focus,
.auth-submit.btn:disabled {
    opacity: 1;
    cursor: progress;
    filter: none;
    transform: none;
    box-shadow: 0 10px 22px -12px rgba(16, 48, 72, .6);
}

.auth-ecg {
    width: 52px;
    height: 20px;
    overflow: visible;
}

.auth-ecg polyline {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-ecg-base {
    stroke: rgba(255, 255, 255, .2);
}

.auth-ecg-trace {
    stroke: var(--au-sky);
    stroke-dasharray: 30 110;
    stroke-dashoffset: 30;
    filter: drop-shadow(0 0 3px rgba(143, 211, 240, .85));
    animation: auth-ecg 1.4s linear infinite;
}

.auth-form.is-busy .auth-field,
.auth-form.is-busy .auth-options,
.auth-form.is-busy .auth-link {
    opacity: .55;
    pointer-events: none;
    transition: opacity .2s ease;
}

.reliv-mfa-modal .swal2-icon {
    border: 0;
}

.mfa-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, #103048 0%, #184c72 100%);
    box-shadow: 0 12px 24px -12px rgba(16, 48, 72, .7);
    color: #fff;
    font-size: 1.6rem;
}

.mfa-hero-icon.is-ok {
    background: linear-gradient(135deg, #1b7a3d 0%, #25a052 100%);
    box-shadow: 0 12px 24px -12px rgba(27, 122, 61, .6);
}

.mfa-enroll-modal.swal2-popup {
    width: 34em;
    max-width: calc(100vw - 32px);
}

.mfa-lead {
    margin: 4px 0 16px;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--au-muted);
}

.mfa-steps {
    counter-reset: mfa-step;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.mfa-steps > li {
    counter-increment: mfa-step;
    position: relative;
    padding: 0 0 10px 40px;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--au-text);
}

.mfa-steps > li::before {
    content: counter(mfa-step);
    position: absolute;
    left: 0;
    top: -2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e8f1fe;
    color: var(--au-navy-mid);
    font-size: .8rem;
    font-weight: 700;
}

.mfa-steps > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 28px;
    bottom: 4px;
    width: 2px;
    background: #e8f1fe;
}

.mfa-qr {
    display: flex;
    justify-content: center;
    margin: 12px 0 8px;
}

.mfa-qr img {
    width: 160px;
    height: 160px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--au-line);
    border-radius: 14px;
    box-shadow: 0 6px 18px -10px rgba(16, 48, 72, .35);
    image-rendering: pixelated;
}

.mfa-manual {
    margin-top: 4px;
    font-size: .82rem;
}

.mfa-manual summary {
    cursor: pointer;
    color: var(--au-blue);
    font-weight: 500;
}

.mfa-manual small {
    display: block;
    margin-top: 6px;
    color: var(--au-muted);
    word-break: break-all;
}

.mfa-secret {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 8px 8px 8px 12px;
    background: var(--au-field);
    border: 1px dashed var(--au-line);
    border-radius: 10px;
}

.mfa-secret code {
    flex: 1 1 auto;
    background: none;
    color: var(--au-navy);
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .06em;
    word-break: break-all;
}

.mfa-copy {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 1px solid var(--au-line);
    border-radius: 8px;
    background: #fff;
    color: var(--au-navy-mid);
    cursor: pointer;
}

.mfa-copy:hover {
    border-color: var(--au-blue);
    color: var(--au-blue);
}

.mfa-trust {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 18px 0 4px;
    padding: 10px 12px;
    border: 1px solid var(--au-line);
    border-radius: 12px;
    background: var(--au-field);
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.mfa-trust:hover {
    border-color: #c7dbf8;
}

.mfa-trust input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #184c72;
    cursor: pointer;
}

.mfa-trust span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mfa-trust b {
    font-size: .86rem;
    font-weight: 600;
    color: var(--au-text);
}

.mfa-trust small {
    font-size: .76rem;
    color: var(--au-muted);
}

.mfa-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 4px 6px;
    border: 0;
    background: none;
    color: var(--au-blue);
    font-size: .84rem;
    font-weight: 500;
    cursor: pointer;
}

.mfa-link:hover,
.mfa-link:focus-visible {
    color: var(--au-navy-mid);
    text-decoration: underline;
    outline: none;
}

.mfa-recovery-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.mfa-recovery-entry[hidden] {
    display: none;
}

.mfa-recovery-entry .reliv-input {
    max-width: 220px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
}

.mfa-recovery-entry small {
    font-size: .76rem;
    color: var(--au-muted);
}

.mfa-recovery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0 0 14px;
    padding: 14px;
    list-style: none;
    background: var(--au-field);
    border: 1px solid var(--au-line);
    border-radius: 14px;
}

.mfa-recovery-grid code {
    display: block;
    padding: 6px 0;
    background: #fff;
    border: 1px solid var(--au-line-soft, #edf0f4);
    border-radius: 8px;
    color: var(--au-navy);
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-align: center;
}

.mfa-recovery-actions {
    display: flex;
    justify-content: center;
    gap: 8px;
}

@media (max-width: 575.98px) {
    .mfa-recovery-grid {
        grid-template-columns: 1fr;
    }

    .mfa-qr img {
        width: 164px;
        height: 164px;
    }
}

.reliv-mfa-modal .btn-verify-mfa.is-ready {
    box-shadow: 0 0 0 4px rgba(59, 142, 243, .25);
    animation: mfa-ready 1.6s ease-in-out 2;
}

@keyframes mfa-ready {
    50% {
        box-shadow: 0 0 0 7px rgba(59, 142, 243, .12);
    }
}

.reliv-mfa-modal.swal2-popup {
    max-height: calc(100vh - 24px);
}

.reliv-mfa-modal .swal2-icon,
.reliv-mfa-modal .swal2-title,
.reliv-mfa-modal .swal2-actions,
.reliv-mfa-modal .swal2-validation-message {
    flex: none;
}

.reliv-mfa-modal .swal2-content,
.reliv-mfa-modal .swal2-html-container {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.mfa-enroll-modal .swal2-icon {
    margin-top: 4px;
    margin-bottom: 4px;
}

.mfa-enroll-modal .swal2-title {
    margin-bottom: 0;
    padding-top: 0;
}

.mfa-enroll-modal .mfa-lead {
    margin: 2px 0 12px;
}

.mfa-enroll-modal .mfa-trust {
    margin-top: 14px;
}

.mfa-enroll-modal .swal2-actions {
    margin-top: 14px;
}

@media (max-height: 760px) {
    .mfa-qr img {
        width: 136px;
        height: 136px;
    }

    .mfa-hero-icon {
        width: 52px;
        height: 52px;
        border-radius: 16px;
        font-size: 1.3rem;
    }
}

.auth-heading p {
    line-height: 1.55;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fde7e7;
    color: #c62828;
    font-size: 12.5px;
    font-weight: 500;
}

    .auth-alert i {
        margin-top: 2px;
    }

    .auth-alert ul,
    .auth-alert-list ul {
        margin: 0;
        padding: 0;
        list-style: none;
    }

.auth-error {
    display: block;
    margin-top: 6px;
    color: #c62828;
    font-size: 12px;
    font-weight: 500;
}

    .auth-error:empty,
    .auth-error.field-validation-valid {
        display: none;
    }

.auth-input.form-control.input-validation-error {
    border-color: #f1416c;
}

.auth-input.form-control[readonly] {
    background-color: #eef2f7;
    color: #44505e;
    font-weight: 600;
    cursor: default;
}

    .auth-input.form-control[readonly]:focus {
        border-color: var(--au-line);
        box-shadow: none;
    }

a.auth-submit.btn {
    text-decoration: none;
}

    a.auth-submit.btn:hover {
        color: #fff;
    }

.auth-back {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    color: var(--au-muted);
    font-size: 13px;
    font-weight: 500;
}

    .auth-back:hover {
        color: var(--au-navy-mid);
        text-decoration: none;
    }

.auth-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    margin: 4px 0 20px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--au-field);
    list-style: none;
}

    .auth-rules li {
        display: flex;
        align-items: center;
        gap: 7px;
        color: var(--au-muted);
        font-size: 12px;
    }

        .auth-rules li i {
            color: #c3cad4;
            font-size: 10px;
        }

        .auth-rules li.is-ok {
            color: #1b7a3d;
        }

            .auth-rules li.is-ok i {
                color: #1b7a3d;
            }

.auth-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 22px;
    text-align: center;
}

    .auth-result h2 {
        margin: 16px 0 6px;
        color: var(--au-navy);
        font-size: 1.45rem;
        font-weight: 700;
    }

    .auth-result p {
        margin: 0;
        color: var(--au-muted);
        font-size: .92rem;
        line-height: 1.55;
    }

.auth-result-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    color: #fff;
    font-size: 28px;
}

    .auth-result-icon.is-info {
        background: linear-gradient(135deg, var(--au-navy) 0%, var(--au-navy-mid) 100%);
        box-shadow: 0 14px 26px -14px rgba(16, 48, 72, .7);
    }

    .auth-result-icon.is-ok {
        background: linear-gradient(135deg, #1b7a3d 0%, #25a052 100%);
        box-shadow: 0 14px 26px -14px rgba(27, 122, 61, .7);
    }

.auth-result-tips {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin: 18px 0 0;
    padding: 14px;
    border-radius: 12px;
    background: var(--au-field);
    list-style: none;
    text-align: left;
}

    .auth-result-tips li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        color: var(--au-text);
        font-size: 12.5px;
        line-height: 1.45;
    }

        .auth-result-tips li i {
            flex: none;
            width: 16px;
            margin-top: 2px;
            color: var(--au-blue);
            text-align: center;
        }

@media (max-width: 480px) {
    .auth-rules {
        grid-template-columns: 1fr;
    }
}

@keyframes auth-ecg {
    from {
        stroke-dashoffset: 30;
    }

    to {
        stroke-dashoffset: -110;
    }
}

@keyframes auth-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes auth-rise {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1199.98px) {
    .auth-main {
        flex-basis: 460px;
    }

    .auth-hero-content {
        padding: 0 40px 40px;
    }

    .auth-hero-title {
        font-size: 1.95rem;
    }
}

@media (max-width: 991.98px) {
    .auth {
        flex-direction: column;
    }

    .auth-hero {
        position: relative;
        height: auto;
        flex: 0 0 200px;
    }

    .auth-hero-content {
        padding: 0 24px 22px;
    }

    .auth-hero-title {
        margin: 10px 0 0;
        font-size: 1.35rem;
    }

    .auth-hero-title br,
    .auth-hero-text,
    .auth-hero-features {
        display: none;
    }

    .auth-main {
        flex: 1 1 auto;
        justify-content: flex-start;
        padding: 0 16px 24px;
    }

    .auth-card {
        margin-top: -28px;
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 575.98px) {
    .auth-hero {
        flex-basis: 150px;
    }

    .auth-hero-title {
        display: none;
    }

    .auth-card {
        padding: 28px 22px 22px;
        border-radius: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-card,
    .auth-hero-content,
    .auth-steps .form-group:not(.hide),
    .auth-submit.btn.is-busy .auth-submit-busy {
        animation: none;
    }

    .auth-ecg-trace {
        animation: none;
        stroke-dasharray: none;
    }
}

.auth-field .app-combo-select {
    display: flex;
    width: 100%;
}

.auth-field .app-combo-select .app-combo-trigger {
    height: 50px;
    padding: 0 40px 0 44px;
    border: 1px solid var(--au-line);
    border-radius: 12px;
    background: var(--au-field);
    color: var(--au-text);
    font-size: .95rem;
    box-shadow: none;
}

    .auth-field .app-combo-select .app-combo-trigger:hover {
        border-color: #b9c4d3;
    }

.auth-field .app-combo-select.has-value .app-combo-trigger {
    padding-right: 40px;
    border-color: var(--au-line);
    background: var(--au-field);
}

.auth-field .app-combo-select.is-open .app-combo-trigger,
.auth-field .app-combo-select .app-combo-trigger:focus-visible {
    border-color: var(--au-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(59, 142, 243, .14);
}

.auth-field .app-combo-select .app-combo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-field .app-combo-select .app-combo-text.is-placeholder {
    color: #8a94a3;
}

.auth-field .app-combo-select .app-combo-caret {
    right: 16px;
    color: #6b7686;
}

.auth-field .app-combo-select .app-combo-pop {
    width: 100%;
    max-width: none;
    border-radius: 14px;
}

.auth-field .app-combo-select .app-combo-list {
    max-height: 300px;
}

.auth-field:has(.app-combo-select.is-open) .auth-field-icon {
    color: var(--au-blue);
}

.auth-field .app-combo-select.is-disabled {
    opacity: .6;
    pointer-events: none;
}

.auth-form .form-group:has(.app-combo-select.is-open) {
    position: relative;
    z-index: 30;
}

.auth-field:has(.app-combo-select.is-open) {
    z-index: 30;
}
