/* Terms of Service modal (shared by /signup and embedded signup forms). */
.su-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.su-modal[hidden] {
  display: none;
}

.su-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 61, 51, 0.55);
}

.su-modal-box {
  position: relative;
  width: min(920px, 100%);
  height: min(85vh, 100%);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(23, 61, 51, 0.35);
  overflow: hidden;
  display: flex;
}

.su-modal-frame {
  flex: 1;
  width: 100%;
  border: 0;
}

.su-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #E9EEE4;
  color: #1E4D40;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.su-modal-close:hover {
  background: #6CC5A2;
}

.su-modal-close:focus-visible {
  outline: 2px solid #388270;
  outline-offset: 2px;
}
