@import '~styles/mixins';

.message-card-wrapper {
  margin-top: 40px;
  position: relative;
  max-width: 400px;
  clear: both;
  float: left;
  text-align: left;
  min-width: 200px;

  &:first-child {
    margin-top: 0;
  }

  .message-name {
    margin-right: 8px;
    font-weight: bold;
  }
  .message-wrapper {
    &.right {
      text-align: right;
    }
  }

  .message-text {
    max-width: 100%;
    overflow: auto;
    text-align: left;
    background: #fff;
    font-size: 13px;
    padding: 10px 15px;
    display: inline-block;
    border-radius: 5px;
    color: #404852;
    letter-spacing: 0.2px;
    //box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
    white-space: pre-wrap;
    &.right {
      color: white;
      background-color: #5fb77d;
    }
  }
}

.right-position {
  float: right !important;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.date-container {
  font-size: 12px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  text-align: center;
  color: #4b5256;
  text-align: right;
}
