.MessageItem {
  width: 439px;
  height: auto;
  padding: 12px 20px;
  background: #f5f5f5;
  display: flex;
  cursor: pointer;
  &__imgcontainer {
    width: 40px;
    height: 40px;
    position: relative;

    img {
      height: 100%;
      width: 100%;
      border-radius: 50%;
    }

    &__status_circle {
      width: 15px;
      height: 15px;
      border-radius: 50%;
      background: #00e676;
      border: 3px solid white;
      bottom: 0;
      right: 0;
      position: absolute;
    }
  }

  &__body {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    width: 100%;
    &__name {
      display: flex;
      justify-content: space-between;
      width: 100%;
      span {
        font-family: Inter;
        font-style: normal;
        font-weight: normal;
        font-size: 16px;
        line-height: 24px;
        color: #000000;
      }

      small {
        font-family: Inter;
        font-style: normal;
        font-weight: normal;
        font-size: 14px;
        line-height: 22px;
        text-align: right;
        color: #595959;
      }
    }

    &__date {
      font-family: Inter;
      font-style: 400;
      font-weight: normal;
      font-size: 12px !important;
    }

    &__message {
      width: 100%;
      div {
        display: -webkit-box;
        max-width: 350px;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-family: Inter;
        font-style: normal;
        font-weight: normal;
        font-size: 14px;
        line-height: 22px;
        color: #262626;
      }

      small {
        font-family: Inter;
        font-style: normal;
        font-weight: normal;
        font-size: 12px;
        line-height: 20px;
        display: flex;
        align-items: center;
        text-align: center;
        color: #595959;
      }
    }
  }

  &__active {
    width: 439px;
    height: auto;
    padding: 12px 20px;
    display: flex;
    cursor: pointer;
    background-color: white;
  }

  &__highlited_searched_query {
    background: #ffffb8;
  }
}
