/* sms modal */
#sms-modalBG {
  background-color: rgba(0, 0, 0, 0.95);
  /* cursor: pointer; */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
}

#sms-modal {
  background-color: #fff;
  cursor: default;
  width: 775px;
  max-width: 100%;
  margin: auto;
  padding: 0.25rem 0.25rem 1rem;
  z-index: 999;
  overflow: auto !important;
  max-height: 90vh;
  border-radius: 0.25rem;
  position: relative;
  font-family: "Roboto", sans-serif;
}

#sms-modal h2 {
  font-family: "Montserrat", sans-serif;
  color: #000;
  padding-top: 1rem;
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
}

#sms-modal p:not(.modal-disclaimer) {
  font-size: 0.8rem;
}

#sms-modalClose {
  border-radius: 100%;
  padding: 0.65rem;
  background-color: #eee;
  color: #000;
  font-size: 1rem;
  font-weight: 400;
  line-height: 0;
  height: 0.5rem;
  width: 0.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 5px;
  top: 5px;
  border: 1px solid #ccc;
}

#sms-modalClose:focus,
#sms-modalClose:hover {
  color: #000;
  background-color: #ccc;
  outline: 0;
}

#modalSubmit {
  font-family: "Roboto", sans-serif;
  padding: 0.6rem 0.25rem;
  width: 100%;
  text-decoration: none;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin: 0.25rem auto;
  border-radius: 5px;
  font-size: clamp(1rem, 5vw, 1.25rem);
}

#modalSubmit {
  transition: all 0.2s ease;
}

#modalSubmit:hover:not(:disabled) {
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  background-color: #33b812;
}

.modalSMSConsentMsg {
  font-size: 0.7rem !important;
  text-align: left !important;
}

.text-center {
  text-align: center !important;
}

@media screen and (max-width: 625px) {
  #sms-modal .sms-modalHeader {
    padding: 0.25rem 0.25rem;
  }

  #sms-modal .sms-modalHeader img {
    width: 40px;
  }

  #sms-modal #sms-modalClose {
    margin-top: 0;
  }

  #sms-modal h1 {
    margin: 0.75rem auto 0.25rem;
  }

  #sms-modal p {
    padding: 0.25rem 0.25rem;
  }
}

.modal-disclaimer {
  font-size: 0.6rem;
  color: #939393;
  text-align: center !important;
  line-height: 1.3;
  max-width: 700px;
  margin: 1rem auto 0.5rem;
}

p.modal-disclaimer a {
  color: #7d7d7d;
}

.modal-sms-input-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sms-modal-copy {
  padding: 0 0.5rem;
}

#success {
  display: none;
}
