.nitro-chat-input-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 40px;
  border-radius: 8px;
  border: 2px solid rgb(0, 0, 0);
  background: #ededed;
  padding-right: 10px;
  width: 100%;
  overflow: hidden;

  @include media-breakpoint-down(sm) {
    display: flex;
    position: absolute;
    bottom: 70px;
    left: calc(100% / 3);
    width: 200px;
  }

  &:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    top: 1px;
    left: 0;
    right: 0;
    margin: auto;
    background: rgb(255, 255, 255);
    z-index: 1;
  }

  .input-sizer {
    display: inline-grid;
    vertical-align: top;
    height: 100%;
    padding: 0 10px;

    &::after,
    input,
    textarea {
      width: auto;
      min-width: 1em;
      grid-area: 1 / 2;
      margin: 0;
      resize: none;
      background: none;
      appearance: none;
      border: none;
      outline: none;
    }

    &::after {
      content: attr(data-value) "  ";
      visibility: hidden;
      white-space: pre-wrap;
    }
  }

  .bubble-container {
    visibility: visible;
    width: 75%;
  }
}

.nitro-chat-style-selector-container {
  width: $chat-input-style-selector-widget-width;
  max-height: $chat-input-style-selector-widget-height;

  .content-area {
    max-height: $chat-input-style-selector-widget-height !important;
  }

  .bubble-parent-container {
    height: 30px;

    .bubble-container {
      position: relative;
      width: 50px;
    }
  }
}
