.chatbot {
  position: fixed;
  bottom: 3rem;
  right: 1rem;
  z-index: 35;
}

@media (min-width: 640px) {
  .chatbot {
    bottom: 0px;
  }

  .chatbot {
    right: 5rem;
  }
}

@media (min-width: 768px) {
  .chatbot {
    z-index: 15;
  }
}

.btnChatbot {
  margin-bottom: 0.5rem;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding: 0.25rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
}

.btnChatbot:hover {
  margin-bottom: 1rem;
}

.btnChatbot:focus {
  margin-bottom: 1rem;
}

.btnChatbot {
  border-color: #d8d8d8;
}

.chatbot-wrapper {
  margin-left: auto;
  margin-bottom: 1rem;
  width: 90%;
  max-width: 400px;
  overflow: hidden;
  border-radius: 1rem;
}

@media (min-width: 640px) {
  .chatbot-wrapper {
    width: 400px;
  }
}

.chatbot-wrapper {
  box-shadow: 0 0 10px 0px #0006;
}

.chatbot-header {
  padding: 1rem;
  background-color: #f9c810;
}

.chatbot .btnClose {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.chatbot .title {
  margin-bottom: 0px;
  text-align: center;
  font-size: 1.5rem;
  line-height: 2rem;
}

.chatbot .chatbot-inner {
  /* max-height: calc(100vh - 110px - 2rem); */
  position: relative;
  height: 350px;
  overflow: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding: 1rem;
}

@media (min-width: 640px) {
  .chatbot .chatbot-inner {
    height: 450px;
  }
}

.chatbot .term-inner {
  max-height: 270px;
  overflow-y: scroll;
  --tw-bg-opacity: 1;
  background-color: rgb(238 238 238 / var(--tw-bg-opacity));
  padding: 0.75rem;
}

.chatbot .btnContinue {
  width: 100%;
  border-radius: 9999px;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(0 0 0 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.chatbot .btnContinue:hover {
  border-color: transparent;
  --tw-bg-opacity: 1;
  background-color: rgb(249 200 16 / var(--tw-bg-opacity));
}

.chatbot .btnContinue:focus {
  border-color: transparent;
  --tw-bg-opacity: 1;
  background-color: rgb(249 200 16 / var(--tw-bg-opacity));
}

input[id^="menu-"] {
  position: absolute;
  left: 0px;
  top: 0px;
  margin: 0px;
  cursor: pointer;
  opacity: 0;
}

div[id^="menu-cont-"], .menu-cont {
  /* height: 100vw; */
  transform: translate3d(-100%, 0, 0);
  position: absolute;
  top: 0px;
  left: 0px;
  bottom: 0px;
  z-index: 1;
  margin: 0px;
  height: 100%;
  width: 100%;
  overflow: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.sub-menu > div[id^="menu-cont-"] {
  position: fixed;
}

.chatbot .questions > div[id^="menu-cont-"],
input[id^="menu-"]:checked~div[id^="menu-cont-"] {
  transform: translate3d(0, 0, 0);
  z-index: 5;
}

li.nav-item {
  width: 100%;
  list-style: none;
  position: relative;
}

div[id^="menu-cont-"] li.nav-item:last-child {
  border: 0;
}

.menu-ul {
  padding: 0;
  margin: 0;
}

label.menu-label {
  width: 100%;
  display: block;
  padding: 15px 10px 15px 20px;
  border-bottom: 1px solid #ccc;
  color: #222;
  font-weight: bold;
  box-sizing: border-box;
  background-color: #dedede;
}
