/* Join registration selector — source: _src/scss/join-registration.scss */

.wolseley-join {
  margin: 1.5em 0 2em;
  max-width: 48em;
}

.wolseley-join__fieldset {
  margin: 0 0 1.25em;
  padding: 0;
  border: 0;
}

.wolseley-join__legend {
  margin: 0 0 0.5em;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
}

.wolseley-join__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em 1.25em;
}

.wolseley-join__option {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  cursor: pointer;
}

.wolseley-join__summary-panel {
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 1em 1.25em;
  margin: 0 0 1.5em;
  line-height: 1.4;
}

.wolseley-join__summary-panel .wolseley-join__chosen {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5em 1em;
  margin: 0 0 0.75em;
  font-size: 1em;
  line-height: 1.4;
}

.wolseley-join__summary-panel .wolseley-join__membership {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.wolseley-join__summary-panel .wolseley-join__membership-label {
  font-weight: 700;
}

.wolseley-join__summary-panel .wolseley-join__summary {
  font-weight: 700;
}

.wolseley-join__summary-panel .wolseley-join__change {
  flex: 0 0 auto;
  margin: 0;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 400;
}

.wolseley-join__summary-panel .mp-form-row.mepr_price {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.5em;
  align-items: start;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.4;
}

.wolseley-join__summary-panel .mepr_price_cell_label {
  display: block !important;
  margin: 0;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

.wolseley-join__summary-panel .mepr_price_cell {
  display: block !important;
  margin: 0;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
}

.wolseley-join__summary-panel .wolseley-join__renewal {
  display: block;
  margin-top: 0.15em;
  font-weight: 400;
  line-height: inherit;
}

.wolseley-join__summary-panel .wolseley-join__renewal-note {
  margin: 0.75em 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: #555;
}

.wolseley-join__form .mp-form-label label {
  font-size: 14px;
  font-weight: 700;
}

.wolseley-join__term-note {
  margin: 0.5em 0 0;
  font-style: italic;
}

.wolseley-join__actions {
  margin: 1.5em 0 0;
}

.wolseley-join__submit {
  cursor: pointer;
}

.wolseley-join__chosen {
  margin: 0 0 1.25em;
}

.wolseley-join__change {
  margin-right: 0.75em;
}

.wolseley-join__error {
  color: #b32d2e;
}
