html, body {
    font-family: 'SF-Hello';
    font-weight: 400;
}

.registration {
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0px;
    background-size: 100%;
    background-repeat: no-repeat;
    position: relative;
    background-color: #EF3124;
}

* {
    box-sizing: border-box;
}

.registration__content {
    width: 817px;
    position: absolute;
    right: 0px;
    top: 0px;
    height: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    overflow-y: auto;
    justify-content: center;
}

.registration__content-container {
    width: 641px;
    display: flex;
    flex-direction: column;
}

.registration__logo {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 73px;
    margin-bottom: 34px;
}

.registration__logo-brand {
    height: 73px;
}

.registration__language {
    width: 100%;
    margin-bottom: 16px;
    display: flex;
    justify-content: end;
    position: relative;
    z-index: 3;
}

.registration__form {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
}

.registration__form-row {
    width: 100%;
    display: flex;
}

.registration__form-row input[type="text"],
.registration__form-row input[type="password"],
.registration__form-row input[type="email"],
.registration__form-row input[type="number"] {
    background-color: var(--input-bg);
    border-radius: 12px;
    padding: 20px;
    font-size: 18px;
}

.registration__form-row input::-webkit-input-placeholder, /* Edge */
.registration__form-row input:-ms-input-placeholder, /* Internet Explorer 10-11 */
.registration__form-row input::placeholder {
    color: red;
    position: absolute;
    top: 10px;
}

input:not(.inputBox--error):focus {
    border: 1px solid transparent !important;
}

.registration__form-row .form-group {
    width: 100%;
}

.registration__form-row--checkbox {
    margin-top: 12px;
    margin-bottom: 36px;
    justify-content: center;
}

.registration__form-checkbox {
    height: 27px;
    flex: 1;
    white-space: nowrap;
}

.select-language span {
    font-size: 20px;
    font-weight: 500;
    color: #1d1d1d !important;
}

.registration__form-checkbox label {
    height: 27px;
    color: #676767;
    display: flex;
    font-size: 18px;
    align-items: center;
    justify-content: center;
}

.registration__form-row_column .form-group {
    margin-bottom: 0px !important;
}

.registration__form-checkbox input {
    height: 27px;
    left: 0px;
    width: 27px;
    border-radius: 6px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none !important;
    margin-right: 5px;
    padding: 0px;
    background-color: #fff;
    position: relative;
    margin-left: 0px !important;
}

.registration__form-checkbox input:not(:checked) {
    border: 2px solid #676767 !important;
}

.registration__form-checkbox input::before {
    display: none;
}

.registration__form-checkbox.disabled {
    opacity: .5;
    pointer-events: none;
}

.registration__form-checkbox input:checked {
    background-color: #EF3124 !important;
    border: 2px solid #EF3124 !important;
}

.registration__form-checkbox input:checked::after{
    width: 6px;
    height: 12px;
    top: 4px;
    left: 9px;
}

.registration__form-row_column {
    flex: 1;
}

.registration__form-row_column:nth-child(2n-1) {
    padding-right: 15px;
}

.registration__form-row_column:nth-child(2n) {
    padding-left: 15px;
}

.registration__information {
    width: 100%;
    margin-bottom: 50px;
}

.registration__information p {
    font-size: 18px;
    padding: 0px;
    margin: 0px;
    text-align: center;
    color: #3c4a50;
}

.registration__information a {
    color: #00b3ff;
    text-decoration: none;
}

.registration__buttons {
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: center;
}

.btn-gray {
    background-color: #ebebeb;
    color: #676767;
}

.btn {
    margin-top: 0px !important;
    width: unset;
    width: 240px;
    font-family: 'SF-Hello';
}

.registration__buttons .btn{
    font-size: 23px;
    font-weight: 700;
}

.btn:nth-child(2n+1) {
    margin-right: 10px;
}

.btn:nth-child(2n) {
    margin-left: 10px;
}

.btn#signup {
    width: 300px;
}

