@font-face {
    font-family: Outfit;
    src: url("../fonts/outfit-variable.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

[x-cloak],
[hidden] {
    display: none !important;
}

.auth-page {
    --auth-ink: #19283d;
    --auth-muted: #647286;
    --auth-blue: #2856d8;
    --auth-blue-dark: #1f45b2;
    --auth-paper: #f6f7f2;
    --auth-line: #dfe4e7;
    margin: 0;
    min-width: 320px;
    background: var(--auth-paper);
    color: var(--auth-ink);
    font-family: Outfit, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.auth-page *,
.auth-page *::before,
.auth-page *::after {
    box-sizing: border-box;
}

.auth-page button,
.auth-page input {
    font: inherit;
}

.auth-page a {
    color: inherit;
    text-decoration: none;
}

.auth-page :focus-visible {
    outline: 3px solid #e2ad35;
    outline-offset: 3px;
}

.auth-skip-link {
    position: fixed;
    top: -80px;
    left: 20px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(25, 40, 61, 0.14);
}

.auth-skip-link:focus {
    top: 16px;
}

.auth-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-topbar,
.auth-footer {
    width: min(1360px, calc(100% - 80px));
    margin: 0 auto;
}

.auth-topbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.auth-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.auth-brand strong,
.auth-brand small {
    display: block;
}

.auth-brand strong {
    font-size: 23px;
    line-height: 1;
    letter-spacing: -0.8px;
}

.auth-brand small {
    margin-top: 6px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.auth-topbar-actions {
    display: flex;
    align-items: center;
    gap: 28px;
}

.auth-home-link,
.auth-tutorial-trigger {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 600;
}

.auth-tutorial-trigger {
    min-height: 42px;
    padding: 0 17px;
    border: 1px solid var(--auth-line);
    border-radius: 8px;
    background: #fff;
    color: var(--auth-ink);
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
}

.auth-home-link:hover,
.auth-tutorial-trigger:hover {
    color: var(--auth-blue);
}

.auth-tutorial-trigger:hover {
    border-color: #aebbe0;
    transform: translateY(-1px);
}

.auth-main {
    width: min(1360px, calc(100% - 80px));
    min-height: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.78fr);
    overflow: hidden;
    border: 1px solid var(--auth-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(25, 40, 61, 0.08);
}

.auth-main--register {
    grid-template-columns: minmax(380px, 0.76fr) minmax(660px, 1.24fr);
}

.auth-visual {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 62px clamp(38px, 5vw, 74px) 38px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 241, 228, 0.82)),
        radial-gradient(circle at 20% 20%, #e3e9ca, transparent 45%);
    border-right: 1px solid var(--auth-line);
}

.auth-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#8f9c78 0.7px, transparent 0.7px);
    background-size: 17px 17px;
    opacity: 0.16;
    pointer-events: none;
}

.auth-visual-copy,
.auth-trust-row {
    position: relative;
    z-index: 2;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--auth-blue);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.7px;
}

.auth-kicker > span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.auth-visual h1 {
    max-width: 620px;
    margin: 22px 0 18px;
    font-size: clamp(43px, 4.2vw, 67px);
    font-weight: 580;
    line-height: 1.02;
    letter-spacing: -3px;
}

.auth-main--register .auth-visual h1 {
    font-size: clamp(40px, 3.5vw, 54px);
}

.auth-main--register .auth-artwork {
    flex: 0 0 350px;
    min-height: 350px;
    margin-top: 12px;
}

.auth-main--register .auth-artwork > img {
    right: -4%;
    bottom: -6%;
    width: min(108%, 560px);
}

.auth-visual h1 em {
    display: block;
    color: var(--auth-blue);
    font-style: normal;
}

.auth-visual-copy > p {
    max-width: 460px;
    color: var(--auth-muted);
    font-size: 15px;
    line-height: 1.75;
}

.auth-artwork {
    position: relative;
    flex: 1;
    min-height: 300px;
    margin: 0 -20px -5px;
}

.auth-artwork > img {
    position: absolute;
    z-index: 1;
    right: 1%;
    bottom: -9%;
    width: min(92%, 600px);
    height: auto;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 24px 30px rgba(57, 66, 44, 0.08));
}

.auth-orbit {
    position: absolute;
    border: 1px solid rgba(92, 111, 61, 0.18);
    border-radius: 50%;
}

.auth-orbit--one {
    width: 390px;
    height: 390px;
    right: 2%;
    bottom: -6%;
}

