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

.nb-auth-page {
    --nb-auth-navy: #0b1736;
    --nb-auth-blue: #2563eb;
    --nb-auth-blue-dark: #1d4ed8;
    --nb-auth-cyan: #24d4d7;
    --nb-auth-text: #0f172a;
    --nb-auth-muted: #64748b;
    --nb-auth-border: #dce5f0;
    --nb-auth-surface: #ffffff;
    --nb-auth-field: #f8fafc;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: calc(100vh - 150px);
    padding: clamp(18px, 2.6vw, 36px) 24px 44px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(37, 99, 235, .12), transparent 27%),
        radial-gradient(circle at 92% 88%, rgba(36, 212, 215, .11), transparent 25%),
        #f4f7fb;
    color: var(--nb-auth-text);
}

.nb-auth-page::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .32;
    background-image:
        linear-gradient(rgba(148, 163, 184, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .14) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .65), transparent 82%);
}

.nb-auth-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(460px, 1.08fr) minmax(0, .92fr);
    width: min(1120px, 100%);
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, .78);
    border-radius: 30px;
    background: var(--nb-auth-surface);
    box-shadow: 0 32px 90px rgba(15, 23, 42, .15), 0 8px 24px rgba(15, 23, 42, .06);
}

.nb-auth-page--register .nb-auth-shell {
    grid-template-columns: minmax(600px, 1.28fr) minmax(340px, .72fr);
    width: min(1240px, 100%);
}

.nb-auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    grid-column: 2;
    grid-row: 1;
    min-height: 540px;
    padding: 34px 38px;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 16%, rgba(59, 130, 246, .4), transparent 28%),
        radial-gradient(circle at 18% 88%, rgba(36, 212, 215, .19), transparent 26%),
        linear-gradient(145deg, #08142f 0%, #10235a 56%, #172f74 100%);
    color: #ffffff;
}

.nb-auth-page--register .nb-auth-visual {
    min-height: 790px;
}

.nb-auth-page--recovery .nb-auth-visual {
    min-height: 540px;
}

.nb-auth-page--reset .nb-auth-visual {
    min-height: 610px;
}

.nb-auth-visual::before,
.nb-auth-visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border: 1px solid rgba(125, 211, 252, .15);
    border-radius: 50%;
}

.nb-auth-visual::before {
    width: 420px;
    height: 420px;
    right: -215px;
    top: -145px;
    box-shadow: 0 0 0 56px rgba(59, 130, 246, .045), 0 0 0 112px rgba(59, 130, 246, .025);
}

.nb-auth-visual::after {
    width: 220px;
    height: 220px;
    left: -130px;
    bottom: 54px;
    box-shadow: 0 0 0 40px rgba(34, 211, 238, .045);
}

.nb-auth-visual__content,
.nb-auth-brand,
.nb-auth-features,
.nb-auth-visual__foot {
    position: relative;
    z-index: 2;
}

.nb-auth-brand {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
}

.nb-auth-brand img {
    display: block;
    width: auto;
    height: 34px;
    max-width: 178px;
    object-fit: contain;
}

.nb-auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 30px;
    padding: 7px 11px;
    border: 1px solid rgba(147, 197, 253, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: #bfdbfe;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.nb-auth-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--nb-auth-cyan);
    box-shadow: 0 0 0 4px rgba(36, 212, 215, .12);
}

.nb-auth-visual h2 {
    max-width: 440px;
    margin: 15px 0 0;
    color: #ffffff;
    font-size: clamp(29px, 2.8vw, 38px);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.nb-auth-visual__lead {
    max-width: 430px;
    margin: 12px 0 0;
    color: #b8c7e6;
    font-size: 15px;
    line-height: 1.6;
}

.nb-auth-features {
    display: grid;
    gap: 9px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.nb-auth-features li {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #e7eefc;
    font-size: 13px;
    font-weight: 650;
}

.nb-auth-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(94, 234, 212, .24);
    border-radius: 9px;
    background: rgba(36, 212, 215, .1);
    color: #5eead4;
}

.nb-auth-feature-icon svg {
    width: 15px;
    height: 15px;
}

.nb-auth-visual__foot {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 24px;
    color: #b8c7e6;
    font-size: 12px;
    font-weight: 650;
}

.nb-auth-visual__foot svg {
    width: 16px;
    height: 16px;
    color: #5eead4;
}

.nb-auth-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding: 32px clamp(34px, 4vw, 52px);
    background: rgba(255, 255, 255, .98);
}

