/*############ CHATBOT ##############*/
.chatbot {
  transition: all cubic-bezier(0.47, 0.99, 0.73, 0.97) 0.5s;
  z-index: 100;
  position: fixed;
  left: -500px;
  bottom: 0;
  width: 400px;
  height: 450px;
  background: var(--white-color);
  border-radius: 10px;
  box-shadow: 3px 12px 40.5px 0px #4a71854d;
}

.chatbot.giant {
  height: 100vh;
  left: 0 !important;
}
body.lp .chatbot-active {
  display: none !important;
}

.chatbot-active {
  height: 60px;
  width: 60px;
  transform: scale(0);
  position: fixed;
  bottom: 3%;
  left: 3%;
  background: var(--white-color);
  border-radius: 50%;
  transition: background-color 0.3s ease-out;
  -webkit-box-shadow: 3px 12px 40.5px 0px #4a71854d;
  box-shadow: 3px 12px 40.5px 0px #4a71854d;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-active svg {
  transition: stroke 0.3s ease-out;
  stroke: var(--blue-dark-color);
}

.chatbot-active:hover {
  cursor: pointer;
  background-color: var(--blue-dark-color);
}

.chatbot-active:hover svg {
  stroke: var(--white-color);
}

.chatbot-intro {
  transform: scale(0);
  position: fixed;
  bottom: 10%;
  left: 3%;
  width: 260px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  background: var(--white-color);
  font-size: 80%;
  z-index: 10;
  transition: 0.5s all cubic-bezier(0.58, 1.94, 0.34, 0.75) 0s;
  cursor: pointer;
  border-radius: 10px;
}

.chatbot-intro em {
  position: absolute;
  top: -40px;
  left: 10px;
  border-radius: 200px;
  width: 60px;
  height: 60px;
  background: var(--white-color);
  padding-top: 5px;
  text-align: center;
}
.chatbot-intro em img {
  height: 40px;
  width: 40px;
}
.chatbot-intro i {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 10px;
  cursor: pointer;
  transition: 0.3s all ease 0s;
  z-index: 3;
}
.chatbot-intro i:hover {
  transform: scale(1.3);
}
.chatbot-intro i:focus {
  transform: scale(0.8);
}
body.lp .chatbot-intro {
  display: none !important;
}

.chatbot-active span {
  width: 30px;
  height: 30px;
}

.chatbot .bot-pp {
  margin: 0;
  margin-right: 10px;
  max-width: 40px;
  height: 40px;
  background: var(--white-color);
  border-radius: 200px;
  text-align: center;
  padding-top: 5px;
}
.chatbot .bot-pp img {
  border-radius: 50%;
  width: 80%;
}
.chatbot .info-header {
  padding: 20px 10px;
  height: 80px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  background: var(--blue-dark-color);
  color: var(--white-color);
  border-radius: 10px 10px 0 0;
}
.chatbot .info-header .user-part,
.chatbot .info-header .cross-part {
  width: max-content;
  margin: 0;
  display: flex;
  align-items: center;
}
.chatbot .info-header .cross-part {
  flex-direction: row-reverse;
}
.chatbot .cross,
.chatbot .up-arrow {
  padding: 5px;
  transition: all ease 0.8s;
}
.chatbot .cross:hover,
.chatbot .info-header .up-arrow:hover {
  cursor: pointer;
  background: rgb(7, 29, 82);
}
.chatbot .ask-part {
  padding: 15px;
  height: calc(100% - 80px);
  overflow: scroll;
  overflow-x: hidden;
}
.chatbot .ask,
.chatbot .choice,
.chatbot .user-choice,
.chatbot .loading {
  padding: 10px;
  font-size: 90%;
  max-width: 80%;
  width: max-content;
  margin: 0;
  transition: all ease 0.1s;
}
.chatbot .loading {
  font-size: 150%;
  font-weight: bold;
  display: flex;
}
.chatbot .ask,
.chatbot .choice,
.chatbot .loading {
  border-radius: 0px 10px 10px 10px;
}
.chatbot .ask {
  color: var(--blue-dark-color);
  background: var(--blue-mid-color);
}
.chatbot .choice,
.chatbot .loading {
  color: var(--blue-dark-color);
  margin-top: 10px;
  background: var(--blue-light-color);
  margin-left: 10px;
}
.chatbot .choice .bot-side a {
  color: rgb(12, 67, 218);
}
.chatbot .choice:hover {
  margin-top: 10px;
  color: var(--white-color);
  background: var(--blue-dark-color);
  cursor: pointer;
  transition: all ease 0.1s;
}
.chatbot .user-choice {
  background: var(--blue-dark-color);
  color: var(--white-color);
  margin-top: 30px;
  border-radius: 20px 0px 20px 20px;
}
.chatbot .bot-side,
.chatbot .loading {
  position: relative;
  opacity: 0;
  left: -50px;
  transition: all ease 0.5s;
}
.chatbot .user-side {
  position: relative;
  opacity: 0;
  right: -50px;
  transition: all ease 0.5s;
}
.chatbot .bot-side.on,
.chatbot .loading.on {
  opacity: 1;
  left: 0;
  transition: all ease 0.5s;
}
.chatbot .user-side.on {
  opacity: 1;
  right: 0;
  transition: all ease 0.5s;
}
.chatbot .user-side {
  display: flex;
  justify-content: flex-end;
}

