body.to-auth-page--register {
    overflow-x: hidden;
}

.to-auth-register-shell {
    position: relative;
    grid-template-columns: minmax(0, 560px) minmax(320px, 1fr);
    gap: 34px;
}

.to-auth-register-shell::before,
.to-auth-register-shell::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(10px);
}

.to-auth-register-shell::before {
    width: 430px;
    height: 430px;
    top: -190px;
    right: -125px;
    background: rgba(255, 102, 0, 0.13);
}

.to-auth-register-shell::after {
    width: 360px;
    height: 360px;
    bottom: -155px;
    left: -120px;
    background: rgba(121, 121, 121, 0.14);
}

.to-auth-register-panel {
    width: 100%;
}

.to-auth-register-brand {
    margin-bottom: 22px;
}

.to-auth-register-brand__link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.to-auth-register-card {
    position: relative;
    overflow: hidden;
}

.to-auth-register-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 34px;
    left: 34px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--to-auth-orange), var(--to-auth-orange-hover));
}

.to-auth-register-card__header {
    padding-top: 6px;
}

.to-auth-register-form {
    gap: 17px;
}

.to-auth-register-form .to-auth-field__control {
    background: rgba(255, 255, 255, 0.96);
}

.to-auth-register-form .to-auth-field__control:focus {
    background: #ffffff;
}

.to-auth-register-form input[name="mobile"],
.to-auth-register-form input[name="national_code"] {
    direction: ltr;
    text-align: right;
    font-family: var(--to-auth-font-number);
}

.to-auth-register-form input[name="password"],
.to-auth-register-form input[name="password_confirmation"] {
    direction: ltr;
    text-align: left;
    font-family: var(--to-auth-font);
}

.to-auth-register-submit {
    margin-top: 4px;
}

.to-auth-register-card__footer {
    text-align: center;
}

.to-auth-register-aside__inner {
    position: relative;
    overflow: hidden;
    min-height: 660px;
    padding-top: 46px;
    background:
        linear-gradient(135deg, rgba(47, 47, 47, 0.96), rgba(121, 121, 121, 0.92)),
        var(--to-auth-dark);
}

.to-auth-register-aside__inner::before {
    width: 270px;
    height: 270px;
    top: -90px;
    left: -90px;
    background: rgba(255, 102, 0, 0.28);
}

.to-auth-register-aside__inner::after {
    width: 210px;
    height: 210px;
    right: -74px;
    bottom: -74px;
    background: rgba(255, 255, 255, 0.12);
}

.to-auth-register-steps {
    margin-top: 32px;
}

.to-auth-register-steps .to-auth-steps__item {
    background: rgba(255, 255, 255, 0.085);
}

.to-auth-register-steps .to-auth-steps__number {
    color: var(--to-auth-surface);
    background: linear-gradient(135deg, var(--to-auth-orange) 0%, var(--to-auth-orange-hover) 100%);
    box-shadow: 0 12px 28px rgba(255, 102, 0, 0.22);
}

.to-auth-register-steps .to-auth-steps__text {
    color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 1081px) {
    .to-auth-register-card {
        padding: 32px;
    }

    .to-auth-register-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .to-auth-register-form .to-auth-field:first-child,
    .to-auth-register-form .to-auth-field:nth-child(2),
    .to-auth-register-form .to-auth-field:nth-child(3),
    .to-auth-register-form .to-auth-register-submit {
        grid-column: 1 / -1;
    }

    .to-auth-register-form .to-auth-field:nth-child(4),
    .to-auth-register-form .to-auth-field:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 1080px) {
    .to-auth-register-shell {
        width: min(720px, calc(100% - 28px));
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 34px 0;
    }

    .to-auth-register-aside__inner {
        min-height: auto;
        padding-top: 34px;
    }
}

@media (max-width: 680px) {
    .to-auth-register-shell {
        width: min(100% - 24px, 520px);
        gap: 20px;
        padding: 24px 0;
    }

    .to-auth-register-brand__link {
        width: 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .to-auth-register-card {
        padding: 26px 18px;
        border-radius: 24px;
    }

    .to-auth-register-card::before {
        right: 22px;
        left: 22px;
    }

    .to-auth-register-card__header {
        margin-bottom: 22px;
    }

    .to-auth-register-form {
        gap: 16px;
    }

    .to-auth-register-card__footer {
        align-items: center;
        text-align: center;
    }

    .to-auth-register-aside__inner {
        padding: 26px 18px;
        border-radius: 24px;
    }

    .to-auth-register-steps {
        margin-top: 24px;
    }
}