.fg-figure-detail-comment-textarea-container {
  position: relative;

  display: flex;
  
  width: 100%;
}

.fg-figure-detail-comment-editable-textarea {
  overflow: hidden;
  overflow-wrap: break-word;

  width: 100%;

  box-shadow: none;
  color: #000000;
  cursor: auto;
  outline: none;

  line-height: 24px;
  white-space: pre-wrap;

  transition: width .4s ease;
  resize: none !important;
}

.fg-figure-detail-main-comment,
.fg-figure-detail-main-comment:focus {
  min-height: 35px;

  padding: 4px 10px;

  border-radius: 5px;
  border: 1px solid #DDDDDD;
  background-color: #FFFFFF;
  color: #000000;

  hyphens: auto;

  transition: width .4s ease;
}

.fg-figure-detail-comment-body-textarea,
.fg-figure-detail-comment-body-textarea:focus {
  min-height: 16px;

  border: none;
  color: #555555;

  transition: none;
}

.fg-figure-detail-comment-editable-textarea[contenteditable=true]:empty:before {
  display: block; /* for firefox */

  color: rgb(117, 117, 117);

  content: attr(data-placeholder);
  -webkit-text-security: none;
  pointer-events: none !important;
}

.fg-figure-detail-comment-mention {
  color: #5C68A4;
}

.fg-figure-detail-comment-mention--clickable {
  cursor: pointer;
}

.fg-figure-detail-comment-mention-candidate-list {
  position: absolute;
  top: -151px;
  left: 0;
  z-index: 2;

  overflow: auto;

  width: 100%;
  max-height: 150px;

  padding: 0;

  border-radius: 5px;
  background-color: #222426;

  list-style: none;
}

.fg-figure-detail-comment-mention-candidate-list-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.fg-figure-detail-comment-mention-candidate {
  display: flex;
  align-items: center;

  height: 50px;

  padding: 15px;

  color: #999999;
  background-color: transparent;
  cursor: pointer;

  font-size: 12.5px;
  line-height: 16px;

  transition: color .4s ease;
}

.fg-figure-detail-comment-mention-candidate--active,
.fg-figure-detail-comment-mention-candidate:hover {
  background-color: #000000;
  color: #FFFFFF;
}

.fg-figure-detail-comment-mention-candidate-avatar {
  flex: 0 0 35px;
  width: 35px;
  height: 35px;

  margin-right: 15px;

  border-radius: 50%;
}

.fg-figure-detail-comment-mention-candidate-username-container,
.fg-figure-detail-comment-mention-candidate-name-container {
  width: 230px;
}

.fg-figure-detail-comment-mention-candidate-username-container:after,
.fg-figure-detail-comment-mention-candidate-name-container:after {
  right: 0;

  background-image: linear-gradient(to right, rgba(34, 36, 38, 0) 30%, rgba(34, 36, 38, .6) 37%, rgba(34, 36, 38, .9) 50%, rgba(34, 36, 38, 1) 100%);
}

.fg-figure-detail-comment-mention-candidate--active .fg-figure-detail-comment-mention-candidate-username-container:after,
.fg-figure-detail-comment-mention-candidate:hover .fg-figure-detail-comment-mention-candidate-username-container:after,
.fg-figure-detail-comment-mention-candidate--active .fg-figure-detail-comment-mention-candidate-name-container:after,
.fg-figure-detail-comment-mention-candidate:hover .fg-figure-detail-comment-mention-candidate-name-container:after {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .6) 37%, rgba(0, 0, 0, .9) 50%, rgba(0, 0, 0, 1) 100%);
}

.fg-figure-detail-comment-mention-candidate-username {
  color: #777777;

  font-size: 10px;
  line-height: 15px;
}

@media screen and (max-width: 450px) {
  .fg-figure-detail-main-comment {
    font-size: 12px;
  }
}
