.chat-message-a__container {
  width: 100%;
  font-style: normal;
  font-weight: 350;
  font-size: 12px;
  color: #fff;
}

.chat-message-a__container--sent {
  display: grid;
  grid-template-columns: 1fr 48px 10px;
  grid-template-areas: "message sender";
  width: fit-content;
  gap: 4px;
  margin-bottom: 4px;
  align-items: flex-end;
  word-break: break-word;
  margin-left: 10px;
}

.chat-message-a__container--received + .chat-message-a__container--sent {
  margin-top: 24px
}

.chat-message-a__container--sent + .chat-message-a__container--received {
  margin-top: 24px
}


.chat-message-a__container--received {
  display: grid;
  grid-template-columns: 10px 48px 1fr;
  grid-template-areas:
                    "gap sender message";
  gap: 4px;
  align-items: flex-end;
  margin-bottom: 4px;
  margin-right: 10px;
  word-break: break-word;
}

.chat-message-a__avatar {
  grid-area: sender;
  border-radius: 50%;
  display: inline-flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-style: normal;
  font-weight: 500;
  font-size: 10px;
}

.chat-message-a__container--sent .chat-message-a__avatar {
  background: var(--zocks-grey-3);
  margin-left: 10px
}

.chat-message-a__container--received .chat-message-a__avatar {
  border: 1px solid var(--zocks-grey-4);
  margin-left: 10px;
}

.chat-message-a__container--sent .chat-message-a__message-container {
  grid-area: message;
  background: var(--zocks-grey-3);
  padding: 12px 16px;
  border-radius: 4px 4px 0 4px;
  width: fit-content;
}

.chat-message-a__container--received .chat-message-a__message-container {
  grid-area: message;
  padding: 12px 16px;
  border: 1px solid var(--zocks-grey-4);
  border-radius: 4px 4px 4px 0;
  width: fit-content;
}
