.handoffAssigned {
  width: 100%;
  text-align: center;
  background: var(--bg);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  color: var(--shark);
  padding: 6px;
}

.messageList {
  flex-grow: 1;
  overflow-y: auto;

  .messageContainer {
    display: flex;
    width: 100%;
    .message {
      max-width: 75%;
      max-width: 75%;
      border: solid 1px var(--bg);
      font-size: 12px;
      line-height: 1.25;
      border-radius: 15px;
      color: var(--shark);
      padding: var(--spacing-medium);
      display: flex;
      align-items: center;
      margin-bottom: 10px;
    }

    &.user {
      justify-content: flex-start;
      .message {
        border-bottom-left-radius: 0;
      }
    }
    &.bot {
      justify-content: flex-end;
      .message {
        border-bottom-right-radius: 0;
        background-color: var(--bg);
      }
    }
  }

  //TODO remove this whole shit
  .bpwChatBubble {
    margin-bottom: var(--spacing-medium);
    white-space: pre-wrap;
    word-break: break-word;

    p {
      margin: 0;
    }
  }

  .bpwChatBubble:first-of-type {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }

  .bpwChatBubble:last-of-type {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
  }

  .bpwChatBubbleContent {
    border: solid 1px var(--seashell);
    font-size: 12px;
    line-height: 1.25;
    border-radius: 15px;
    color: var(--shark);
    padding: var(--spacing-medium);
    transition: border 0.3s, background 0.3s, color 0.3s;

    .createdDate {
      color: var(--reef) !important;
      font-size: 10px;
      line-height: 1.25;
    }
  }
}

.composerContainer {
  display: flex;
  align-items: baseline;
  .composer {
    width: calc(100% - 50px);
    padding: var(--spacing-large) var(--spacing-medium);
    display: flex;
    flex-direction: column-reverse;
    textarea {
      min-height: 40px;
      padding: var(--spacing-large);
    }

    .shortcutDropdown {
      background-color: #fff;
      padding: var(--spacing-small);
      border-radius: var(--spacing-small);
      color: var(--shark);
      font-size: 13px;
      min-width: 200px;
      box-shadow: 0 3px 8px 0 rgba(16, 22, 26, 0.2);
      margin-bottom: var(--spacing-medium);

      > ul {
        margin: 0;
        padding: 0;
        list-style: none;
        border: none;
        box-shadow: none;
        > .shortcutListItem {
          border: none;
          > div {
            background: #fff;
          }
          .shortcutItem {
            height: 30px;
            padding: var(--spacing-medium) var(--spacing-large);
            border-radius: var(--spacing-small);
            background-color: #fff;
            color: var(--shark);
            display: flex;
            &.selected {
              background-color: var(--hover-ocean);
            }
            .shortcutKey {
              width: 100px;
            }
            .shortcutValue {
              width: 100%;
              text-overflow: ellipsis;
              overflow-y: hidden;
              white-space: nowrap;
            }
          }
        }
      }
    }
  }
  :global(.bp3-button).sendButton {
    background: none;
    border: none;
    box-shadow: none;
    font-size: 14px;
    font-weight: 500;
    min-width: 40px;
    padding: 0;
    height: 40px;
    &:not([disabled]) {
      cursor: pointer;
    }
    path {
      fill: var(--shark);
    }
    &:hover {
      path {
        fill: var(--ocean);
      }
    }
  }
}
