.markdown-editor-container {
  display: flex;
  flex: 1;
  border: 1px solid #ccc;
  overflow: hidden;

  .markdown-editor-field,
  .markdown-editor-preview {
    flex: 1;
    padding: 10px;
    overflow: auto;
  }

  .markdown-editor-field {
    textarea {
      height: 160px;
    }
  }

  .markdown-editor-preview {
    height: auto;
    overflow: auto;
  }

  .divider {
    flex: 0 0 4px;
    background-color: #ddd;
    cursor: col-resize;
    width: 4px;
    display: flex;
    justify-content: center;
    align-items: center;

    transition: all 0.1s ease-in-out;

    div {
      color: #a7a7a7;
      font-size: 10px;
    }

    div:not(:first-child):not(:last-child) {
      font-size: 14px;
    }

    &:hover {
      background-color: #ccc;
      div {
        color: #8b8b8b;
      }
    }
  }
}

.markdown-display {
  overflow: auto;
  border: 1px solid #ccc;
  padding: 10px;
  resize: vertical;
}

.markdown {
  font-family: 'Space Grotesk';
  color: #1A1A1A;
  font-size: 20px;

  h1, h2, h3, h4, h5, h6 { margin: 0 0 20px; font-family: 'Space Grotesk' !important; }
  h1 { font-size: 40px; }
  h2 { font-size: 30px; }
  h3 { font-size: 25px; }
  h4 { font-size: 22px; }

  li {
    list-style: none;
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
  }

  li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background-color: #EB1E2F;
    border-radius: 50%;
    border: 2px solid #1A1A1A;
    box-shadow: 1px 1px 0px 0px #000000;
  }
}