.sms-contact-notice {
  box-sizing: border-box;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: clamp(20px, 5vw, 28px);
  margin: auto;
  overflow: auto;
  border: 1px solid #5c676d;
  border-radius: 16px;
  background: #20262a;
  color: #fff;
  box-shadow: 0 24px 68px #0009;
  font-family: inherit;
  text-align: left;
}

.sms-contact-notice::backdrop {
  background: #0c1116c9;
}

.sms-contact-notice .sms-contact-notice-label {
  margin: 0 0 10px;
  color: #f4c257;
  font-size: 14px;
  font-weight: 700;
}

.sms-contact-notice h2 {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: clamp(22px, 5vw, 27px);
  font-weight: 700;
  line-height: 1.2;
}

.sms-contact-notice :is(#sms-contact-notice-message, #sms-contact-notice-quote) {
  margin: 12px 0 0;
  color: #e4e9ec;
  font-size: 15px;
  line-height: 1.5;
}

.sms-contact-notice #sms-contact-notice-quote a {
  color: #f4c257;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sms-contact-notice .sms-contact-notice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
}

.sms-contact-notice .sms-contact-notice-actions > :is(button, a) {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #77838a;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.sms-contact-notice .sms-contact-notice-actions > .sms-contact-notice-continue {
  border-color: #f4c257;
  background: #f4c257;
  color: #20262a;
}

.sms-contact-notice :is(button, a):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