.auth-orbit--two {
    width: 260px;
    height: 260px;
    right: 14%;
    bottom: 6%;
}

.auth-score-chip {
    position: absolute;
    z-index: 3;
    right: 2%;
    top: 18%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    border: 1px solid rgba(207, 215, 190, 0.9);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 35px rgba(25, 40, 61, 0.09);
    backdrop-filter: blur(10px);
}

.auth-score-chip > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #e9edda;
    color: #526830;
}

.auth-score-chip small,
.auth-score-chip strong {
    display: block;
}

.auth-score-chip small {
    color: var(--auth-muted);
    font-size: 9px;
}

.auth-score-chip strong {
    margin-top: 2px;
    font-size: 12px;
}

.auth-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #59677a;
    font-size: 11px;
    font-weight: 600;
}

.auth-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.auth-trust-row i {
    color: var(--auth-blue);
}

.auth-form-panel {
    display: flex;
    align-items: center;
    padding: 52px clamp(38px, 4vw, 68px);
}

.auth-form-panel--register {
    align-items: flex-start;
    padding-top: 48px;
    padding-bottom: 48px;
}

.auth-form {
    width: min(100%, 490px);
    margin: auto;
}

.auth-form--register {
    width: min(100%, 780px);
}

.auth-step-label {
    color: var(--auth-blue);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 1.8px;
}

.auth-form-heading h2 {
    margin: 10px 0 8px;
    font-size: clamp(32px, 3.1vw, 43px);
    line-height: 1.08;
    font-weight: 620;
    letter-spacing: -1.7px;
}

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

.auth-account-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 29px 0;
    padding: 5px;
    border-radius: 13px;
    background: #f0f2f3;
}

.auth-account-tabs > button {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: #677386;
    text-align: left;
    cursor: pointer;
}

.auth-account-tabs > button.is-active {
    border-color: #e0e4e7;
    background: #fff;
    color: var(--auth-ink);
    box-shadow: 0 4px 12px rgba(25, 40, 61, 0.06);
}

.auth-tab-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e5e8e9;
    color: #6d7888;
}

.is-active .auth-tab-icon {
    background: #e9edff;
    color: var(--auth-blue);
}

.auth-account-tabs strong,
.auth-account-tabs small {
    display: block;
}

.auth-account-tabs strong {
    font-size: 12px;
}

.auth-account-tabs small {
    margin-top: 2px;
    font-size: 9px;
    font-weight: 500;
}

.auth-fields {
    display: grid;
    gap: 20px;
}

