.add-component-modal {
  :global(.arco-modal-content) {
    padding-left: 0;
    padding-right: 0;
    background-color: #f7f8fa
  }
}

.add-component-container {

  .first-half {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;

    .component-preview {
      overflow: hidden;
      width: 30%;
      background-color: #fff;
      padding: 15px 5px;
      border: 1px solid transparent;
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
    }

    .component-info {
      width: 67%;
      background-color: #fff;
      padding: 15px 5px;
      border: 1px solid transparent;
      border-top-left-radius: 5px;
      border-bottom-left-radius: 5px;

      .markdown-label {
        font-size: 14px;
        white-space: normal;
        color: var(--color-text-2);
        margin-bottom: 6px;
      }

      .markdown-editor {
        padding-left: 50px;
        padding-right: 40px;
      }
    }
  }

  .last-half {
    box-sizing: border-box;
    width: 100%;
    background-color: #fff;
    padding: 15px 20px;

    .last-half-header {
      display: flex;
      justify-content: space-between;
    }
  }
}