/* Start common styles */

.authorization-page .container-big .breadcrumbs-new-container,
.registration-page .container-big .breadcrumbs-new-container {
    display: none;
}

.form_field_block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 34px;
}

.registration-page .form_label {
    max-width: 272px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form_field_block .form_label {
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #000;
    text-align: left;
    margin-bottom: 16px;
}

.form_input_wrap {
    position: relative;
    width: 100%;
}

.form_input_wrap .form_show_password {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 15px;
    background-image: url("../img/show_password.svg");
    background-size: 30px 30px;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
}

.form_field_block .form_input {
    width: 100%;
    max-width: 283px;
    height: 50px;
    padding-top: 0;
    padding-right: 23px;
    padding-bottom: 1px;
    padding-left: 23px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: #626262;
    letter-spacing: 1.6px;
    background-color: #ffffff;
    border: 1px solid #DFDFDF;
    border-radius: 50px;
    box-sizing: border-box;
    outline: none;
}

.form_label_checkbox {
    position: relative;
    width: 30px;
    min-width: 30px;
    height: 30px;
    min-height: 30px;
    background-color: #ffffff;
    border: 1px solid #DFDFDF;
    border-radius: 5px;
    margin-right: 25px;
}

.form_label_checkbox.required {
  border-color: red;
}

.form_label_checkbox .checked {
    position: absolute;
    top: 7px;
    left: 7px;
    display: none;
    width: 14px;
    height: 14px;
    background: url(../img/check.svg) no-repeat center/100%;
}
.form_label_checkbox input:checked + .checked {
    display: block;
}

.form_button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    height: 50px;
    border-radius: 50px;
    background: #877FB0;
    border: 1px solid #877FB0;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.6px;
    color: #FFF;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.form_button:hover {
    background-color: transparent;
    color: #877FB0;
}

.form_additional_text {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #697B6F;
    text-align: center;
}

.form_additional_text:hover {
    text-decoration: underline;
    color: #877FB0;
}

@media only screen and (max-width: 1210px) {
    .left_side {
        display: none;
    }
}

.top-message {
    font-size: 14px;
}

.top-message .errortext {
    color: red;
}

/* End common styles */

/* Registration page styles */
.registration-page {
    margin-top: 57px;
    margin-bottom: 68px;
}

.registration-page .flex {
    justify-content: center;
}

.registration-page .left_side {
    margin-right: 80px;
}

.registration_form_content {
    margin-top: 26px;
}

.registration_form_content .form_row {
    display: flex;
    align-items: flex-start;
    margin-bottom: 22px;
}

.registration-page .form_input_wrap {
    position: relative;
    width: auto;
}

.registration_form_content .terms_row {
    align-items: center;
    margin-bottom: 41px;
}

.registration_form_content .form_row .form_field_block:last-of-type {
    margin-right: 0;
}

.registration-page .form_row .form_field_block .form_label .required_text {
    color: #877FB0;
}

.registration-page .form_row .form_field_block .form_label .additional_text {
    font-weight: 300;
}

.registration-page .terms_text {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #000;
    text-align: left;
}

.registration-page .terms_text a {
    color: #697B6F;
}

.registration-page .terms_text a:hover {
    color: #877FB0;
    text-decoration: underline;
}

@media only screen and (max-width: 640px) {
    .registration_form_content .form_row {
        flex-direction: column;
    }

    .registration_form_content .form_row.terms_row {
        flex-direction: row;
    }

    .registration_form_content .form_row .form_field_block {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .registration_form_content .form_row .form_field_block:last-of-type {
        margin-bottom: 0;
    }
}

.registration-page label.error {
    display: block;
    text-align: left;
    font-size: 12px;
    margin-top: 10px;
    color: #FF0000FF;
}

    /* End page styles */

/* Start authorization page styles */
.authorization-page {
    margin-top: 57px;
    margin-bottom: 68px;
}

.authorization-page .flex {
    justify-content: center;
}

.authorization_form_content {
    margin-top: 26px;
}

.authorization-page .left_side {
    margin-right: 80px;
}

.authorization-page .right_side {
    width: 100%;
    max-width: 500px;
}

.authorization-page .form_field_block {
    margin-bottom: 18px;
    margin-right: 0;
}

.authorization-page .form_row {
    display: flex;
    align-items: center;
    margin-top: 31px;
    margin-bottom: 31px;
}

.authorization-page .form_row .errortext {
    color: red;
}

.authorization-page .form_field_block .form_input {
    max-width: 500px;
}

.authorization-page .form_button {
    max-width: 295px;
}

.authorization-page label.error {
    display: block;
    text-align: left;
    font-size: 12px;
    margin-top: 10px;
    color: #FF0000FF;
}
/* End authorization page styles */
