/* packageH/chitchat/components/chatListItem/chatListItem.wxss */

.item-box {
  display: flex;
  align-items: center;
  height: 3.75rem;
  padding: 0.625rem 0.906rem 0.625rem 0.938rem;
}

.item-img {
  width: 2.5rem;
  height: 2.5rem;
}

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

.item-cont {
  flex: 1;
  height: 2.6rem;
  padding-left: 0.781rem;
  overflow: hidden;
}

.item-cont .item-cont-top {
  display: flex;
  justify-content: space-between;
  align-content: center;
  height: 1.375rem;
}

.item-cont .item-cont-top .item-nickname {
  font-size: 1rem;
  letter-spacing: 0.05rem;
  color: #333;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.item-cont .item-cont-top .item-time {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: #999;
}

.item-cont .item-last-msg {
  font-size: 0.75rem;
  color: #999;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.item-footer {
  display: flex;
  justify-content: space-between;
  align-content: center;
}

.item-unread {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.375rem;
  font-size: 0.75rem;
  color: white;
  background-color: red;
  border-radius: 1.125rem;
  transform: scale(0.65);
}