.nb-auth-page--register .nb-auth-panel {
    justify-content: flex-start;
    padding: 34px clamp(28px, 3.2vw, 44px);
}

.nb-auth-panel__inner {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
}

.nb-auth-page--register .nb-auth-panel__inner {
    max-width: 720px;
}

.nb-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--nb-auth-blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.nb-auth-eyebrow svg {
    width: 16px;
    height: 16px;
}

.nb-auth-panel h1 {
    margin: 0;
    color: var(--nb-auth-text);
    font-size: clamp(28px, 2.7vw, 36px);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1.12;
}

.nb-auth-subtitle {
    margin: 8px 0 0;
    color: var(--nb-auth-muted);
    font-size: 14px;
    line-height: 1.65;
}

.nb-auth-subtitle a,
.nb-auth-link {
    color: var(--nb-auth-blue);
    font-weight: 800;
    text-decoration: none;
    text-underline-offset: 3px;
}

.nb-auth-subtitle a:hover,
.nb-auth-link:hover {
    color: var(--nb-auth-blue-dark);
    text-decoration: underline;
}

.nb-auth-alerts {
    margin-top: 22px;
}

.nb-auth-alerts:empty {
    display: none;
}

.nb-auth-notice,
.nb-auth-alerts .alert {
    position: relative;
    margin: 0;
    padding: 13px 15px 13px 44px;
    border: 1px solid;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.55;
}

