/* Feselle Guard unified registration form */

.feselle-reg-name-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feselle-reg-name-row .form-row {
  flex: 1 1 220px;
  min-width: 0;
  margin-bottom: 0;
}

.vendor-customer-registration {
  margin-bottom: 12px;
}

.vendor-customer-registration .radio {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  font-weight: 600;
}

.show_if_seller {
  margin-bottom: 12px;
}

.show_if_seller small {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.85em;
  word-break: break-all;
}

.feselle-reg-terms {
  margin-top: 8px;
}

.feselle-reg-terms .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
}

.feselle-reg-terms a {
  text-decoration: underline;
}

.feselle-guard-verify-email {
  max-width: 560px;
  margin: 0 auto;
}

.feselle-guard-verify-email__form {
  margin-top: 16px;
}

@media (max-width: 600px) {
  .feselle-reg-name-row {
    flex-direction: column;
    gap: 12px;
  }

  /* The base `flex: 1 1 220px` is a WIDTH basis in the default row direction,
     but in this column direction it becomes a 220px HEIGHT — leaving a large
     empty gap below each input. Use auto basis so each row sizes to its content
     (label + input). margin-bottom: 0 avoids stacking on the form's grid gap. */
  .feselle-reg-name-row .form-row {
    flex: 0 1 auto;
    margin-bottom: 0;
  }
}
