/* Keep SMS opt-in controls visible when mobile browsers reset input appearance. */
.sms-consent label {
  display: block;
  line-height: 1.5;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.sms-consent a,
.sms-consent a:visited,
.sms-consent a:hover,
.sms-consent a:focus {
  color: #0066cc !important;
  text-decoration: underline;
}

.sms-consent input[type="checkbox"] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  float: none !important;
  width: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  height: 22px !important;
  min-height: 22px !important;
  max-height: 22px !important;
  margin: 2px 8px 0 0 !important;
  padding: 0 !important;
  vertical-align: top;
  border: 2px solid #52636a !important;
  border-radius: 3px;
  background: #fff !important;
  box-shadow: none !important;
  clip: auto !important;
  clip-path: none !important;
  cursor: pointer;
}

.sms-consent input[type="checkbox"]:checked {
  border-color: #007c6a !important;
  background: #007c6a !important;
}

.sms-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.sms-consent input[type="checkbox"]:focus-visible {
  outline: 3px solid #087cb5;
  outline-offset: 3px;
}
