.mb-auth-page {
    min-height: calc(100vh - 58px);
    padding: 76px 0 92px;
    background:
        radial-gradient(circle at 18% 18%, rgba(63, 174, 90, 0.10), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(255, 159, 38, 0.10), transparent 26%),
        linear-gradient(180deg, #f5f7f9 0%, #ffffff 100%);
    color: var(--mb-text, #262b2f);
}

.mb-auth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 470px;
    gap: 64px;
    align-items: center;
}

.mb-auth-promo {
    max-width: 680px;
}

.mb-auth-eyebrow {
    margin-bottom: 14px;
    color: var(--mb-green-dark, #2f9347);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.mb-auth-title {
    max-width: 640px;
    margin: 0;
    font-size: clamp(40px, 4.6vw, 64px);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.055em;
    color: var(--mb-text, #262b2f);
}

.mb-auth-text {
    max-width: 560px;
    margin: 24px 0 0;
    color: var(--mb-muted, #6b737b);
    font-size: 17px;
    line-height: 1.7;
}

.mb-auth-benefits {
    display: grid;
    gap: 12px;
    margin-top: 32px;
}

.mb-auth-benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #3c444b;
    font-size: 15px;
    font-weight: 600;
}

.mb-auth-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(63, 174, 90, 0.12);
    color: var(--mb-green, #3fae5a);
    font-weight: 900;
}

.mb-auth-preview-card {
    max-width: 610px;
    margin-top: 44px;
    overflow: hidden;
    border: 1px solid var(--mb-border, #dfe5ea);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 55px rgba(34, 44, 53, 0.12);
}

.mb-auth-window-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 16px;
    border-bottom: 1px solid #e6ebef;
    background: #ffffff;
}

.mb-auth-window-bar span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d9dfe4;
}

.mb-auth-preview-content {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 18px;
    padding: 26px;
    background:
        radial-gradient(circle at 70% 20%, rgba(222, 228, 235, 0.92) 0 44px, transparent 46px),
        linear-gradient(145deg, #f7f9fb 0%, #edf1f5 100%);
}

.mb-auth-preview-main,
.mb-auth-preview-list > div {
    border: 1px solid #e7edf1;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
}

.mb-auth-preview-main {
    padding: 20px;
}

.mb-auth-preview-label {
    color: var(--mb-muted, #6b737b);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.mb-auth-preview-value {
    margin-top: 8px;
    color: var(--mb-text, #262b2f);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.mb-auth-preview-line {
    height: 9px;
    margin-top: 18px;
    border-radius: 999px;
    background: #dfe6eb;
}

.mb-auth-preview-line.short {
    width: 68%;
    margin-top: 9px;
}

.mb-auth-preview-list {
    display: grid;
    gap: 10px;
}

.mb-auth-preview-list > div {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px;
    align-items: center;
    padding: 13px 14px;
}

.mb-auth-preview-list strong {
    color: var(--mb-green-dark, #2f9347);
    font-size: 13px;
}

.mb-auth-preview-list span {
    color: #48515a;
    font-size: 13px;
}

.mb-auth-card {
    width: 100%;
    border: 1px solid var(--mb-border, #dfe5ea);
    border-radius: 26px;
    background: #ffffff;
    padding: 36px;
    box-shadow: 0 28px 65px rgba(34, 44, 53, 0.15);
}

.mb-auth-card-header {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 34px;
    color: var(--mb-text, #262b2f);
}

.mb-auth-card-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 2px solid #68727a;
    color: #68727a;
    font-size: 11px;
    line-height: 1;
}

.mb-auth-card-brand {
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
}

.mb-auth-card-subbrand {
    margin-top: 2px;
    color: #8d969e;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.mb-auth-form-heading h2 {
    margin: 0;
    color: var(--mb-text, #262b2f);
    font-size: 32px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.mb-auth-form-heading p {
    margin: 12px 0 0;
    color: var(--mb-muted, #6b737b);
    font-size: 15px;
    line-height: 1.65;
}

.mb-auth-alert {
    margin-top: 24px;
    margin-bottom: 0;
    border-radius: 14px;
    font-size: 14px;
}

.mb-auth-form {
    display: grid;
    gap: 18px;
    margin-top: 28px;
}

.mb-auth-field {
    display: grid;
    gap: 8px;
}

.mb-auth-field label {
    color: #343b42;
    font-size: 13px;
    font-weight: 800;
}

.mb-auth-field input,
.mb-auth-field select {
    width: 100%;
    height: 50px;
    border: 1px solid var(--mb-border, #dfe5ea);
    border-radius: 14px;
    background: #ffffff;
    padding: 0 15px;
    color: var(--mb-text, #262b2f);
    font-size: 15px;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mb-auth-field input::placeholder {
    color: #a0a8af;
}

.mb-auth-field input:focus,
.mb-auth-field select:focus {
    border-color: rgba(63, 174, 90, 0.75);
    box-shadow: 0 0 0 4px rgba(63, 174, 90, 0.12);
}

.mb-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 52px;
    margin-top: 4px;
    border: 0;
    border-radius: 999px;
    background: var(--mb-green, #3fae5a);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 12px 22px rgba(63, 174, 90, 0.22);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.mb-auth-submit:hover,
.mb-auth-submit:focus {
    background: var(--mb-green-dark, #2f9347);
    box-shadow: 0 16px 28px rgba(63, 174, 90, 0.28);
    transform: translateY(-1px);
}

.mb-auth-links-row,
.mb-auth-back-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    font-size: 14px;
}

.mb-auth-back-row {
    justify-content: center;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #eef2f5;
}

.mb-auth-links-row a,
.mb-auth-back-row a {
    color: var(--mb-green-dark, #2f9347);
    font-weight: 700;
    text-decoration: none;
}

.mb-auth-links-row a:hover,
.mb-auth-back-row a:hover {
    color: var(--mb-green, #3fae5a);
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .mb-auth-page {
        padding: 48px 0 68px;
    }

    .mb-auth-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .mb-auth-promo {
        max-width: 100%;
        text-align: center;
    }

    .mb-auth-text,
    .mb-auth-title {
        margin-left: auto;
        margin-right: auto;
    }

    .mb-auth-benefits {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .mb-auth-preview-card {
        margin-left: auto;
        margin-right: auto;
    }

    .mb-auth-card {
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 575.98px) {
    .mb-auth-page {
        padding: 30px 0 48px;
    }

    .mb-auth-card {
        padding: 26px 20px;
        border-radius: 22px;
    }

    .mb-auth-preview-content {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .mb-auth-links-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