.chatbot .choice[parent="0"]:hover {
  cursor: default;
  background: #f4f4f4;
}

.main-ask.bot-side.question.on .choice {
  background: #d4d4d4;
}
.main-ask.bot-side.question.on .choice:hover {
  cursor: default;
}

.chatbot-form {
  display: none;
}
#wpcf7-f8653-o1 {
  position: relative;
  opacity: 0;
  left: -50px;
  transition: all ease 0.5s;
  margin-top: 30px;
}
#wpcf7-f8653-o1.on {
  opacity: 1;
  left: 0;
  transition: all ease 0.5s;
}
#wpcf7-f8653-o1 .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#wpcf7-f8653-o1 .wpcf7-form p {
  margin: 0;
}
#wpcf7-f8653-o1 .wpcf7-form p span {
  margin: 0;
}
#wpcf7-f8653-o1 label {
  font-weight: 600;
  font-size: 0.625rem;
  line-height: 1.4;
}
#wpcf7-f8653-o1 input,
#wpcf7-f8653-o1 textarea {
  font-family: var(--epilogue-font);
  border-radius: 10px;
  padding: 5px 11px;
  background-color: var(--white-color);
  border: 0.5px solid var(--blue-mid-color);
  height: 36px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.625;
  color: var(--grey-color);
}
#wpcf7-f8653-o1 textarea {
  height: 150px;
}
#wpcf7-f8653-o1 input .wpcf7-submit {
  background-color: var(--blue-dark-color);
  color: var(--white-color);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 6px;
  padding: 6px 10px;
  height: 42px;
}
#wpcf7-f8653-o2 {
  position: relative;
  opacity: 0;
  left: -50px;
  transition: all ease 0.5s;
  margin-top: 30px;
}
#wpcf7-f8653-o2.on {
  opacity: 1;
  left: 0;
  transition: all ease 0.5s;
}
#wpcf7-f8653-o2 .wpcf7-form p {
  margin: 0;
}
#wpcf7-f8653-o2 .wpcf7-form p span {
  margin: 0;
}
#wpcf7-f8653-o2 label {
  font-size: 90%;
}
#wpcf7-f8653-o2 input,
#wpcf7-f8653-o2 textarea {
  font-size: 90%;
  border-radius: 15px;
  border: solid 1px #c3c3c3;
}
#wpcf7-f8653-o2 textarea {
  height: 150px;
}
#wpcf7-f8653-o2 input .wpcf7-submit {
  border: none;
}

@media all and (max-width: 991px) {
  .chatbot-active {
    bottom: 50px;
    left: 20px;
    padding: 10px;
  }
  .chatbot-intro{bottom:115px;}
}

@media all and (max-width: 460px) {
  .chatbot {
    width: 290px;
    font-size: 90%;
  }
  .chatbot.giant {
    height: 80vh;
    width: 100vw;
  }
  .chatbot-active {
    padding: 15px;
  }
  .chatbot-active span {
    width: 20px;
    height: 20px;
  }
  .chatbot-active span::before {
    position: absolute;
    font-size: 20px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}
