.open-close-container {
  position: fixed;
  z-index: 1;
  inset: 61px 0 60px !important;

  overflow: hidden;

  width: 100vw !important;

  background-color: var(--color-gray-fff);
  border-radius: 0;

  &.fullscreenChat {
    width: 100vw;
  }
}

.fullscreen-btn,
.mute-btn,
.close-btn {
  cursor: pointer;

  position: absolute;
  z-index: 10;
  top: 10px;

  display: flex;
  justify-content: flex-end;
}

.fullscreen-btn {
  right: 40px;
}

.mute-btn {
  // right: 65px;
  right: 3px;
}

.close-btn {
  right: 15px;
}

.box-shadow {
  box-shadow: 0 0 2px 2px var(--chat-shadow-color);
}

.chat {
  display: flex;
  width: 100%;
  height: 100%;
  transition: width 300ms ease;

  .chat-list {
    overflow: hidden;
    width: 0%;
    max-width: 100%;

    &.opened {
      width: 100%;
    }
  }

  .chat-dialog,
  .chat-dialog__notify {
    overflow: hidden;
    display: flex;
    flex-direction: column;

    width: 0%;
    max-width: 100%;

    &.opened {
      width: 100%;
    }

    .chat-dialog-header {
      display: flex;
      padding: 13px 30px 8px;
      background-color: var(--chat-dialog-header-bg-color);
    }

    .p2p-chat-dialog-header {
      border-bottom: 1px solid rgb(0 0 0 / 12%);
    }

    .chat-dialog-body {
      overflow: hidden;
      flex-grow: 2;
    }
  }

  .chat-dialog__notify {
    max-width: 100%;
  }

  .chat-dialog__notify__component {
    height: 100%;
  }

  &.slim {
    ::ng-deep .chat-list .cmf-feed-sidenav .app-toolbar {
      .tabs {
        width: 75%;
      }
    }

    .chat-list,
    .chat-dialog {
      max-width: 100%;
    }
  }
}
