.pmPreviewContainer {
  display: flex;
  padding: 10px 0 10px 10px;
  margin: 10px 0;
  cursor: pointer;
  border-radius: 17px;
}

@keyframes selected {
  from {
    background-color: initial;
  }
  to {
    background-color: #e4f4fc;
  }
}

.pmPreviewContainer.selected {
  background-color: #e4f4fc;
  animation: selected 0.8s;
}

.pmPreviewContainer .senderImg {
  display: flex;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  background-size: cover;
}

.bottomLine {
  margin: 0;
  border-top: solid 1px #f0f0f0;
}

.pmPreviewContainer .senderBody {
  display: flex;
  width: calc(100% - 70px);
  flex-direction: column;
  padding-left: 10px;
}

.pmPreviewContainer .senderBody .senderNameAndTime {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.pmPreviewContainer .senderNameAndTime .senderName {
  font-family: 'Metropolis Regular';
  font-size: 14px;
  letter-spacing: 1.6px;
  color: #333333;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  max-width: 77%;
}

.pmPreviewContainer .senderNameAndTime .senderTimestamp {
  font-family: 'Metropolis Regular';
  font-size: 11px;
  letter-spacing: 1.9px;
  color: #333333;
}

.pmPreviewContainer .senderBody .lastMsgAndNotification {
  display: flex;
  width: 100%;
  justify-content: space-between;
}

.pmPreviewContainer .senderBody .lastMsgAndNotification .lastMessagePreview {
  display: block;
  display: -webkit-box;
  width: 80%;
  font-family: 'Metropolis Regular';
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 3.24px;
  color: #7c7c7c;
  height: 35px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pmPreviewContainer .senderBody .lastMsgAndNotification .notificationsCounter { 
  align-self: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-family: 'Metropolis Regular';
  font-size: 12px;
  align-items: center;
  justify-content: space-evenly;
  color: white;
  background-color: #0eb5fe;
  display: none;
}
.pmPreviewContainer .senderBody .lastMsgAndNotification .notificationsCounter.show {
  display: flex;
}

.pmPreviewContainer.unread .senderNameAndTime .senderName {
  font-family: 'Metropolis Bold';
  color: #0eb5fe;
  animation: none;
}

.pmPreviewContainer.unread .senderNameAndTime .senderTimestamp {
  font-family: 'Metropolis Bold';
  animation: none;
}