#smsModalBG {
  background-color: rgba(0, 0, 0, 0.85);
  position: fixed;
  inset: 0;
  z-index: 999;
  margin: auto;
}

#smsModal {
  /* modal position and size */
  width: 775px;
  max-width: 100%;
  max-height: 90vh;
  position: relative;
  z-index: 999;
  overflow: auto !important;
  /* modal styles */
  background-color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
}

#smsModalClose {
  border-radius: 50%;
  border-width: 2px;
  background-color: #fff;
  color: #000;
  border-color: #000;
  font-size: 1.25rem;
  font-weight: 400;
  height: 1.25rem;
  width: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 5px;
  top: 5px;
}

#smsModalClose:hover {
  cursor: pointer;
}

/* removes squiggly line around button on focus */
#smsModalClose:focus-visible {
  outline: 1px solid -webkit-focus-ring-color;
  outline-offset: 0;
}

/* NEW SMS */
.smsModalFormContainer {
  display: flex;
  flex-direction: row-reverse;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 768px) {
  .smsModalFormContainer {
    flex-direction: column;
  }
}

.smsModalSubmitBtn,
.smsModalPhoneInput,
.smsModalEmailInput {
  box-sizing: border-box;
  width: 775px;
  max-width: 100%;
  padding: 0.5rem;
  outline: none;
  font-size: 1rem;
}

[type="text"]::placeholder {
  color: #a8a8a8;
}

.smsModalFormLabel-noVid2 {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1rem;
}

#smsModalPhoneNumber-noVid2 {
  padding: 0.5rem;
  font-size: 1.4rem;
  text-align: center;
  border: 1px solid #000;
  width: 100%;
  outline: none;
}

.smsModalSubmitBtn {
  width: 100%;
  max-width: 450px;
  padding: 0.5rem;
  font-size: 1.25rem;
  border-radius: 2rem;
  background-color: #0da800;
  color: #fff;
  border: 3px solid #000;
  margin: 1rem auto 0;
  transition: all 0.2s ease;
  line-height: 1;
}

.smsModalSubmitBtn:disabled {
  background-color: #cacaca;
  color: #888888;
  border: none;
  cursor: not-allowed;
}

.smsModalSubmitBtn:hover:not(:disabled) {
  cursor: pointer;
  background-color: #0c9000;
}

.smsDisclaimerModal {
  font-size: 0.6rem;
  color: #939393;
  text-align: center !important;
  line-height: 1.3;
  margin: 0 auto;
}

.smsDisclaimerModal a {
  color: #7d7d7d;
}

.smsInputContainerModal {
  display: flex;
  flex-direction: column;
  margin: 0 auto 0;
  max-width: 800px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.sr-only a,
.disclaimer a {
  color: #939393;
}

.smsModalFormLabel-noVid2 {
  text-align: left;
  font-size: 1em;
  font-weight: bold;
}

.color-red {
  color: #ef0000;
}

.international {
  border: solid red 1px;
  padding: 10px;
}

.smsModalInputFields {
  display: flex;
  align-items: stretch;
  margin-top: 0px;
}

.modal-subheadline {
  font-size: 1.75rem;
  font-size: clamp(1.33rem, 5vw, 1.75rem);
}

@media (max-width: 450px) {
  .modal-subheadline br {
    display: none;
  }
}
