.chat {
  background: var(--zocks-grey-2);
  border-left: 1px solid var(--zocks-grey-2);
  bottom: 0;
  box-sizing: border-box;
  color: #fff;
  font-size: 13px;
  overflow: hidden;
  position: fixed;
  right: 0;
  top: 0;
  transition: all .8s ease;
  width: 472px;
  z-index: 100;
}

.chat__header {
  background: var(--zocks-grey-3);
  border-bottom: 1px solid var(--zocks-grey-3);
  display: flex;
  flex-direction: row;
  height: 64px;
  justify-content: space-between;
  width: 100%;

  > button {
    border: none;
    background: var(--zocks-grey-3);
    border-left: 1px solid var(--zocks-grey-4);
    height: 64px;
    width: 64px;
    font-size: 24px;
    color: #FFFFFF;
    position: absolute;
    right: 0;

    &:before {
      font-size: 24px;
      font-family: zocksiconfont, serif;
      content: '\e80f';
    }
  }

}

.chat__main-container {
  display: grid;
  height: calc(100vh - 64px);
  grid-template-rows: 64px 1fr fit-content(100px);
  grid-template-columns: 1fr;
  grid-template-areas:
                "selector"
                "messages"
                "controls";
}

.chat__messages-container {
  grid-area: messages;
  overflow: hidden;
}

.chat__messages-scroll {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  overflow: auto;
  max-height: calc(100vh - 112px - 88px - 100px);
  min-height: calc(100vh - 112px - 88px - 60px);
  height: calc(100vh - 112px - 88px - 60px);
  padding-top: 10px;
  scrollbar-width: none; /* Firefox 64 */
  -ms-overflow-style: none; /* Internet Explorer 11 */
  &::-webkit-scrollbar { /** WebKit */
    display: none;
  }

}

.chat__footer {
  grid-area: controls;
  position: relative;
}

.chat-input__message-input-container {
  grid-template-columns: 1fr 80px;
}

.chat__main-container .chat-input__top-bar .chat-input__recipient-select-container {
  display: none;
}

.chat__main-container .chat-input__recipient-select-container {
  background: var(--zocks-grey-3);
  border-bottom: 1px solid var(--zocks-grey-4);
  border-top: 1px solid var(--zocks-grey-4);
  display: flex;
  flex-direction: row;
  height: 64px;
  width: 100%;
  padding-left: 10px;

}