.auth-field > label,
.auth-label-row label {
    display: block;
    margin-bottom: 8px;
    color: #354257;
    font-size: 12px;
    font-weight: 650;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.auth-label-row a {
    margin-bottom: 8px;
    color: var(--auth-blue);
    font-size: 11px;
    font-weight: 650;
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap > i:first-child {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    z-index: 1;
    color: #8d98a7;
    font-size: 14px;
    pointer-events: none;
}

.auth-input-wrap input {
    width: 100%;
    min-height: 51px;
    padding: 0 46px;
    border: 1px solid #d7dde1;
    border-radius: 9px;
    background: #fbfcfa;
    color: var(--auth-ink);
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.auth-input-wrap input::placeholder {
    color: #a2aab5;
}

.auth-input-wrap input:hover {
    border-color: #b9c1c9;
}

.auth-input-wrap input:focus {
    border-color: var(--auth-blue);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(40, 86, 216, 0.1);
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #7d8999;
    cursor: pointer;
}

.auth-password-toggle:hover {
    background: #edf0f2;
    color: var(--auth-blue);
}

.auth-error {
    margin-top: 7px !important;
    color: #b42318 !important;
    font-size: 11px !important;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: #59677a;
    font-size: 12px;
    cursor: pointer;
}

.auth-check input {
    width: 17px;
    height: 17px;
    border: 1px solid #cbd2d8;
    border-radius: 4px;
    color: var(--auth-blue);
}

.auth-primary-button,
.auth-secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 53px;
    padding: 0 21px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-primary-button {
    border: 1px solid var(--auth-blue);
    background: var(--auth-blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(40, 86, 216, 0.2);
}

.auth-fields .auth-primary-button {
    width: 100%;
}

.auth-primary-button:hover {
    background: var(--auth-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(40, 86, 216, 0.25);
}

.auth-secondary-button {
    border: 1px solid #cbd5f3;
    background: #f2f5ff;
    color: var(--auth-blue);
}

.auth-secondary-button:hover {
    border-color: #9bacdf;
    background: #e9eeff;
}

.auth-form-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 28px;
    padding-top: 23px;
    border-top: 1px solid #e6e9eb;
    color: var(--auth-muted);
    font-size: 12px;
}

.auth-form-foot a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--auth-blue);
    font-weight: 700;
}

.auth-alert,
.auth-session-status:not(:empty) {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 12px;
    line-height: 1.5;
}

.auth-alert--error {
    border: 1px solid #f5c5c0;
    background: #fff3f1;
    color: #992d22;
}

.auth-session-status:not(:empty) {
    border: 1px solid #b9e1ca;
    background: #effaf3;
    color: #176b3a;
}

.auth-section {
    margin: 28px 0 0;
    padding: 25px 0 0;
    border: 0;
    border-top: 1px solid #e5e9eb;
}

.auth-section--choice {
    padding-top: 0;
    border-top: 0;
}

.auth-section--choice legend,
.auth-section-heading h3 {
    margin: 0;
    color: var(--auth-ink);
    font-size: 14px;
    font-weight: 700;
}

.auth-section--choice > p,
.auth-section-heading p {
    margin: 4px 0 0;
    color: var(--auth-muted);
    font-size: 11px;
}

.auth-type-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.auth-type-options label {
    position: relative;
    cursor: pointer;
}

.auth-type-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-type-options label > span {
    min-height: 70px;
    display: grid;
    grid-template-columns: 35px 1fr;
    align-content: center;
    column-gap: 11px;
    padding: 12px 14px;
    border: 1px solid #dce1e4;
    border-radius: 10px;
    background: #fbfcfa;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-type-options label > span > i {
    grid-row: 1 / span 2;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    align-self: center;
    border-radius: 8px;
    background: #eef0ee;
    color: #727e8b;
}

.auth-type-options strong,
.auth-type-options small {
    display: block;
}

.auth-type-options strong {
    font-size: 12px;
}

.auth-type-options small {
    margin-top: 2px;
    color: var(--auth-muted);
    font-size: 10px;
}

.auth-type-options input:checked + span {
    border-color: #9daee3;
    background: #f1f4ff;
    box-shadow: 0 0 0 3px rgba(40, 86, 216, 0.08);
}

.auth-type-options input:checked + span > i {
    background: var(--auth-blue);
    color: #fff;
}

.auth-type-options input:focus-visible + span {
    outline: 3px solid #e2ad35;
    outline-offset: 3px;
}

.auth-internal-section {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #dbe2f4;
    border-radius: 13px;
    background: #f7f9ff;
}

.auth-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.auth-section-number {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9edff;
    color: var(--auth-blue);
    font-size: 9px;
    font-weight: 800;
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.auth-grid--verify {
    margin-bottom: 14px;
}

.auth-field--wide {
    grid-column: 1 / -1;
}

.auth-verification {
    margin-top: 12px;
    padding: 11px 13px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
}

.auth-verification.is-loading {
    border: 1px solid #d8dde2;
    background: #f5f6f7;
    color: #566273;
}

.auth-verification.is-success {
    border: 1px solid #b9e1ca;
    background: #effaf3;
    color: #176b3a;
}

.auth-verification.is-error {
    border: 1px solid #f5c5c0;
    background: #fff3f1;
    color: #992d22;
}

.auth-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 28px;
}

.auth-submit-row > p {
    max-width: 350px;
    margin: 0;
    color: var(--auth-muted);
    font-size: 10px;
    line-height: 1.5;
}

.auth-submit-row > p i {
    margin-right: 5px;
    color: var(--auth-blue);
}

.auth-form-foot--register {
    margin-top: 22px;
    padding-top: 19px;
}

.auth-footer {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #7b8795;
    font-size: 10px;
}

.auth-footer a {
    color: var(--auth-blue);
    font-weight: 700;
}

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 20px;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 24, 38, 0.66);
    backdrop-filter: blur(7px);
    cursor: pointer;
}

.auth-modal-dialog {
    position: relative;
    width: min(100%, 720px);
    max-height: 90vh;
    overflow: auto;
    padding: 28px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(8, 16, 30, 0.3);
}

.auth-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.auth-modal-header h2 {
    margin: 9px 0 0;
    font-size: 27px;
    letter-spacing: -0.8px;
}

.auth-modal-close {
    width: 40px;
    height: 40px;
    border: 1px solid #dce1e4;
    border-radius: 50%;
    background: #fff;
    color: #697585;
    cursor: pointer;
}

.auth-tutorial-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 25px;
}

