@import '../../variables.scss';

.message-list__panel__item {
  display: flex;
  gap: 5px;
  padding-bottom: 15px;
  justify-content: flex-start;
  align-items: flex-start;
  border-bottom: 1px solid #eeeeee;
  position: relative;
  &_image {
    width: 90px;
    height: 71px;
    border-radius: 5px;
    flex: 0 0 auto;
    overflow: hidden;
    position: relative;

    & > img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
  .badge {
    display: inline-block;
    width: 7px; // 根据需要设置的大小
    height: 7px;
    border-radius: 50%;
    background-color: #F44341; // 红色背景
    position: absolute; // 绝对定位
    top: 5px; // 根据需要调整位置
    left: 38px; // 根据需要调整位置
  }

  &__text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 3px;
    //padding-top: 4px;

    &__title {
      font-size: 15px;
      font-weight: 600;
      color: #000000;
    }

    &__description {
      -webkit-line-clamp: 1;
      overflow: hidden;
      color: #686868;
      -webkit-box-orient: vertical;
      display: -webkit-box;
      font-size: 12px;
      text-overflow: ellipsis;
    }

  }


}
