/* SMS opt-in must stay visible. The native input stays off-screen for the Webflow toggle; the box next to the label is the control. */
label.w-checkbox.checkbox-field {
  display: block !important;
}

label.w-checkbox.checkbox-field .w-checkbox-input.checkbox {
  display: inline-block !important;
  width: 20px;
  height: 20px;
  min-width: 20px;
  opacity: 1 !important;
  position: relative !important;
  z-index: 2 !important;
  vertical-align: middle;
  margin-right: 8px;
  background-color: #fff;
}

/* Compact SMS consent after Twilio approval. Legal copy stays; the box stays visible, unchecked and optional. */
label.w-checkbox.checkbox-field.sms-consent {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 8px;
  row-gap: 2px;
  width: 100%;
  float: none;
  margin-top: 8px !important;
  margin-bottom: 4px !important;
  line-height: 1.3;
}

label.w-checkbox.checkbox-field.sms-consent .w-checkbox-input.checkbox {
  order: 1;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 1px 0 0 !important;
}

label.w-checkbox.checkbox-field.sms-consent .checkbox-label {
  order: 2;
  flex: 1 1 auto;
  width: auto !important;
  margin: 0 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}

label.w-checkbox.checkbox-field.sms-consent p {
  order: 3;
  flex: 1 1 100%;
  margin: 2px 0 0 !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

label.w-checkbox.checkbox-field.sms-consent > a {
  order: 4;
  display: inline !important;
  margin: 0 10px 0 0 !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
}

@media (max-width: 991px) {
  footer label.w-checkbox.checkbox-field.sms-consent,
  #wf-form-Page-Form label.w-checkbox.checkbox-field.sms-consent,
  #footer label.w-checkbox.checkbox-field.sms-consent {
    margin-top: 8px !important;
  }
}
