@use "/src/styles/utils.scss";

.chat {
  height: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
}

.input {
  width: 100%;
  margin-top: auto;
  background-color: hsla(0, 0%, 100%, 0.07);
  padding: 8px;
  display: flex;
}

.dialogs {
  @include utils.scrollbar;
  .item {
    vertical-align: baseline;
    // font-size: 15px;
    .name {
      font-weight: 500;
      line-height: 1.375rem;
    }
    .time {
      font-size: 11px;
      opacity: 0.8;
      margin-left: 8px;
    }
    .content {
      font-size: 14px;
      color: #ccc;
    }
    padding: 8px 8px;
    margin: 0 8px;
    border-radius: 8px;
    transition: 0.2s;
    &:hover {
      background-color: hsla(0, 0%, 100%, 0.07);
    }
  }
}