.send_email_check {
    width: 65px;
    height: 67px;
    background-color: #EF3124;
    position: absolute;
    right: 0px;
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0px 12px 12px 0px;
    transition: .5s;
    z-index: 2;
}

.send_email_check::before {
    content: "";
    width: 25px;
    height: 25px;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url(./images/send_mail.svg);
}

.send_email_check:disabled {
    background-color: #808080;
    transition: .5s;
    pointer-events: none;
}

.send_email_text {
    margin-top: -10px;
    display: none;
}

.send_email_text.visible {
    display: block;
}

.send_email_text span {
    color: #EF3124;
    font-weight: 600;
}

.show_password {
    position: relative;
}

.show_password__btn {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 25px;
    top: 20px;
    cursor: pointer;
    background-size: 100%;
    background-repeat: no-repeat;
    background-image: url(./images/eye.svg);
    border-radius: 12.5px;
}

.show_password__btn.active {
    width: 30px;
    height: 30px;
    top: 17.5px;
}

.email_container {
    position: relative;
}

.show_password .tooltip {
    left: 0px !important;
    display: flex !important;
    justify-content: center;
    width: 100%;
}

.show_password .tooltip-inner {
    max-width: 100% !important;
}

@media (min-width: 821px) and (max-height: 1000px) {
    .registration__content {
        align-items: start;
        padding-top: 50px;
        padding-bottom: 50px;
    }
}

@media (max-width: 820px) {
    .registration__form-row--checkbox {
        margin-bottom: 12px;
    }
    .send_email_text {
        margin-bottom: 15px;
    }
    .registration {
        background-image: none;
    }
    .registration__content {
        width: 100%;
        background-color: #f8f8f7;
        display: flex;
        justify-content: center;
        align-items: start;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .registration__form-row input:not([type="checkbox"]) {
        background-color: #fff !important;
        border-radius: 35px !important;
    }
    .selectSearch__input input {
        background-color: #fff !important;
        border-radius: 35px !important;
    }
    .registration__content-container {
        width: 450px;
    }
    .registration__form-row:not(.registration__form-row--checkbox) {
        flex-direction: column;
    }
    .registration__form-row_column{
        padding: 0px !important;
    }
    .send_email_check {
        border-radius: 0px 35px 35px 0px;
    }
    .registration__form-row_column:nth-child(2n-1) {
        margin-bottom: 24px;
    }
    .registration__form-checkbox {
        margin: 0px 0px 12px 0px;
    }
    .registration__form-checkbox label {
        font-size: 13px;
    }
    .registration__information p {
        font-size: 12px;
    }
    .registration__buttons .btn {
        font-size: 14px !important;
        height: 50px !important; 
    }
    .registration__logo-brand {
        height: 59px;
    }
    .registration__form-row_column {
        margin-bottom: 0px !important;
    }
    .form-group {
        margin-bottom: 0px !important;
    }
    .registration__information {
        margin-bottom: 20px;
    }
    #div_id_country {
        display: block !important;
    }
}

@media (max-width: 450px) {
    .registration__form-checkbox label {
        justify-content: start;
    }
    .registration__content-container { 
        width: 100%;
        padding-left: 25px;
        padding-right: 25px;
    }
    .registration__form-row--checkbox {
        margin-top: 24px;
    }
    .registration__form-checkbox {
        flex: none;
        max-width: 110px;
        margin-left: 5px;
        margin-right: 5px;
    }
    .registration__form-checkbox .checkbox {
        margin-left: 0px !important;
        padding: 0px !important; 
    }
    .registration__buttons {
        flex-direction: column;
        height: auto;
    }
    .registration__buttons .btn {
        width: 100% !important;
        margin: 0px 0px 15px !important;
    }
}

@media (max-width: 395px) {
    [data-lang="ru"] .registration__form-row--checkbox {
        flex-direction: column;
    }
    [data-lang="ru"] .registration__form-checkbox {
        width: 100%;
    }
}

@media (max-width: 300px) {
    .registration__form-row--checkbox {
        flex-direction: column;
    }
    .registration__form-checkbox {
        width: 100%;
    }
}
