/* Template register - START */
.customer-register-wrapper .breadcrumbs-wrapper {
  margin-bottom: calc(1.5rem * var(--body-scale));
}
.customer {
  width: min(500px, 100%);
  margin-inline: auto;
}
.customer input, .customer button, .customer theme-input-password {
  width: 100%;
  justify-content: center;
}
.customer theme-input-password {
  display: block;
}
.customer-register-wrapper .account-login {
  width: min(500px, 100%);
  margin-inline: auto;
  margin-top: 2rem;
  border-top: 1px solid rgb(var(--line-color));
  padding-top: calc(2rem * var(--body-scale));
}
.customer-register-wrapper .register-checkbox-field {
  width: min(500px, 100%);
  margin-top: 1.5rem;
  margin-inline: auto;
  text-align: left;
}
.customer-register-wrapper .register-checkbox-field label {
  display: flex;
  align-items: flex-start;
  gap: calc(0.75rem * var(--body-scale));
  cursor: pointer;
  font-size: calc(0.95rem * var(--body-scale));
  line-height: 1.5;
}
.customer-register-wrapper .register-checkbox-field .checkbox-tick {
  width: 20px;
  height: 20px;
  border: 1px solid rgb(var(--border-color));
  border-radius: calc(0.04px * var(--layout-radius));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgb(var(--color-background));
  color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  margin-top: 0.1rem;
}
.customer-register-wrapper .register-checkbox-field .checkbox-tick svg {
  width: 12px;
  height: 12px;
}
.customer-register-wrapper .register-checkbox-field input:checked + .checkbox-tick {
  background: rgb(var(--primary-button-background));
  border-color: rgb(var(--primary-button-background));
  color: rgb(var(--primary-button-label));
}
.customer-register-wrapper .register-checkbox-field input:focus-visible + .checkbox-tick {
  outline: 2px solid rgb(var(--input-focus-border) / var(--input-border-opacity));
  outline-offset: 2px;
}
.customer-register-wrapper .register-checkbox-field a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.customer-register-wrapper .register-consent-error {
  margin: 0.5rem 0 0 calc(20px + 12px);
  color: rgb(var(--error-color));
  font-size: calc(0.85rem * var(--body-scale));
  line-height: 1.4;
}
/* Template register - END */

.customer .success-message,
.customer .error-message {
  display: flex;
  justify-content: center;
  margin: 0;
}

@media screen and (max-width: 749px) {
  .customer .success-message,
  .customer .error-message {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .customer .success-icon,
  .customer .error-icon {
    margin-top: 0;
  }
}
