.groups {
  max-width: 300px;
  height: 50px;
  padding: 6px 13px 6px 15px;
  cursor: pointer;
  transition: all 0.4s;
}

.groups:hover {
  background: #eaf3fb;
}

.avatar img {
  float: left;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-right: 10px;
}

.data {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 50px;
  padding-left: 5px;
}

.userName {
  display: flex;
  justify-content: space-between;
  padding-bottom: 5px;
}

.userName span:first-child {
  font-weight: 600;
}

.date {
  font-size: 12px;
  color: #979797;
}

.last-message {
  font-size: 13px;
  color: #979797;
  padding-top: 5px;
  display: flex;
  justify-content: space-between;
}

.unread-messages {
  background: #50b0ff;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  padding: 5px 8px;
  font-weight: bold;
  text-align: center;
}
