/* PrestAI B2B — the professional account page: spacing and light cards, the fields follow the theme. */
.prestaib2b-account__lead,
.prestaib2b-account__login {
  margin-bottom: 1rem;
}

/* 0.6.0: « Why a professional account? », in the colors of the theme. */
.prestaib2b-account__why {
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--bs-primary, #24b9d7);
  border-radius: 0.375rem;
  background: var(--bs-tertiary-bg, #f6f6f6);
}

.prestaib2b-account__why > h2 {
  margin-bottom: 0.5rem;
}

.prestaib2b-account__why > p {
  margin-bottom: 0;
}

/* 0.6.0: each block in a light card. */
.prestaib2b-account__section {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.25rem 0.25rem;
  border: 1px solid var(--bs-border-color, rgba(0, 0, 0, 0.125));
  border-radius: 0.5rem;
}

.prestaib2b-account__section > h2 {
  margin-bottom: 1rem;
}

.prestaib2b-account__identity {
  margin-bottom: 1rem;
}

.prestaib2b-account__boxes {
  margin-bottom: 1rem;
}

.prestaib2b-account__footer {
  margin-top: 1rem;
}

.prestaib2b-account__delay {
  margin-bottom: 0.75rem;
}

/*
 * 0.6.0, Classic: its form puts the label on the left (col-md-3), the field (col-md-6) and « Optional » on the right
 * (col-md-3). On this page, the label above the field and « Optional » under it, as in Hummingbird, so that two fields
 * fit side by side.
 */
.prestaib2b-account__form .form-group.row {
  display: block;
  margin-right: 0;
  margin-left: 0;
}

.prestaib2b-account__form .form-group.row > [class*='col-md-'] {
  width: 100%;
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}

.prestaib2b-account__form .form-group.row > .form-control-label {
  padding-top: 0;
  margin-bottom: 0.25rem;
  text-align: left;
}

.prestaib2b-account__form .form-group.row > .form-control-label:has(+ .js-input-column .custom-checkbox) {
  display: none;
}

.prestaib2b-account__form .form-group.row > .form-control-comment {
  font-size: 0.875em;
}
