body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.container {
  padding: 10px;
  max-width: 750px;
  margin: 0 auto;
  border: 1px solid #ddd;
}

.label {
  display: block;
}

.dataFields {
  display: flex;
  margin-top: 10px;

  > * {
    flex-grow: 1;
  }

  & > * + * {
    margin-left: 20px;
  }
}

.textArea {
  display: block;
  width: 100%;
  font-family: monospace;
  margin-top: 5px;
}

.smsPreview {
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: #eee;
  padding: 10px;
  border-radius: 4px;

  .smsPreviewTitle {
    margin: 0;
    font-size: 0.75em;
    font-weight: bold;
  }

  .smsText {
    white-space: pre-wrap;
  }
}

.characterCount {
  font-size: 0.75em;
  opacity: 0.75;
  margin: 16px 0 0 0;
}

.previewIframe {
  width: 100%;
  min-height: 800px;
  border: 1px solid #ddd;
  resize: both;

  &.isMobile {
    max-width: 450px;
  }
}

.codePreview {
  box-sizing: border-box;
  height: 200px;
  min-width: 100%;
  overflow: auto;
  resize: both;

  padding: 15px;
  margin-bottom: 10px;

  font-family: monospace;
  white-space: pre-wrap;
  background-color: #eee;
}

.textPreview {
  white-space: pre-wrap;
  background-color: #eee;
  padding: 10px;
  border-radius: 4px;
}

.metaPreview {
  padding: 10px;
  background: #eee;
  width: 100%;
  box-sizing: border-box;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}

details {
  margin-top: 15px;
}
