.btn-reset {
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
}

.registration__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    height: 100vh;
    background-color: #fff;
}

.registration__wrapper_inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.registration__wrapper_inner:last-child {
    align-items: flex-start;
    position: relative;
}

.registration__wrapper_inner:last-child:before {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    z-index: 0;
    border-radius: 4px;
    width: 100%;
    height: 100%;
    transform: translateY(-50%);
    background-color: #121212;
}

.registration__advantages {
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 420px;
    flex-grow: 1;
    color: white;
}

.registration__advantages .logo {
    display: inline-block;
    max-width: 240px;
    max-height: 78px;
    margin: 0 auto 40px;
}

.registration__wrapper_inner .button--language-dropdown:not(.registration__header .button--language-dropdown) {
    max-width: 55px;
    padding: 8px;
    margin-bottom: auto;
    margin-left: auto;
    border: 1px solid white;
    color: white;
    background-color: transparent;
    z-index: 11;
    position: relative;
}

.registration__header .button--language-dropdown {
    padding: 8px;
}

.registration__wrapper_inner .button--language-dropdown a:hover:not(.registration__header .button--language-dropdown a:hover) {
    background-color: #ffffff4d;
}

.registration__wrapper_inner .button--language-dropdown svg path:not(.registration__header .button--language-dropdown svg path) {
    fill: white;
}

.registration__advantages_title {
    margin-bottom: 40px;
    font-size: 20px;
    text-align: center;
}

.registration__advantages_item {
    margin-bottom: 10px;
}

.registration__advantages_list {
    padding-left: 30px;
}

.registration__advantages_list li::marker {
    color: white;
    content: "● ";
    font-size: 12px;
}

.auth-form-wrapper {
    margin: 0 auto;
    max-width: 460px;
    width: 100%;
}

.auth-title {
    margin-bottom: 40px;
    font-size: 28px;
    font-weight: 400;
    text-align: center;
    color: #121212;
}

.registration__form-wrapper {
    padding: 60px 0;
    margin: auto 0;
    animation: _fadeTop .5s ease-in-out;
}

.registration__form {
    display: flex;
    flex-direction: column;
}

.button--google {
    padding: 5px;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 40px;
    width: 100%;
    color: #121212;
    background-color: #e3ff8e26;
    cursor: pointer;
    transition: border-color .3s ease-in-out;
}

.button--google:before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url('../images/google-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.button--google:hover {
    border-color: #121212;
}

@keyframes _fadeTop {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }

}

.hr_wrapper {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    color: #12121266;
    position: relative;
}

.hr_wrapper::after,
.hr_wrapper::before {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #1212120d;
}

.registration__form_field {
    margin-bottom: 10px;
}

.registration__form_field label {
    position: relative;
    border-radius: 4px;
    border: 2px solid rgba(18, 18, 18, .05);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    width: 100%;
    height: 56px;
    gap: 10px;
    transition: border-color .3s;
    cursor: pointer;
}

.registration__form_field label:hover,
.registration__form_field label:focus-within {
    border-color: #121212;
}

.registration__form_field label:focus-within span {
    transform: translate3d(0, -100%, 0) scale3d(.8, .8, 1);
}

.registration__form_field label span {
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    position: absolute;
    top: 50%;
    width: 100%;
    font-weight: 400;
    font-size: 16px;
    color: #12121266;
    transform: translate3d(0, -50%, 0) scaleZ(1);
    transform-origin: top left;
    transition: transform .3s ease-out;
}

.registration__form_field-wrapper {
    margin-right: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.registration__form_field-wrapper input {
    border: none;
    padding: 20px 0 0;
    width: 100%;
    line-height: 1;
    font-weight: 400;
    font-size: 16px;
    color: #121212;
    background-color: transparent;
    outline: transparent;
}

.registration__form_field ._password-btn {
    background-image: url('../images/password-hidden.svg');
    width: 24px;
    height: 24px;
    background-size: 20px 15px;
    background-position: center;
    background-repeat: no-repeat;
}

.registration__form_field ._password-btn.hidden {
    background-image: url('../images/password-show.svg');
}

.registration__form_terms-wrapper {
    margin-bottom: 20px;
}

.registration__form_terms-wrapper label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #121212;
}

.registration__form_terms-wrapper label input {
    background-color: #e3ff8e;
    appearance: none;
    position: relative;
    margin: 0;
    border-radius: 4px;
    border: 1px solid #121212;
    width: 20px;
    height: 20px;
    background-color: #fff;
    outline-color: #121212;
    cursor: pointer;
    transition: background-color .3s;
}

.registration__form_terms-wrapper label input::before {
    opacity: 0;
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background-image: url('../images/check-black.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
}

.registration__form_terms-wrapper label input:hover,
.registration__form_terms-wrapper label input:checked {
    background-color: #e3ff8e;
}

.registration__form_terms-wrapper label input:checked:hover {
    opacity: .8;
}

.registration__form_terms-wrapper label input:checked:before {
    opacity: 1;
}

.registration__form_terms-wrapper label a span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #121212;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.registration__form .auth-button {
    padding: 9.5px 16px;
    width: fit-content;
    border-radius: 4px;
    border: 1px solid #121212;
    display: inline-block;
    background-color: #e3ff8e;
    color: #121212;
    text-align: center;
    transition: color .3s ease-in-out, background-color .3s ease-in-out, border-color .3s ease-in-out;
    margin: 0 auto;
}

.registration__form .auth-button:hover {
    background: #121212;
    color: #fff;
}

.link.link--underline {
    color: #121212;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color .3s;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
}

.link.link--underline:hover,
.link.link--underline span:hover {
    color: #12121299;
}

.registration__header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
}

.registration__header_button {
    padding: 6.5px 4.5px;
    display: inline-block;
    color: #121212;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .3s;
}

.registration__header_button svg {
    margin-right: 5px;
    width: 10px;
    height: 14px;
    vertical-align: sub;
    fill: currentColor;
}

.registration__header .logo.mobile,
.registration__header .button.button--type2.mobile {
    display: none;
    position: relative;
}

@media screen and (max-width: 1092px) {
    .registration__wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }

    .registration__wrapper_inner:last-child:before {
        right: auto;
        left: 50%;
        transform: translate(-50%, -50%);
        width: calc(100% - 16px);
    }

    .registration__header .logo.mobile,
    .registration__header .button.button--type2.mobile {
        display: block;
    }

    .registration__wrapper_inner .button--language-dropdown.desktop {
        display: none;
    }
}