@font-face {
    font-family: Gilroy;
    font-display: swap;
    src: url("../fonts/Gilroy-Bold.woff2") format("woff2"), url("../fonts/Gilroy-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: Gilroy;
    font-display: swap;
    src: url("../fonts/Gilroy-Medium.woff2") format("woff2"), url("../fonts/Gilroy-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: Gilroy;
    font-display: swap;
    src: url("../fonts/Gilroy-SemiBold.woff2") format("woff2"), url("../fonts/Gilroy-SemiBold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: Gilroy;
    font-display: swap;
    src: url("../fonts/Gilroy-Regular.woff2") format("woff2"), url("../fonts/Gilroy-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "icons";
    src: url("../fonts/icons.eot?jzoaq112");
    src: url("../fonts/icons.eot?jzoaq112#iefix") format("embedded-opentype"), url("../fonts/icons.woff?jzoaq112") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

*, *::before, *::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
    --width: 500px;
}

input,
button,
a {
    font: inherit;
    color: inherit;
    outline: none;
}

button {
    cursor: pointer;
    border: none;
}

body {
    font-family: "Gilroy", sans-serif;
    color: #FFFFFF;
    overflow-x: hidden;
}

._ns {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.auth__wrapper {
    min-width: 100vw;
    min-height: 100vh;
    background: linear-gradient(90deg, #0B1C35 45%, rgba(11, 28, 53, 0.00) 100%), linear-gradient(89deg, #0B1C35 45%, rgba(11, 28, 53, 0.38) 100%);
    position: relative;
}

.auth-image {
    width: 50%;
    height: 100%;
    top: 0;
    right: 0;
    background-image: url('/img/auth/auth-bg.png?1');
    background-size: cover;
    background-position: top right;
    background-repeat: no-repeat;
    position: absolute;
    z-index: -1;
}

.auth__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 1680px;
    padding: 72px 24px;
    margin: 0 auto;
    z-index: 1;
}

.auth__main {
    width: 100%;
    margin-bottom: 44px;
}

.auth__logo {
    --s: 68px;

    width: var(--s);
    height: var(--s);
    margin-bottom: var(--s);
    background-color: #FFFFFF;
    -webkit-mask-image: url("/img/auth/logo.svg");
    mask-image: url("/img/auth/logo.svg");
    -webkit-mask-size: var(--s);
    mask-size: var(--s);
}

.auth__title {
    font-weight: 700;
    font-size: 54px;
    line-height: 1;
    margin-bottom: 36px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.auth-list {
    display: flex;
    margin-bottom: 20px;
    list-style: none;
}

.auth-list__item {
    --s: 42px;
    --c: rgba(255, 255, 255, .5);

    display: flex;
    justify-content: center;
    align-items: center;
    width: var(--s);
    height: var(--s);
    border: 1px solid var(--c);
    border-radius: 50%;
    transition: all .2s;
}

.auth-list__item._active {
    --c: #FFFFFF;
    color: #333333;
    background-color: #FFFFFF;
}

.auth-list__item:not(:first-child) {
    margin-left: 40px;
    position: relative;
}

.auth-list__item:not(:first-child)::before {
    width: 40px;
    height: 1px;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--c);
    position: absolute;
    content: '';
}

.auth-list__item[data-tab="3"] {
    display: none;
}

.auth-list__item[data-tab="3"]._show {
    display: flex;
}

.auth-form__slides {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 14px;
    position: relative;
}

.auth-form__slide {
    display: flex;
    flex-direction: column;
    flex: 1;
    top: 40px;
    transition: all .2s;
}

.auth-form__slide._hidden {
    transform: translateX(-200%);
    opacity: 0;
    visibility: hidden;
    position: absolute;
}

.auth-form__slide._success .auth-form__error,
.auth-form__slide._error .auth-form__error {
    display: block;
}

.auth-form__slide._success .auth-form__error {
    color: #54B268;
}

.auth-form__title {
    margin-bottom: 24px;
    font-weight: 700;
    font-size: 34px;
    line-height: 1;
}

.auth-form__text {
    max-width: var(--width);
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.15;
}

.auth-form__text span {
    font-weight: 600;
}

.auth-form__text p:not(:last-child) {
    margin-bottom: 10px;
}

.auth-form__text p span {
    font-weight: 600;
}

.auth-form__row {
    display: flex;
    max-width: var(--width);
    margin-bottom: 12px;
}

.auth-form__passwords {
    display: none;
    flex-direction: column;
}

.auth-form__slide._checked .auth-form__passwords {
    display: flex;
}

.auth-form__labels {
    display: flex;
    flex-direction: column;
    max-width: var(--width);
    margin-bottom: 12px;
}

.auth-form__labels._phone {
    flex-direction: row;
}

.auth-form__label {
    flex: 1;
    position: relative;
}

.auth-form__label._show .auth-form__eye {
    -webkit-mask-image: url("/img/auth/eye-slash.svg");
    mask-image: url("/img/auth/eye-slash.svg");
}

.auth-form__label-code {
    flex: 0;
}

.auth-form__label:not(:last-child) {
    margin-bottom: 10px;
}

.auth-form__row .auth-form__label:not(:last-child) {
    margin-bottom: 0;
    margin-right: 10px;
}

.auth-form__labels._phone .auth-form__label:not(:last-child) {
    margin-bottom: 0;
    margin-right: 10px;
}

.auth-form__input {
    width: 100%;
    height: 50px;
    padding: 0 24px;
    font-size: 18px;
    line-height: 1.15;
    background-color: transparent;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .25);
}

.auth-form__input[name="password"],
.auth-form__input[name="repeat"] {
    padding-right: 54px;
}

.auth-form__eye {
    --s: 20px;

    width: var(--s);
    height: var(--s);
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, .5);
    -webkit-mask-image: url("/img/auth/eye.svg?1");
    mask-image: url("/img/auth/eye.svg?1");
    -webkit-mask-size: var(--s);
    mask-size: var(--s);
    position: absolute;
    cursor: pointer;
}

.auth-form__input._error {
    border: 1px solid #E54047;
    color: #E54047;
}

.auth-form__input._error + .auth-form__eye {
    background-color: #E54047;
}

.auth-form__input-code {
    width: 95px;
}

.auth-form__input::placeholder {
    color: rgba(255, 255, 255, .5);
}

.auth-form__input._error::placeholder {
    color: rgba(229, 64, 71, .5);
}

.auth-domains__back {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
    background-color: transparent;
    opacity: .5;
    transition: all .2s;
}

.auth-domains__back:hover {
    opacity: 1;
}

.auth-domains__back span {
    --s: 20px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 6px;
    background-color: #FFFFFF;
    transform: rotateZ(90deg);
    -webkit-mask-image: url("/img/auth/angle.svg");
    mask-image: url("/img/auth/angle.svg");
    -webkit-mask-size: var(--s);
    mask-size: var(--s);
}

.auth-domains__list {
    max-height: 320px;
    max-width: var(--width);
    list-style: none;
    overflow: auto;
    scrollbar-width: none;
}

.auth-domains__list::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.auth-domain {
    padding: 12px;
    border: 1px solid #FFFFFF;
    border-radius: 10px;
    cursor: pointer;
}

.auth-domain._error {
    opacity: .5;
    cursor: not-allowed;
}

.auth-domain._error .auth-domain__error {
    display: block;
}

.auth-domain:not(:last-child) {
    margin-bottom: 10px;
}

.auth-domain__inner {
    display: flex;
    align-items: center;
}

.auth-domain__logo {
    --s: 46px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
}

.auth-domain__name {
    margin-bottom: 2px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.15;
}

.auth-domain__link {
    font-size: 14px;
    line-height: 1.15;
    opacity: .5;
}

.auth-domain__error {
    margin-top: 2px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.15;
    color: #E54047;
    display: none;
}

.auth-form__error {
    margin-bottom: 12px;
    color: #E54047;
    display: none;
    transition: all .2s;
}

.auth-form__checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.auth-form__checkbox-input {
    --s: 21px;

    flex-shrink: 0;
    width: var(--s);
    height: var(--s);
    margin-right: 10px;
    background-image: url('/img/auth/checkmark.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 5px;
    appearance: none;
    cursor: pointer;
}

.auth-form__checkbox-input:checked {
    background-color: #FFFFFF;
    border-color: #FFFFFF;
}

.auth-form__buttons {
    display: flex;
    margin-top: auto;
}

.auth-form__next,
.auth-form__auth {
    width: 172px;
    height: 50px;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    background-color: #FFFFFF;
    border-radius: 8px;
    color: #333333;
    position: relative;
}

.auth-form__auth {
    width: auto;
    padding: 0 20px;
}

.auth-form__next span {
    --s: 30px;

    display: block;
    width: var(--s);
    height: var(--s);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #0B1C35;
    -webkit-mask-image: url("/img/auth/loader.svg");
    mask-image: url("/img/auth/loader.svg");
    -webkit-mask-size: var(--s);
    mask-size: var(--s);
    opacity: 0;
    visibility: hidden;
    transition: all .2s;
    position: absolute;
}

.auth-form__next._loading {
    color: transparent;
}

.auth-form__next._loading span {
    opacity: 1;
    visibility: visible;
}

.auth-form__next:disabled[type="submit"],
.auth-form__auth:disabled[type="submit"] {
    opacity: .5;
    cursor: auto;
}

.auth-form__next._loading:disabled[type="submit"] {
    opacity: 1;
    cursor: auto;
}

.auth-form__back {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background-color: rgba(255, 255, 255, .15);
    border-radius: 8px;
    transition: all .2s;
}

.auth-form__back._hidden {
    width: 0;
    margin-right: 0;
}

.auth-form__back span {
    --s: 24px;

    width: var(--s);
    height: var(--s);
    background-color: #FFFFFF;
    -webkit-mask-image: url("/img/auth/arrow.svg");
    mask-image: url("/img/auth/arrow.svg");
    -webkit-mask-size: var(--s);
    mask-size: var(--s);
}

.auth-reg .auth-form__slide,
.auth-invite-link .auth-form__slide {
    top: 0;
}

.auth-invite-link .auth__title {
    margin-bottom: 10px;
}

.auth-invite-link .auth-form__text {
    margin-bottom: 30px;
}

.auth-invite-link .auth-form__title {
    margin-bottom: 20px;
}