.json-debugger {
  position: relative;

  > .json-debugger-error {
    position: absolute;
    font-size: 11px;
    position: absolute;
    background-color: #f39898;
    font-size: 11px;
    right: 4px;
    top: 4px;
    border-radius: 3px;
    padding: 5px 10px;
    color: #fff;
  }

  > textarea {
    width: 100%;
    overflow: hidden;
    resize: none;
  }

  > pre,
  > textarea {
    padding: 8px;
    margin: 0 0 15px;
    font-size: 13px;
    line-height: 1.72222;
    color: inherit;
    white-space: pre;
    background-color: #fff;
    border: 2px solid #e7e9ec;
    border-radius: 6px;
  }

  &.active > pre,
  &.active > textarea {
    border-color: #c784ff;
  }

  &.error > pre,
  &.error > textarea {
    border-color: #f39898;
  }

  > pre > code {
    padding: 0;
    font-size: inherit;
    color: inherit;
    white-space: pre-wrap;
    background-color: transparent;
    border-radius: 0;
    outline: none;
  }

  > textarea {
    font-family: monospace, monospace;
  }

  > textarea:focus {
    outline: none;
  }
}
