#affwp-register-form > fieldset > legend {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  font-weight: bold;
  font-size: 2rem;
}

.affwp-form .affwp-field-label {
  font-weight: bold;
  margin-bottom: 0.5em;
  font-size: 0.875rem;
  line-height: 1.25rem;
  display: inline-block;
}
.affwp-form .affwp-field-label .required {
  color: white;
  font-size: 0.75rem;
  line-height: 1rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  /* padding-left: 0.375rem; */
  /* padding-right: 0.375rem; */
  background-color: rgb(220 38 38 / 1);
  border-radius: 0.375rem;
  margin-left: 0.5rem;
}

.affwp-form input[type="text"],
.affwp-form input[type="password"],
.affwp-form input[type="email"],
.affwp-form input[type="url"],
.affwp-form textarea {
  padding: 0.625rem;
  background-color: rgb(249 250 251 / 1);
  border-color: rgb(209 213 219 / 1);
  border: 1;
  border-radius: 0.375rem;
}

.affwp-form input[type="submit"] {
  cursor: pointer;
  text-align: center;
  word-break: break-word;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.25em;
  display: block;
  background-color: var(--wp--preset--color--contrast);
  border-radius: .33rem;
  border-color: var(--wp--preset--color--contrast);
  border-width: 0;
  color: var(--wp--preset--color--base);
  font-family: inherit;
  font-size: var(--wp--preset--font-size--large);
  font-style: normal;
  font-weight: bold;
  line-height: inherit;
  padding-top: 0.6rem;
  padding-right: 1rem;
  padding-bottom: 0.6rem;
  padding-left: 1rem;
  text-decoration: none;
}

.affwp-form input[type="submit"]:hover {
  background-color: var(--wp--preset--color--contrast-2);
  border-color: var(--wp--preset--color--contrast-2);
  color: var(--wp--preset--color--base);
}

@media (max-width: 768px) {
  .reverse-mobile {
      flex-direction: column-reverse;
  }
}