main.join {
    background: linear-gradient(180deg, rgba(210, 240, 255, 0.50) 0%, rgba(136, 152, 255, 0.20) 100%);
    position: relative;
}

.join-button {
    color: #ffffff;
    fill: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    border-radius: 20px;
    background-color: #0A122F;
    min-height: 62px;
    min-width: 186px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    cursor: pointer;
    border: solid 1px transparent;
    transition: all .3s ease;
    position: relative;
    z-index: 1;
    column-gap: 10px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.join-button:hover {
    border-radius: 20px 10px 20px 10px;
}

.join-button.join-button-simple {
    background-color: #3949F5;
}

.join-button.join-button-google {
    background-color: #5775CD;
}

.join-button:disabled {
    pointer-events: none;
    opacity: .5;
}

.join-button.loading {
    pointer-events: none;
    overflow: hidden;
}

.join-button.loading:before {
    content: "";
    background-image: url('../images/button-loading.svg');
    background-color: rgb(255 255 255 / 94%);
    display: block;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    background-size: 70px;
    z-index: 1;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    top: -1px;
    left: -1px;
}

.join-title {
    color: #0A122F;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -0.22px;
    margin-bottom: 20px;
}

[data-step-name="first-screen"] .join-title {
    margin-bottom: 60px;
}

.join-link {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}

.join-link-text {
    color: #878CA1;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0.18px;
    margin-bottom: 10px;
}

.join-link a {
    color: #3949F5;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 0.18px;
    text-decoration: underline;
}

.join-container {
    width: calc(100% - 40px);
    max-width: 408px;
    min-height: 350px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

[data-step-name="user-country"] .join-container {
    min-height: 450px;
}

[data-step-name="user-avatar"] .join-container {
    min-height: auto;
}

.join-wrap {
    display: flex;
    align-items: center;
    height: 100%;
    transition: transform .3s ease;
    position: relative;
}

.join-wrap.loading,
.join-wrap.hide {
    transform: scale(0);
}

.join-buttons {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.join-buttons .join-button {
    width: 100%;
}

.join-icon {
    margin-bottom: 30px;
}

.join-link a:hover {
    text-decoration: none;
}

.join-form {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.join-form-field input[type="text"],
.join-form-field input[type="password"] {
    border-radius: 10px;
    border: 1px solid #DDDFE4;
    background-color: #ffffff;
    color: #0A122F;
    font-family: Poppins;
    min-height: 60px;
    font-size: 14px;
    text-align: center;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0.14px;
    max-width: 100%;
    width: 100%;
    transition: all .3s ease;
}

.join-form-field input[type="text"]::placeholder,
.join-form-field input[type="password"]::placeholder {
    color: #DDDFE4;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0.14px;
    transition: color .3s ease;
}

.join-form-field input[type="text"]:hover::placeholder,
.join-form-field input[type="password"]:hover::placeholder {
    color: #c5c7cb;
}

.join-form-field input[type="text"].notice,
.join-form-field input[type="password"].notice {
    border-color: #F26B4D;
}


.join-form-fields {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    margin-bottom: 30px;
}

.join-form-button {
    width: 100%;
    max-width: 350px;
    margin-top: 20px;
}

.join-form-button .button {
    min-height: 52px;
    width: 100%;
}

[data-step-name="user-password"] .join-form-button,
[data-step-name="user-country"] .join-form-button {
    margin-top: auto;
}

.join-or {
    color: #878CA1;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    text-transform: lowercase;
    position: relative;
    width: 100%;
    max-width: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.join-or:after {
    content: attr(data-text);
    background-color: #e8f1ff;
    z-index: 1;
    padding: 0 10px;
}

.join-or:before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(135, 140, 161, 0.30);
    position: absolute;
}

.join-form-field .notice-field {
    text-align: center;
    display: block;
    margin-top: 8px;
}

.checkbox input[type="checkbox"] {
    display: none;
}

.checkbox {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.checkbox .checkbox-icon {
    display: inline-flex;
    flex-shrink: 0;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    border: 1px solid #DDDFE4;
    position: relative;
    background-color: #ffffff;
    transition: all .3s ease;
}

.checkbox .checkbox-icon:before {
    content: "";
    background-image: url('../icons/check.svg');
    opacity: 0;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    transition: all .3s ease;
}

.checkbox .checkbox-text {
    color: #000000;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: 0.14px;
}

.join-form-field .checkbox {
    justify-content: center;
}

.checkbox input[type="checkbox"]:checked ~ .checkbox-icon {
    border-color: #3949F5;
    background-color: #3949F5;
}

.checkbox input[type="checkbox"]:checked ~ .checkbox-icon:before {
    opacity: 1;
}

.mail-verification-error .window-warning-icon img {
    width: 82px;
}

.join-waiting {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.join-waiting-title {
    color: #0A122F;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    letter-spacing: -0.32px;
}

.join-waiting-image {
    margin-top: 60px;
}

.join-form-field .my-select-active {
    border-radius: 10px;
    border: 1px solid #DDDFE4;
    background-color: #ffffff;
    min-height: 60px;
    fill: #878CA1;
    color: #0A122F;
}

.join-form-field .my-select-active[disabled] {
    color: #878CA1;
}

.join-form-field .my-select-items {
    padding: 0;
    border-radius: 10px;
    border: 1px solid #DDDFE4;
}

.join-form-field .my-select-items::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

.join-form-field .my-select-items::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.join-form-field .my-select-items::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.join-form-field .my-select-items::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

.join-form-field .my-select-search input[type="text"] {
    min-height: 40px;
    border-radius: 0;
    border: none;
    text-align: left;
    padding: 14px 24px;
    border-bottom: 1px solid #DDDFE4;
}

.slide {
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
}

.slider {
    width: 350px;
    display: flex;
    column-gap: 10px;
}

.slick-slide {
    background-color: purple;
    transition: all .3s ease;
    border-radius: 20px;
    position: relative;
    width: 60px!important;
    width: 60px;
}

.slick-slide.slick-active {
    background-color: red;
    z-index: 1;
    width: 74px!important;
    height: 74px;
}

.slick-slide.slick-current.slick-active.slick-center {
    position: relative;
    z-index: 1;
    background-color: #ffffff;
    z-index: 2;
    width: 100px!important;
    height: 100px;
}

.avatars-slider {
    height: 100px;
    width: 100%;
    margin: 4px auto 14px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -ms-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
}

.join-avatars-slider {
    position: relative;
    height: 100%;
    width: 100%;
    max-width: 340px;
    flex: 1;
}

.join-avatar-slide {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    margin: -62px 0 0 -50px;
    border-radius: 50%;
    background: #d9e0f2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-origin: center center;
    border: solid 3px #ffffff;
    background-color: #ffffff;
    pointer-events: none;
    filter: grayscale(1);
    transition: transform 0.35s ease, opacity 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
}

.join-avatar-slide.active {
    filter: grayscale(0);
}

.join-avatar-slide.avatar-custom{
    pointer-events: auto;
}

.join-avatar-label {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ACB1E9;
}

.join-avatar-label input[type="file"] {
    display: none;
}

.join-avatar-block {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-avatar-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.join-avatars-button {
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-shrink: 0;
    cursor: pointer;
    fill: #0A122F;
    position: relative;
    z-index: 999;
}

.join-cloud {
    position: absolute;
    opacity: .4;
}

.join-cloud.join-cloud-1 {
    width: clamp(45px, 8vw, 95px);
    left: 12%;
    top: 25%;
}

.join-cloud.join-cloud-2 {
    width: clamp(54px, 10vw, 134px);
    left: 18%;
    top: 60%;
}

.join-cloud.join-cloud-3 {
    width: clamp(50px, 9vw, 115px);
    left: 4%;
    top: 86%;
    transform: scaleX(-1);
}

.join-cloud.join-cloud-4 {
    width: clamp(50px, 9vw, 115px);
    left: 80%;
    top: 46%;
}

.join-cloud.join-cloud-5 {
    width: clamp(45px, 8vw, 95px);
    left: 70%;
    top: 90%;
}

@media (max-width: 520px) {
    .join-avatars-button {
        display: none;
    }

    [data-step-name="user-password"] .join-container {
        min-height: 100%;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    [data-step-name="user-password"] .join-container .join-icon {
        margin-top: auto;
    }

    [data-step-name="user-password"] .join-container .join-form-button {
        margin-top: auto;
    }

    [data-step-name="user-country"] .join-container {
        min-height: 100%;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    [data-step-name="user-country"] .join-container .join-icon {
        margin-top: auto;
    }

    [data-step-name="user-country"] .join-container .join-form-button {
        margin-top: auto;
    }

    [data-step-name="user-avatar"] .join-container {
        min-height: 100%;
        padding-top: 60px;
        padding-bottom: 60px;
    }

    [data-step-name="user-avatar"] .join-container .join-title {
        margin-top: auto;
    }

    [data-step-name="user-avatar"] .join-container .join-form-button {
        margin-top: auto;
    }

    .join-cloud {
        display: none;
    }
}