/* The theme owns the final registration card, including Core Business 1.12.40. */
.b2b-custom-registration-page .b2bp-registration-submit-card {
  box-sizing: border-box;
  width: 100%;
  padding: clamp(20px, 3vw, 28px);
  margin: 0 0 18px;
  border: 1px solid #e8e0d5;
  border-radius: 16px;
  background: var(--b2bp-surface, #fff);
  color: var(--b2bp-text, #24231f);
  box-shadow: 0 8px 24px rgb(70 53 32 / 5%);
}
.b2b-custom-registration-page .b2bp-registration-submit-card > .b2b-registration-password-notice {
  margin: 0 0 12px !important;
  font-size: 14px;
  line-height: 1.7;
}
.b2b-custom-registration-page .b2bp-registration-submit-card .woocommerce-privacy-policy-text {
  margin: 0 0 18px !important;
  color: var(--b2bp-muted, #736d63);
  font-size: 13px;
  line-height: 1.75;
}
.b2b-custom-registration-page .b2bp-registration-submit-card .woocommerce-privacy-policy-text p { margin: 0 0 10px; }
.b2b-custom-registration-page .b2bp-registration-submit-card .woocommerce-privacy-policy-text a { text-decoration: underline; text-underline-offset: 3px; }
.b2b-custom-registration-page .b2bp-registration-submit-card > .form-row { margin: 0 !important; padding: 0 !important; }
@media (max-width: 480px) {
  .b2b-custom-registration-page .b2bp-registration-submit-card .woocommerce-form-register__submit { width: 100%; }
}

/* Keep both messages identical despite inherited WooCommerce paragraph styles. */
.b2bp-register-page .b2b-custom-registration-page .b2bp-registration-submit-card > .b2b-registration-password-notice,
.b2bp-register-page .b2b-custom-registration-page .b2bp-registration-submit-card .woocommerce-privacy-policy-text,
.b2bp-register-page .b2b-custom-registration-page .b2bp-registration-submit-card .woocommerce-privacy-policy-text :is(p, a) {
  font-family: var(--b2bp-font-body, inherit) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  letter-spacing: normal !important;
  color: var(--b2bp-text, #24231f) !important;
}
