#editor-container {
  margin: 6px;
  //border: 1px solid rgba(0, 0, 0, 0.4);
  border-radius: 2px;
  //box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.4);
  display: flex;
  position: relative;
  max-height: 350px;
  align-items: flex-end;

  &.messageLong {
    border: 1px solid rgba(255, 0, 0, 0.4);
    box-shadow: inset 0px 0px 5px rgba(255, 0, 0, 0.4);
  }

  #messageSendingLoader {
    display: flex;
    align-items: center;
    padding-right: 10px;
  }
}

#messageTooLongError {
  position: absolute;
  bottom: 2px;
  font-size: 10px;
  right: 10px;
  user-select: none;
  cursor: default;
}

#editor {
  flex: 1 1 auto;
  font-size: 16px;
  overflow: auto;
  padding: 6px;
  max-height: 300px;
}

#emoji-container {
  position: relative;
}

app-emoji-picker {
  position: absolute;
  right: 0;
  top: -220px;
  width: 100%;
  max-width: 500px;
}

#style-menu {
  position: absolute;
  left: calc(50% - 107px);
  top: -48px;
  border-radius: 5px;
  z-index: 1;
}

#style-menu-inner {
  padding: 5px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.2);
}

#style-menu mat-icon {
  padding: 5px;
  font-size: 24px;
  cursor: pointer;
}

#actions {
  display: flex;

  button {
    min-height: 48px;
  }
}

#native-editor {
  width: 100%;
  min-height: 24px;
  height: 24px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 14px;
  resize: none;

  background: none;
  border: none;
  outline: none;

  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