.auth-tutorial-options button {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 17px;
    border: 1px solid #dfe4e7;
    border-radius: 11px;
    background: #fafbf9;
    color: var(--auth-ink);
    text-align: left;
    cursor: pointer;
}

.auth-tutorial-options button:hover {
    border-color: #9cace0;
    background: #f3f6ff;
}

.auth-tutorial-options button > i:first-child {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: #e9edff;
    color: var(--auth-blue);
}

.auth-tutorial-options strong,
.auth-tutorial-options small {
    display: block;
}

.auth-tutorial-options strong {
    font-size: 13px;
}

.auth-tutorial-options small {
    margin-top: 3px;
    color: var(--auth-muted);
    font-size: 10px;
}

.auth-video {
    position: relative;
    margin-top: 24px;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 12px;
    background: #111827;
}

.auth-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1080px) {
    .auth-main,
    .auth-main--register {
        grid-template-columns: minmax(320px, 0.72fr) minmax(480px, 1fr);
    }

    .auth-visual {
        padding: 45px 34px 30px;
    }

    .auth-visual h1,
    .auth-main--register .auth-visual h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .auth-artwork > img {
        width: 110%;
        right: -15%;
    }

    .auth-form-panel {
        padding: 44px 34px;
    }
}

@media (max-width: 820px) {
    .auth-topbar,
    .auth-footer,
    .auth-main {
        width: min(100% - 32px, 680px);
    }

    .auth-main,
    .auth-main--register {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 270px;
        padding: 38px 34px;
        border-right: 0;
        border-bottom: 1px solid var(--auth-line);
    }

    .auth-visual h1,
    .auth-main--register .auth-visual h1 {
        max-width: 520px;
        margin: 15px 0 12px;
        font-size: 38px;
    }

    .auth-visual-copy > p {
        max-width: 460px;
    }

    .auth-artwork {
        position: absolute;
        right: -70px;
        bottom: -74px;
        width: 300px;
        height: 300px;
        opacity: 0.62;
    }

    .auth-score-chip,
    .auth-trust-row {
        display: none;
    }

    .auth-form-panel,
    .auth-form-panel--register {
        padding: 42px 34px;
    }
}

@media (max-width: 600px) {
    .auth-topbar {
        min-height: 72px;
    }

    .auth-home-link {
        display: none;
    }

    .auth-main {
        width: calc(100% - 20px);
        border-radius: 15px;
    }

    .auth-visual {
        min-height: 215px;
        padding: 28px 23px;
    }

    .auth-visual h1,
    .auth-main--register .auth-visual h1 {
        max-width: 360px;
        font-size: 31px;
        letter-spacing: -1.4px;
    }

    .auth-visual-copy > p {
        display: none;
    }

    .auth-artwork {
        right: -80px;
        bottom: -82px;
        width: 250px;
        opacity: 0.5;
    }

    .auth-form-panel,
    .auth-form-panel--register {
        padding: 34px 21px;
    }

    .auth-form-heading h2 {
        font-size: 31px;
    }

    .auth-account-tabs,
    .auth-type-options,
    .auth-grid,
    .auth-tutorial-options {
        grid-template-columns: 1fr;
    }

    .auth-account-tabs > button {
        padding: 9px;
    }

    .auth-field--wide {
        grid-column: auto;
    }

    .auth-internal-section {
        padding: 17px;
    }

    .auth-submit-row {
        align-items: stretch;
        flex-direction: column;
    }

    .auth-submit-row .auth-primary-button {
        width: 100%;
    }

    .auth-form-foot {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }

    .auth-footer {
        width: calc(100% - 32px);
        min-height: 90px;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        gap: 7px;
    }

    .auth-modal-dialog {
        padding: 21px;
    }
}

.auth-main.auth-main--admin {
    width: min(100% - 32px, 560px);
    min-height: 0;
    height: min(590px, calc(100dvh - 150px));
    flex: 0 1 auto;
    margin-top: auto;
    margin-bottom: auto;
}

.auth-main--admin .auth-form-panel--admin {
    padding: 34px clamp(30px, 4vw, 50px);
}

.auth-form--admin {
    width: 100%;
    max-width: 440px;
}

.admin-auth-heading {
    text-align: center;
}

.admin-auth-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 0 auto 15px;
    border: 1px solid #d7def3;
    border-radius: 14px;
    background: #eef2ff;
    color: var(--auth-blue);
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(40, 86, 216, 0.1);
}

