#b2bp-password-help, #b2bp-password-strength { display: block; margin-top: 7px; font-size: 12px; line-height: 1.5; }
#b2bp-password-strength { font-weight: 600; }
#b2bp-password-strength[data-strength="0"], #b2bp-password-strength[data-strength="1"] { color: #9b302a; }
#b2bp-password-strength[data-strength="3"], #b2bp-password-strength[data-strength="4"] { color: #2e6b44; }

.b2b-custom-registration-page .b2bp-password-rules { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 14px; margin-top: 10px; font-size: 12px; line-height: 1.5; }
.b2b-custom-registration-page .b2bp-password-rules > span { display: flex; align-items: center; gap: 6px; color: #736d63; }
.b2b-custom-registration-page .b2bp-password-rules > span.is-met { color: #2e6b44; }
.b2b-custom-registration-page .b2bp-password-rules input[type="checkbox"] { appearance: auto; flex: 0 0 15px; width: 15px !important; height: 15px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; accent-color: #2e6b44; opacity: 1; }

.b2b-custom-registration-page .b2bp-password-rules > span { white-space: nowrap; font-size: 11px; }
.b2b-custom-registration-page .b2bp-password-rules input[type="checkbox"] { display: none; }
.b2b-custom-registration-page .b2bp-password-rules > span::before { content: none; }
.b2b-custom-registration-page .b2bp-password-rules > span.is-met::before { content: '✓'; }

@media (max-width: 600px) {
  .b2b-custom-registration-page .b2bp-password-rules { flex-direction: column; align-items: flex-start; gap: 5px; }
}

/* Registration address controls; checkout styling is not affected. */
.b2bp-shipping-address-fields[hidden], .b2bp-address-lookup-trigger[hidden] { display: none !important; }
.b2bp-shipping-toggle-row label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; }
.b2bp-shipping-toggle-row input[type="checkbox"] { width: 18px; height: 18px; flex: 0 0 18px; }
.b2bp-shipping-address-fields { margin-top: 18px; }
.b2bp-address-lookup { margin: 6px 0 18px; }
.b2bp-address-lookup-control gmp-place-autocomplete { display: block; width: 100%; margin-top: 10px; }
.b2bp-address-lookup-status:not(:empty) { margin: 8px 0; font-size: 13px; }

/* v1.12.51: shipping details live INSIDE the existing Address card.
   Match the theme's two-column registration grid and collapse cleanly on mobile. */
.b2bp-register-page .b2bp-shipping-toggle-row {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 5px 0 0 !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid #eee7df;
}
.b2bp-register-page .b2bp-shipping-toggle-row label {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  cursor: pointer;
}
.b2bp-register-page .b2bp-shipping-toggle-row input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 18px;
  accent-color: #a47a47;
}
.b2bp-register-page .b2bp-shipping-address-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / -1;
  align-items: start;
  gap: 14px 20px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 14px 0 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.b2bp-register-page .b2bp-shipping-address-fields[hidden] { display: none !important; }
.b2bp-register-page .b2bp-shipping-address-fields > h4 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}
.b2bp-register-page .b2bp-shipping-address-fields > .form-row {
  float: none !important;
  clear: none !important;
  width: 100% !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
}
.b2bp-register-page .b2bp-shipping-address-fields > .b2bp-address-lookup {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
}
@media (max-width: 640px) {
  .b2bp-register-page .b2bp-shipping-address-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
}
