.social_auth_user form#user-form #edit-account .form-type-password {
  display: none;
}

.social_auth_user form#user-form .form-type-email .description {
  display: none;
}

form#user-form #edit-language summary {
  display: none;
}

.path-user .form-actions {
  display: flex;
  justify-content: space-between;
}

.path-user .block-system-main-block .form-actions input,
.path-user .block-system-main-block .form-actions a.button {
  width: calc(50% - 10px);
  margin: 0;
}

/*agreement*/
.path-agreement .header-wrapper:has(.alert-success) {
  display: none !important;
}

.path-agreement #block-pagetitle {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#agreement-default-form .form-item-agree {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  font-weight: bold;
  margin: 0 !important;
}

.form-item-agree input {
  margin-right: 7px;
}

#agreement-default-form p {
  text-align: center;
}

#agreement-default-form .form-actions {
  margin-top: 30px;
}

#agreement-default-form .form-actions input {
  margin: 0;
}

@media only screen and (max-height: 560px) and (max-width: 769px) {
  #agreement-default-form .form-actions,
  #agreement-default-form .form-item-agree {
    position: fixed;
    width: 100%;
    left: 0;
    margin: 0;
  }
  #agreement-default-form .form-actions {
    bottom: 5px;
  }

  #agreement-default-form .form-item-agree {
    bottom: 73px;
    background-color: white;
    padding: 5px 0;
  }
}

/*User reset*/

#user-pass-reset {
  text-align: center;
}

.page-user-reset #block-pagetitle {
  display: none;
}

.page-user-reset .block-system-main-block {
  width: 100%;
}

form#user-pass-reset .form-actions {
  display: flex;
  justify-content: center;
}

form#user-pass-reset .form-actions input {
  margin: 0;
}

@media only screen and (max-height: 430px) and (max-width: 769px) {
  form#user-pass-reset .form-actions {
    position: fixed;
    bottom: 20px;
    width: 100%;
    left: 0;
  }
}