.admin-auth-heading h2 {
    margin: 8px 0 6px;
    color: var(--auth-ink);
    font-size: 32px;
    font-weight: 620;
    line-height: 1.1;
    letter-spacing: -1.2px;
}

.admin-auth-heading p {
    margin: 0;
    color: var(--auth-muted);
    font-size: 13px;
}

.admin-auth-fields {
    gap: 16px;
    margin-top: 24px;
}

.admin-auth-fields .auth-primary-button {
    width: 100%;
}

.admin-security-note {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px solid #e6dfbf;
    border-radius: 9px;
    background: #fffbed;
    color: #68591d;
}

.admin-security-note > i {
    margin-top: 2px;
    color: #b38a00;
}

.admin-security-note strong {
    display: block;
    font-size: 11px;
}

.admin-security-note p {
    margin: 2px 0 0;
    color: #786d43;
    font-size: 10px;
    line-height: 1.45;
}

@media (max-height: 680px) and (min-width: 601px) {
    .auth-main.auth-main--admin {
        height: calc(100dvh - 118px);
    }

    .auth-main--admin .auth-form-panel--admin {
        align-items: flex-start;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .admin-auth-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 11px;
    }

    .admin-auth-heading h2 {
        font-size: 28px;
    }

    .admin-auth-fields {
        margin-top: 18px;
    }
}

@media (max-width: 600px) {
    .auth-main.auth-main--admin {
        width: calc(100% - 20px);
        height: calc(100dvh - 114px);
    }

    .auth-main--admin .auth-form-panel--admin {
        padding: 28px 21px;
    }

    .admin-auth-heading h2 {
        font-size: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-page *,
    .auth-page *::before,
    .auth-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Illustration-free, viewport-height authentication layout. */
.auth-site {
    height: 100vh;
    height: 100dvh;
    min-height: 580px;
    overflow: hidden;
}

.auth-topbar {
    min-height: 72px;
    flex: 0 0 72px;
}

.auth-main.auth-main--viewport,
.auth-main.auth-main--viewport.auth-main--register {
    width: min(100% - 32px, 590px);
    min-height: 0;
    flex: 1 1 auto;
    display: block;
    border-radius: 18px;
}

.auth-main.auth-main--viewport.auth-main--register {
    width: min(100% - 32px, 940px);
}

.auth-main--viewport .auth-form-panel,
.auth-main--viewport .auth-form-panel--register {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 32px clamp(28px, 4vw, 52px);
    scrollbar-color: #c5ccd2 transparent;
    scrollbar-width: thin;
}

.auth-main--viewport .auth-form-panel--register {
    align-items: flex-start;
    padding: 30px clamp(28px, 4vw, 48px);
}

.auth-main--viewport .auth-form-panel::-webkit-scrollbar {
    width: 6px;
}

.auth-main--viewport .auth-form-panel::-webkit-scrollbar-thumb {
    border-radius: 99px;
    background: #c5ccd2;
}

.auth-main--viewport .auth-form {
    margin: auto;
}

.auth-main--viewport .auth-form--register {
    margin: 0 auto;
}

.auth-footer {
    min-height: 52px;
    flex: 0 0 52px;
}

@media (max-height: 720px) and (min-width: 601px) {
    .auth-topbar {
        min-height: 62px;
        flex-basis: 62px;
    }

    .auth-brand img {
        width: 36px;
        height: 36px;
    }

    .auth-main--viewport .auth-form-panel {
        align-items: flex-start;
        padding-top: 27px;
        padding-bottom: 27px;
    }

    .auth-footer {
        min-height: 42px;
        flex-basis: 42px;
    }
}

@media (max-width: 600px) {
    .auth-site {
        min-height: 540px;
    }

    .auth-topbar {
        width: calc(100% - 28px);
        min-height: 66px;
        flex-basis: 66px;
    }

    .auth-brand img {
        width: 36px;
        height: 36px;
    }

    .auth-brand strong {
        font-size: 20px;
    }

    .auth-tutorial-trigger {
        min-height: 38px;
        padding: 0 13px;
    }

    .auth-main.auth-main--viewport,
    .auth-main.auth-main--viewport.auth-main--register {
        width: calc(100% - 20px);
        border-radius: 14px;
    }

    .auth-main--viewport .auth-form-panel,
    .auth-main--viewport .auth-form-panel--register {
        padding: 28px 21px;
    }

    .auth-footer {
        width: calc(100% - 28px);
        min-height: 48px;
        flex: 0 0 48px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }

    .auth-footer > span:first-child {
        display: none;
    }
}