.nb-auth-notice::before,
.nb-auth-alerts .alert::before {
    position: absolute;
    top: 13px;
    left: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.nb-auth-notice strong {
    display: block;
    margin-bottom: 2px;
    color: inherit;
    font-size: 13px;
}

.nb-auth-notice p,
.nb-auth-notice ul {
    margin: 3px 0 0;
}

.nb-auth-notice ul {
    padding-left: 18px;
}

.nb-auth-notice--error,
.nb-auth-alerts .alert-danger {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b42318;
}

.nb-auth-notice--error::before,
.nb-auth-alerts .alert-danger::before {
    content: "!";
    background: #dc2626;
    color: #ffffff;
}

.nb-auth-notice--success,
.nb-auth-alerts .alert-success {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.nb-auth-notice--success::before,
.nb-auth-alerts .alert-success::before {
    content: "✓";
    background: #059669;
    color: #ffffff;
}

.nb-auth-alerts .alert-info {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.nb-auth-alerts .alert-info::before {
    content: "i";
    background: #2563eb;
    color: #ffffff;
}

.nb-auth-form {
    margin-top: 22px;
}

.nb-auth-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
}

.nb-auth-form-stack {
    display: grid;
    gap: 14px;
}

.nb-auth-field {
    min-width: 0;
}

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

.nb-auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.nb-auth-label {
    display: block;
    margin-bottom: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.nb-auth-label-row .nb-auth-label {
    margin-bottom: 0;
}

.nb-auth-input-wrap,
.nb-auth-phone-wrap,
.nb-auth-password-wrap {
    position: relative;
}

.nb-auth-input-icon {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 16px;
    width: 19px;
    height: 19px;
    color: #94a3b8;
    transform: translateY(-50%);
    pointer-events: none;
}

.nb-auth-input,
.nb-auth-select {
    display: block;
    width: 100%;
    min-height: 50px;
    margin: 0;
    padding: 11px 15px;
    border: 1px solid var(--nb-auth-border);
    border-radius: 13px;
    outline: none;
    background: var(--nb-auth-field);
    color: var(--nb-auth-text);
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .025);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.nb-auth-input-wrap .nb-auth-input {
    padding-left: 47px;
}

.nb-auth-input::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.nb-auth-input:hover,
.nb-auth-select:hover,
.nb-auth-phone-wrap:hover {
    border-color: #b8c6d9;
}

.nb-auth-input:focus,
.nb-auth-select:focus,
.nb-auth-phone-wrap:focus-within,
.nb-auth-password-wrap:focus-within {
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .11);
}

.nb-auth-input:focus + .nb-auth-input-icon,
.nb-auth-input-wrap:focus-within .nb-auth-input-icon {
    color: var(--nb-auth-blue);
}

.nb-auth-select {
    appearance: none;
    padding-right: 42px;
    cursor: pointer;
}

.nb-auth-select-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 18px;
    height: 18px;
    color: #64748b;
    transform: translateY(-50%);
    pointer-events: none;
}

.nb-auth-phone-wrap {
    display: flex;
    min-height: 50px;
    overflow: hidden;
    border: 1px solid var(--nb-auth-border);
    border-radius: 13px;
    background: var(--nb-auth-field);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.nb-auth-phone-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 74px;
    padding: 0 15px;
    border-right: 1px solid var(--nb-auth-border);
    background: #eef3f9;
    color: #475569;
    font-size: 14px;
    font-weight: 800;
}

.nb-auth-phone-wrap .nb-auth-input {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.nb-auth-help {
    margin: 7px 0 0;
    color: var(--nb-auth-muted);
    font-size: 12px;
    line-height: 1.5;
}

.nb-auth-help--error {
    color: #dc2626;
    font-weight: 700;
}

.nb-auth-help--success {
    color: #059669;
    font-weight: 700;
}

.nb-auth-password-wrap {
    overflow: hidden;
    border: 1px solid var(--nb-auth-border);
    border-radius: 13px;
    background: var(--nb-auth-field);
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.nb-auth-password-wrap .nb-auth-input {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.nb-auth-password-meter {
    height: 4px;
    background: #e2e8f0;
}

.nb-auth-password-meter > div {
    height: 100%;
    transition: width .25s ease, background-color .25s ease;
}

.nb-auth-meter--danger {
    background: #ef4444;
}

.nb-auth-meter--warning {
    background: #f59e0b;
}

.nb-auth-meter--success {
    background: #10b981;
}

.nb-auth-password-feedback {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-top: 7px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
}

.nb-auth-password-feedback__good {
    color: #059669;
}

.nb-auth-password-feedback__bad {
    color: #dc2626;
}

.nb-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.nb-auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #475569;
    font-size: 13px;
    line-height: 1.55;
}

.nb-auth-check input {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    accent-color: var(--nb-auth-blue);
}

.nb-auth-agreements {
    display: grid;
    gap: 10px;
    grid-column: 1 / -1;
    margin-top: 16px;
    padding: 13px 14px;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    background: #f5f9ff;
}

.nb-auth-register-submit {
    margin-top: 14px;
}

.nb-auth-agreements a {
    color: var(--nb-auth-blue);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.nb-auth-agreements a:hover {
    text-decoration: underline;
}

.nb-auth-captcha {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow: hidden;
}

.nb-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    width: 100%;
    min-height: 52px;
    padding: 11px 20px;
    border: 1px solid transparent;
    border-radius: 13px;
    outline: none;
    background: linear-gradient(135deg, #2563eb, #1749c6);
    color: #ffffff;
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    letter-spacing: -.01em;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(37, 99, 235, .24);
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.nb-auth-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 17px 34px rgba(37, 99, 235, .3);
}

.nb-auth-submit:active {
    transform: translateY(0);
}

.nb-auth-submit:focus-visible,
.nb-auth-link:focus-visible,
.nb-auth-check a:focus-visible,
.nb-auth-check input:focus-visible {
    outline: 3px solid rgba(37, 99, 235, .28);
    outline-offset: 3px;
}

.nb-auth-submit svg {
    width: 19px;
    height: 19px;
}

.nb-auth-info-card {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 16px;
    padding: 12px 13px;
    border: 1px solid #dbeafe;
    border-radius: 13px;
    background: #f5f9ff;
    color: #526278;
    font-size: 11px;
    line-height: 1.55;
}

.nb-auth-info-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 27px;
    height: 27px;
    border-radius: 8px;
    background: #dbeafe;
    color: var(--nb-auth-blue);
}

.nb-auth-info-card__icon svg {
    width: 15px;
    height: 15px;
}

.nb-auth-info-card strong {
    display: block;
    color: #334155;
    font-size: 11px;
}

.nb-auth-support {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e8edf4;
    color: var(--nb-auth-muted);
    font-size: 12px;
    line-height: 1.55;
}

.nb-auth-support__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 37px;
    height: 37px;
    border-radius: 11px;
    background: #eff6ff;
    color: var(--nb-auth-blue);
}

.nb-auth-support__icon svg {
    width: 18px;
    height: 18px;
}

.nb-auth-support strong {
    display: block;
    margin-bottom: 1px;
    color: #334155;
    font-size: 12px;
}

html.dark .nb-auth-page {
    --nb-auth-text: #f8fafc;
    --nb-auth-muted: #9cabc0;
    --nb-auth-border: #2b3a51;
    --nb-auth-surface: #0b1323;
    --nb-auth-field: #111d30;
    background:
        radial-gradient(circle at 8% 12%, rgba(37, 99, 235, .16), transparent 27%),
        radial-gradient(circle at 92% 88%, rgba(36, 212, 215, .1), transparent 25%),
        #050b16;
}

html.dark .nb-auth-page::before {
    opacity: .15;
}

html.dark .nb-auth-shell {
    border-color: #26344b;
    box-shadow: 0 35px 95px rgba(0, 0, 0, .42);
}

html.dark .nb-auth-panel {
    background: rgba(11, 19, 35, .99);
}

html.dark .nb-auth-label,
html.dark .nb-auth-support strong {
    color: #dbe7f5;
}

html.dark .nb-auth-input,
html.dark .nb-auth-select,
html.dark .nb-auth-phone-wrap,
html.dark .nb-auth-password-wrap {
    color: #f8fafc;
    background-color: #111d30;
}

html.dark .nb-auth-input:focus,
html.dark .nb-auth-select:focus,
html.dark .nb-auth-phone-wrap:focus-within,
html.dark .nb-auth-password-wrap:focus-within {
    background-color: #101b2d;
}

html.dark .nb-auth-phone-code {
    border-color: #2b3a51;
    background: #0c1627;
    color: #bdc9da;
}

html.dark .nb-auth-password-meter {
    background: #26364d;
}

html.dark .nb-auth-check {
    color: #bdc9da;
}

html.dark .nb-auth-agreements {
    border-color: rgba(59, 130, 246, .24);
    background: rgba(30, 64, 175, .11);
}

html.dark .nb-auth-info-card {
    border-color: rgba(59, 130, 246, .24);
    background: rgba(30, 64, 175, .11);
    color: #aebdd0;
}

html.dark .nb-auth-info-card__icon {
    background: rgba(37, 99, 235, .18);
    color: #60a5fa;
}

html.dark .nb-auth-info-card strong {
    color: #dbe7f5;
}

html.dark .nb-auth-support {
    border-color: #243247;
}

html.dark .nb-auth-support__icon {
    background: rgba(37, 99, 235, .14);
    color: #60a5fa;
}

html.dark .nb-auth-notice--error,
html.dark .nb-auth-alerts .alert-danger {
    border-color: rgba(248, 113, 113, .28);
    background: rgba(127, 29, 29, .2);
    color: #fecaca;
}

html.dark .nb-auth-notice--success,
html.dark .nb-auth-alerts .alert-success {
    border-color: rgba(52, 211, 153, .28);
    background: rgba(6, 78, 59, .22);
    color: #a7f3d0;
}

html.dark .nb-auth-alerts .alert-info {
    border-color: rgba(96, 165, 250, .28);
    background: rgba(30, 64, 175, .2);
    color: #bfdbfe;
}

html.dark .nb-auth-help--error {
    color: #fca5a5;
}

html.dark .nb-auth-help--success {
    color: #6ee7b7;
}

@media (min-width: 861px) and (max-height: 820px) {
    .nb-auth-page {
        padding-top: 14px;
        padding-bottom: 30px;
    }

    .nb-auth-page--login .nb-auth-visual {
        min-height: 500px;
        padding: 28px 34px;
    }

    .nb-auth-page--recovery .nb-auth-visual,
    .nb-auth-page--reset .nb-auth-visual {
        min-height: 500px;
        padding: 28px 34px;
    }

    .nb-auth-page--login .nb-auth-panel,
    .nb-auth-page--recovery .nb-auth-panel,
    .nb-auth-page--reset .nb-auth-panel {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .nb-auth-page--login .nb-auth-kicker,
    .nb-auth-page--recovery .nb-auth-kicker,
    .nb-auth-page--reset .nb-auth-kicker {
        margin-top: 22px;
    }

    .nb-auth-page--login .nb-auth-visual h2,
    .nb-auth-page--recovery .nb-auth-visual h2,
    .nb-auth-page--reset .nb-auth-visual h2 {
        font-size: 32px;
    }

    .nb-auth-page--login .nb-auth-form,
    .nb-auth-page--recovery .nb-auth-form,
    .nb-auth-page--reset .nb-auth-form {
        margin-top: 18px;
    }

    .nb-auth-page--login .nb-auth-form-stack,
    .nb-auth-page--recovery .nb-auth-form-stack,
    .nb-auth-page--reset .nb-auth-form-stack {
        gap: 12px;
    }

    .nb-auth-page--login .nb-auth-support,
    .nb-auth-page--recovery .nb-auth-support,
    .nb-auth-page--reset .nb-auth-support {
        margin-top: 14px;
        padding-top: 12px;
    }

    .nb-auth-page--register .nb-auth-visual {
        min-height: 760px;
    }
}

@media (max-width: 1024px) {
    .nb-auth-shell,
    .nb-auth-page--register .nb-auth-shell {
        grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr);
    }

    .nb-auth-visual,
    .nb-auth-page--register .nb-auth-visual {
        padding: 34px;
    }

    .nb-auth-page--register .nb-auth-panel {
        padding-inline: 34px;
    }
}

@media (max-width: 860px) {
    .nb-auth-page {
        align-items: flex-start;
        padding: 18px 18px 36px;
    }

    .nb-auth-shell,
    .nb-auth-page--register .nb-auth-shell {
        grid-template-columns: 1fr;
        max-width: 720px;
    }

    .nb-auth-panel,
    .nb-auth-page--register .nb-auth-panel {
        grid-column: 1;
        grid-row: 1;
    }

    .nb-auth-visual,
    .nb-auth-page--register .nb-auth-visual {
        grid-column: 1;
        grid-row: 2;
        min-height: 270px;
        padding: 30px;
    }

    .nb-auth-kicker {
        margin-top: 30px;
    }

    .nb-auth-visual h2 {
        max-width: 500px;
        font-size: 32px;
    }

    .nb-auth-visual__lead {
        max-width: 480px;
    }

    .nb-auth-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 9px;
        margin-top: 23px;
    }

    .nb-auth-features li {
        align-items: flex-start;
        font-size: 11px;
    }

    .nb-auth-visual__foot {
        display: none;
    }

}

@media (max-width: 640px) {
    .nb-auth-page {
        padding: 12px 10px 28px;
    }

    .nb-auth-shell {
        border-radius: 22px;
    }

    .nb-auth-visual,
    .nb-auth-page--register .nb-auth-visual {
        display: none;
    }

    .nb-auth-brand img {
        height: 29px;
    }

    .nb-auth-kicker {
        margin-top: 26px;
    }

    .nb-auth-visual h2 {
        margin-top: 15px;
        font-size: 28px;
    }

    .nb-auth-visual__lead {
        margin-top: 11px;
        font-size: 13px;
        line-height: 1.6;
    }

    .nb-auth-features {
        display: none;
    }

    .nb-auth-panel,
    .nb-auth-page--register .nb-auth-panel {
        padding: 28px 20px 32px;
    }

    .nb-auth-form {
        margin-top: 22px;
    }

    .nb-auth-form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nb-auth-field--full,
    .nb-auth-agreements {
        grid-column: auto;
    }

    .nb-auth-options {
        align-items: flex-start;
    }

    .nb-auth-input,
    .nb-auth-select,
    .nb-auth-phone-wrap {
        min-height: 50px;
    }

    .nb-auth-password-feedback {
        display: block;
    }

    .nb-auth-password-feedback > div + div {
        margin-top: 5px;
    }

    .nb-auth-captcha {
        justify-content: flex-start;
        transform: scale(.91);
        transform-origin: left center;
        width: 110%;
        margin-right: -10%;
    }
}

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