@charset 'utf-s';
:host {
  display: flex;
  width: 100%;
  height: 100%;
}
@mixin ellipsis($row) {
  overflow: hidden;
  text-overflow: ellipsis;
  @if $row == 1 {
    display: block;
    white-space: nowrap;
    word-wrap: normal;
  } @else if $row >= 2 {
    display: -webkit-box;
    -webkit-line-clamp: $row;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
  }
}
.container {
  position: relative;
  width: 100%;
}
.chat-toolbar {
  width: 100%;
  height: 70px;
  min-height: 70px;
  align-items: center;
  background-color: #ffffff !important;
  border-bottom: 1px solid #dddddd;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  .chat-header {
    width: 100%;
    align-items: center;
    display: flex;
    justify-content: space-between;
    .profile-img {
      margin-right: 16px;
      .responsive-chats-button {
        display: none;
        &:last-child {
          display: block;
          padding: 0;
          width: 40px;
          height: 40px;
          border-radius: 50%;
          color: #efefef;
          font-size: 16px;
          line-height: 40px;
        }
      }
    }
    .room-info {
      display: flex;
      flex-flow: column;
      overflow: hidden;
      .room-name {
        font-size: 16px;
        line-height: normal;
        @include ellipsis(1);
      }
      .room-type {
        font-size: 14px;
        line-height: normal;
        margin-top: 6px;
        height: 20px;
        span {
          border-radius: 10px;
          padding: 2px 10px;
          margin-right: 6px;
          font-size: 13px;
        }
      }
    }
    .room-option {
      margin-left: auto;
    }
  }
}
.chat-content {
  position: relative;
  background: transparent;
  overflow: auto;
  -webkit-overflow-scrolling: touch;

  .file-drop-zone-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;

    .file-drop-zone {
      position: absolute;
      padding: 10px 10px 0 10px;
      background-color: rgb(54, 54, 54, 0.8);
      bottom: 0;
      width: 100%;
    }
  }

  .sticker-selector-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: transparent;

    .sticker-selector-zone {
      position: absolute;
      padding: 10px 10px 0 10px;
      background-color: rgba(250, 255, 255, 0.8);
      bottom: 0;
      width: 100%;
    }
  }
}

::ng-deep .chat-snackbar-class {
  .mat-simple-snackbar {
    span {
      @include ellipsis(1);
    }
  }
}
