/* Register page main container */
.main_register_container {
  display: flex;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

/* Register container */
.register_form {
  height: 100%;
  width: 57%;
}

.register_container {
  padding: 70px 80px 70px 200px;
  width: 100%;
  max-width: 821px;
  margin-right: auto;
}

/* Block icon */
.register_block_icon {
  border: none;
  background-color: inherit;
  cursor: pointer;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  text-align: end;
}

/* Register fields */
.register_fields {
  padding-top: 24px;
  max-width: 470px;
}

/* Register form title */
.register_fields .h2 {
  border-bottom: 2px solid var(--purple1);
  -o-border-image: linear-gradient(
      to right,
      var(--purple1) 50%,
      transparent 50%
    )
    100% 1;
  border-image: linear-gradient(to right, var(--purple1) 50%, transparent 50%)
    100% 1;
  padding-bottom: 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 15px;
}

/* "If you have account" text */
.register_fields > span.login_text {
  color: var(--grey1);
  font-weight: 500;
}

/* "login" link */
.register_fields > span .login {
  color: var(--purple1);
  margin-left: 5px;
}

/* All register forms */
.register_forms {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  margin-bottom: 30px;
  gap: 20px;
}

/* All form fields */
.register_forms input {
  font-weight: 500;
}

/* Password form */
.password_form_div {
  position: relative;
}

/* Password icon */
.password_form_div button.show_password {
  position: absolute;
  bottom: 18px;
  right: 20px;
}

/* Password icon */
.password_form_div button.hide_password {
  position: absolute;
  bottom: 14px;
  right: 20px;
}

/* Password icon */
.password_form_div button {
  border: none;
  background-color: inherit;
  cursor: pointer;
}

/* Show password icon */
.password_form_div button.show_password img:last-child,
.password_form_div button.show_password picture:last-child img {
  display: none;
}

/* Hide password icon */
.password_form_div button.hide_password img:first-child,
.password_form_div button.hide_password picture:first-child img {
  display: none;
}

/* Newsletter */
.register_newsletter {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
}

/* Newsletter text */
.register_newsletter .body3 {
  font-weight: 500;
}

/* Register button */
#register-user {
  width: 100%;
  margin-bottom: 20px;
}

#hidden-informational-message {
  padding-bottom: 10px;
  text-align: start;
}

/* Site politics text */
.register_fields > div .body4 {
  font-weight: 400;
}

/* Logo image */
.register_form div:first-child a img {
  display: none;
}

/* "Do you have account"  text (mobile)*/
.login_text_mobile {
  display: none;
}

/* Block icon */
.register_form > div:first-child {
  text-align: end;
}

/* Newsletterdiv */
.register_newsletter input,
.register_newsletter label {
  cursor: pointer;
}

/* All register forms */
.register_forms input {
  width: 100%;
  padding: 15px 40px 15px 20px;
  height: 50px;
}

/* "site politics" link */
.site_politics_div > span > a {
  color: var(--purple1);
}

.site_politics_div {
  text-align: center;
}

.register_forms .re_custom_register_form {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  padding: 0px;
  z-index: -1;
}

@media screen and (max-width: 1350px) {
  .register_container {
    padding: 70px 80px 70px 140px;
  }
}

@media screen and (max-width: 1100px) {
  /* Register container */
  .register_container {
    padding: 70px 50px 70px 50px;
  }
}

@media screen and (max-width: 767px) {
  /* Register page main container */
  .main_register_container {
    flex-direction: column;
    height: auto;
  }

  /* Whole register container */
  .register_form {
    order: 1;
    width: 100%;
  }

  .register_container {
    padding: 50px 20px;
  }

  /* Register fields */
  .register_fields {
    padding: 0px;
    max-width: unset;
  }

  /* Logo image */
  .register_container div:first-child a img {
    width: 94px;
    height: 30px;
    display: block;
  }

  /* Logo image */
  .register_container div:first-child button img {
    width: 16px;
    height: 16px;
  }

  /* Logo + block div */
  .register_container > div:first-child {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    max-width: unset;
  }

  /* Block icon */
  .register_block_icon {
    width: unset;
    text-align: unset;
  }

  /* "Do you have account"  text (desktop)*/
  .login_text {
    display: none;
  }

  /* "Do you have account"  text (mobile)*/
  .login_text_mobile {
    display: block;
  }

  /* Register button */
  #register-user {
    margin-bottom: 15px;
    height: 45px;
  }

  /* All register forms */
  .register_forms {
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 12px;
  }

  /* Register form title */
  .register_fields .h2 {
    margin-bottom: 0px;
    font-size: 18px;
    line-height: 20px;
  }

  /* All register forms */
  .register_forms input {
    padding: 10px 40px 10px 15px;
    height: 45px;
  }

  /* "If you have account" div */
  .register_fields > span.login_text_mobile {
    color: var(--grey1);
    font-weight: 400;
    text-align: center;
    margin-bottom: 30px;
  }

  /* Site politics div */
  .site_politics_div {
    text-align: center;
  }

  /* Password icon */
  .password_form_div button.show_password {
    bottom: 14px;
  }

  /* Password icon */
  .password_form_div button.hide_password {
    bottom: 10px;
  }
}
