/**
 * Because the "Returning Customer" login form and the "New Customer" registration form
 * appear on the same screen during anonymous checkout, they don't use the standard Drupal
 * required form stuff from the form API (because the required fields in one can't trigger
 * errors in the other when fields aren't filled). This just adds the asterisks so they
 * appear to be required—they are actually required, just not by the regular means so
 * they don't get an asterisk.
 */
#edit-email-registration-login-returning-customer label:not(.form-required)::after,
#edit-email-registration-login-register label:not(.form-required)::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0.3em;
  content: '';
  vertical-align: super;
  background-image: url(../img/required.svg);
  background-repeat: no-repeat;
  background-size: 6px 6px;
}