.comment-editor-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: text;
}

.comment-editor-wrapper .comment-editor-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.comment-editor-wrapper .comment-editor-content {
  border: 1px solid #ececec;
  border-radius: 3px;
  transition: border-color .3s ease;
}

.comment-editor-wrapper .comment-editor-content:focus-within {
  border-color: #ff8e03;
}

/* comment-editor */
.comment-editor-wrapper .comment-editor-content .article.comment-editor {
  width: 100%;
  padding: 8px;
  padding-bottom: 0;
  min-height: 60px;
  max-height: 130px;
  box-shadow: none;
  overflow-y: auto;
  overflow-x: hidden;
  border: none;
  background-color: transparent;
  display: block;
}

.comment-editor-wrapper .comment-editor-content .article.comment-editor :first-child {
  margin-top: 0 !important;
}

.comment-editor-wrapper .comment-editor:empty:before {
  content: attr(placeholder);
  opacity: .6;
}

.comment-editor-wrapper .comment-editor:focus-visible {
  outline: none;
}

.comment-editor-wrapper .comment-editor:focus {
  border: 1px solid rgba(0, 0, 0, .12);
}

.comment-editor-wrapper .comment-editor-user-info {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.comment-editor-wrapper .comment-editor-user-info .comment-editor-user-img {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 8px;
}

.comment-editor-wrapper .comment-editor-user-info .comment-editor-user-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: none;
}

.comment-editor-wrapper .comment-operations {
  display: flex;
  justify-content: flex-end;
}

/* comment-editor-toolbar */
.comment-editor-wrapper .comment-editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 32px;
  user-select: none;
  z-index: 102;
  margin: 0 8px;
  margin-top: 5px;
}

.comment-editor-wrapper .comment-editor-toolbar .comment-editor-menu-group {
  border-right: none !important;
  padding-left: 0 !important;
  height: 100%;
  font-size: 0.75rem;
  border-radius: 0 !important;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-editor-wrapper .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item {
  width: 24px;
  height: 24px;
  line-height: 24px;
  margin-right: 8px;
  border: none !important;
  color: #666;
  background-color: transparent;
  padding-inline: 0;
}

.comment-editor-wrapper .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item:disabled {
  color: #C2C2C2;
}

.comment-editor-wrapper .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item:hover {
  background-color: #EFEFEF;
  border-radius: 2px;
}

.comment-editor-wrapper .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item[data-active='true'] {
  color: #ED7109;
}

.comment-editor-wrapper .comment-editor-toolbar .comment-editor-menu-group .comment-editor-menu-group-item .sdocfont {
  font-size: 14px;
}
