:root {
  --color-bg: #EDF4C2;
  --color-fg: #ffffff;
  --color-text-fg: #355464;
  --color-border: #919DA2;
}

.block-ai-chatbot {
  margin-top: 50px;
  * {
    box-sizing: border-box;
    color: var(--color-text-fg);
  }
}


.ai-deepchat--open {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1;

  button {
    border: 0;
    color: var(--color-text-fg);
    padding: 12px 18px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: var(--color-bg);
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 6px 1px;

    svg {
    }

    span {
      font-weight: bold;
      line-height: 20px;
    }
  }
}

.ai-deepchat.chat-container {
  margin-bottom: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  color: var(--color-text-fg);
  width: 100%;
  position: fixed;
  z-index: 1258;
  bottom: 0;
  height: inherit;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);

  @media (min-width: 768px) {
    right: 20px;
    width: 50%;
  }

  @media (min-width: 1200px) {
    width: 550px;
  }

  .chat-element {
    display: flex;
    flex-direction: column;
    justify-content: end;

    button.chat-element--close {
      background: none;
      cursor: pointer;
      border: 1.5px solid var(--color-text-fg);
      border-radius: 90px;
      padding: 3px 5px;
      width: 38px;
      height: 38px;
      line-height: 10px;

      svg {
        transform: scale(40%);
      }

      &:hover {
        border: 1.5px solid transparent;
      }
    }
  }

  &.chat-collapsed {
    height: 0;
    padding: 0;
  }
}

.ai-deepchat--label-header {
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-fg);

  h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.26px;
    text-transform: uppercase;
  }

}

.ai-deepchat.chat-container footer {
  background-color: var(--color-fg);
  display: flex;
  padding: 15px 30px 0;
  * {
    font-size: 14px;
  }
}


#start-new-chat--wrapper {
  text-align: right;
  background-color: white;
  width: 200px;
  /*padding-right: 65px;*/
  /*padding-bottom: 15px;*/

  #chat-button--start-new-chat {
    font-size: 14px;
    background: none;
    border: none;
    text-align: right;
    padding: 0 0 1px 0;
    cursor: pointer;
    transition: border-bottom-color 0.1s;
    border-bottom: 1px solid var(--color-text-fg);

    &:hover {
      border-bottom-color: transparent;
    }
  }
}
