/* Nexis Cakes enquiry referral fields: presentation only. */
.ncd-form .nexis-affiliate-code,
.hnwb-booking .nexis-affiliate-code {
  min-width: 0;
  margin: 28px 0 0;
  padding: 24px;
  border: 1px solid #e3e4eb;
  border-radius: 20px;
  background: #faf9f6;
  color: #172052;
}
.nexis-affiliate-code legend {
  float: none;
  width: auto;
  max-width: 100%;
  padding: 0 8px;
  margin: 0 0 8px;
  font: 700 16px/1.5 Manrope, system-ui, sans-serif;
}
.nexis-affiliate-code > label:first-of-type {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}
.nexis-affiliate-code input[name="nexis_affiliate_code"] {
  width: 100%;
  max-width: 320px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #b6b9c9;
  border-radius: 10px;
  background: #fff;
  color: #172052;
  font: 500 16px/1.5 Manrope, system-ui, sans-serif;
  letter-spacing: .06em;
}
.nexis-affiliate-code > p {
  max-width: 72ch;
  margin: 14px 0 20px;
  color: #59617b;
  font-size: 13px;
  line-height: 1.7;
}
.nexis-affiliate-code > label:last-of-type {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 14px;
  border: 1px solid #e3e4eb;
  border-radius: 12px;
  background: #fff;
  color: #172052;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.65;
  cursor: pointer;
}
.nexis-affiliate-code input[type="checkbox"] {
  appearance: auto;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  margin: 1px 0 0;
  accent-color: #172052;
  cursor: pointer;
}
.nexis-affiliate-code input:focus-visible {
  outline: 3px solid #244967;
  outline-offset: 3px;
}
.ncd-form #ncd-reset,
.hnwb-booking .hnwb-reset {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #b6b9c9;
  border-radius: 10px;
  background: #fff;
  color: #172052;
  box-shadow: none;
  font: 600 13px/1.5 Manrope, system-ui, sans-serif;
  text-decoration: none;
}
.ncd-form #ncd-reset:hover,
.hnwb-booking .hnwb-reset:hover { background: #f5f6fb; transform: none; }
@media (max-width: 640px) {
  .ncd-form .nexis-affiliate-code,
  .hnwb-booking .nexis-affiliate-code { padding: 18px; margin-top: 22px; }
  .nexis-affiliate-code legend { font-size: 15px; }
  .nexis-affiliate-code input[name="nexis_affiliate_code"] { max-width: none; }
}
