/* ------------------------ Message List Item ------------------------  */

.str-chat__li {
  margin: 0px;
  padding: 15px;
  position: relative;

  &:hover {
    background: rgba(0, 0, 0, 0.03);
    .str-chat__message-text-inner {
      background: rgba(0, 0, 0, 0);
    }
  }
}

/* ------------------------ Wrapper and Content Container ------------------------  */

.message-wrapper {
  display: flex;

  &-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
}

/* ------------------------ Name and Timestamp ------------------------  */

.message-header {
  display: flex;

  &-name {
    font-family: Helvetica Neue, sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 120%;
    color: #858688;
  }

  &-timestamp {
    font-family: Helvetica Neue, sans-serif;
    font-size: 11px;
    line-height: 120%;
    color: #858688;
    margin-left: 6px;
  }
}

/* ------------------------ Message Actions ------------------------  */

.str-chat__li:hover .str-chat__message-simple__actions {
  position: absolute;
  top: -14px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  border-radius: 100px;
  background: white;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.07);
  z-index: 1;
  padding: 0 4px 0;

  &__action--reactions {
    display: flex;
  }

  &__action--options {
    display: flex;
  }

  &__action--thread {
    display: flex;
  }
}

.str-chat__message-simple__actions {
  margin-top: 0;
}

/* ------------------------ Message Actions Box ------------------------  */

.str-chat__message-actions-box {
  top: initial;
  left: -100px;
  border-radius: 16px 16px 0 16px;
}

/* ------------------------ Message Text ------------------------  */

.str-chat__message-text {
  display: flex;
  width: 100%;
}

.str-chat__message-text-inner {
  position: relative;
  flex: 1;
  display: block;
  min-height: 32px;
  font-size: 15px;
  color: black;
  border-radius: 0;
  border: 0px;
  margin-left: 0;

  p {
    font-family: Helvetica Neue, sans-serif;
    font-size: 15px;
    line-height: 18px;
    color: #000000;
    margin-bottom: 0;
  }
}

/* ------------------------ Replies Count Button ------------------------  */

.str-chat__message-replies-count-button {
  font-family: Helvetica Neue, sans-serif;
  font-weight: bold;
  font-size: 13px;
  text-align: right;
  color: #4e1d9d;
}

/* ------------------------ Reactions List ------------------------  */

.str-chat__simple-reactions-list {
  border-radius: 10px;
}

/* ------------------------ Reactions Selector ------------------------  */

.str-chat__reaction-selector {
  max-height: 40px;
  top: -58px;
  right: 20px;
  border-radius: 20px;
  background: white;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
  border: 1px solid #bed5e4;
}

.str-chat__message-reactions-list-item__count {
  color: #000000;
}

/* ------------------------ Message Status ------------------------  */

.str-chat__message-simple-status {
  right: 22px;
}

/* ------------------------ Quoted Message ------------------------  */

.quoted-message-inner {
  margin-top: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.str-chat__li .quoted-message.mine .quoted-message-inner {
  background: #ebebeb;
}
