:root {
  --text-white: #fff;
  --primary-color: #E6540F;
  --darken-primary-color: #E0500D;
  --secondary-color: #5C0F8B;
  --input-color: #E7E7E7;
  --main-bg: #EEEEEE;
}

button *,
a * {
  pointer-events: none;
}

/* toggler btns */

.chat-toggler {
  right: 1rem;
  bottom: 1rem;
  position: fixed;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-white);
  outline: none;
  z-index: 1909;
  border: 1px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.chat-toggler:hover {
  background-color: var(--darken-primary-color);
}

.chat-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(230, 84, 15, 0.25);
}


/* Chatboots */
.chatboot {
  position: fixed;
  right: 1rem;
  bottom: 2.5rem;
  width: 310px;
  height: 380px;
  max-width: 100%;
  opacity: 0;
  /* transform: scale(0.7); */
  background-color: #fff;
  border-radius: 10px;
  transition: 0.15s ease-in-out;
  pointer-events: none;
  z-index: 1908;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.chatboot-contain::-webkit-scrollbar {
  width: 5px;
}

.chatboot-contain::-webkit-scrollbar-track {
  background-color: #EEEEEE;
}

.chatboot-contain::-webkit-scrollbar-thumb {
  background-color: #6E7E9F;
  border-radius: 4px;
}

.chatboot.show {
  opacity: 1;
  pointer-events: all;
  -webkit-animation: show 0.15s ease-in-out forwards;
  animation: show 0.15s ease-in-out forwards;
}

@-webkit-keyframes show {
  to {
    bottom: 4.5rem;
    /* transform: scale(1); */
  }
}

@keyframes show {
  to {
    bottom: 4.5rem;
    transform: scale(1);
  }
}

/* Header chatboot */

.chatboot-header {
  height: 12%;
  position: relative;
  border-radius: 10px 10px 0 0;
  background-color: var(--secondary-color);
  color: var(--text-white);
  display: flex;
  align-items: center;
}

.chatboot-header .label {
  font-size: 13px;
}

.left-side {
  display: flex;
  align-items: center;
  gap: 5px;
}

.back-slider,
.close-chatboot {
  --border-radius-value: 0px;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: var(--border-radius-value);
}

.btn-link-circle {
  --border-radius-value: 50%;
}

.back-slider {
  border-color: transparent;
  color: #fff;
}

.back-slider:hover {
  color: #fff;
}


/* Chatboot contain */

.chatboot-contain {
  height: 68%;
  max-height: 68%;
  overflow-y: auto;
  scroll-behavior: smooth;
}


/* Chatboot mailbox */

.chatboot-mailbox {
  width: 100%;
  height: 20%;
  display: flex;
  align-items: center;
}

.mailbox-anex {
  width: 15%;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 0.25rem;
}

.mailbox-input {
  width: 80%;
}

.mailbox-anex-toggler {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
  transition: 0.15s ease-in-out;
}

.mailbox-anex-toggler.gear {
  transform: rotate(-45deg);
}

.mailbox-anex-contain {
  position: absolute;
  left: calc(-10px + 0.5rem);
  bottom: 25px;
  width: 40px;
  border-radius: 50px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0.5rem 0;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: bottom 0.25s ease-in-out;
}

.mailbox-anex-contain.open {
  opacity: 1;
  pointer-events: all;
  -webkit-animation: show-anex-contain 0.25s ease-in-out forwards;
  animation: show-anex-contain 0.25s ease-in-out forwards;
}

@-webkit-keyframes show-anex-contain {
  to {
    bottom: 35px;
  }
}

@keyframes show-anex-contain {
  to {
    bottom: 35px;
  }
}

.anex-link {
  font-size: 1.1rem;
  color: var(--primary-color) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mailbox-input {
  width: 85%;
}


.input-group {
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 0.9rem;
}



.customized-input {
  outline: none;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  padding: 0.45rem 0.5rem;
  background-color: var(--input-color);
  flex: 1;
  font-size: 0.8rem;
}

.customized-input+button {
  position: absolute;
  right: 5px;
  top: 14%;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* transform: translateX(-50%); */
  border: 2px solid var(--primary-color);
  cursor: pointer;
  background-color: transparent;
  color: var(--primary-color);
  border-radius: 50%;
}






/* Pages  */

.sectionHTML, .page {
  width: 100%;
  padding: 1rem 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lyela-icon {
  width: 25%;
  -o-object-fit: contain;
  object-fit: contain;
}

.sectionHTML .label, .page .label {
  width: 80%;
  margin: 0.6rem auto 0.9rem;
  font-size: 13px;
  line-height: 17px;
  text-align: center;
  /* color: rgba(0, 0, 0, 0.7); */
  color: #6E7E9F;
}


.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 70%;
  margin: 0 auto;
  gap: 0.5rem;
}

.section-link,
.toolbar-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  border-radius: 50px;
  padding: 0.45rem 0.575rem;
  font-size: 11.5px;
  color: var(--text-white) !important;
}

.toolbar-link:hover {
  opacity: 0.75;
}

.section-options {
  width: 60%;
  display: flex;
  align-items: center;
  gap: 5px;
}

.section-link {
  width: 100%;
  transition: 0.25s ease-in-out;
}

.section-link.more {
  width: 60%;
  background-color: #B0B0B0;
}

.section-link:hover {
  background-color: #5C0F8B;
}



/* Chat Options */


.sectionChat {
  width: 100%;
  height: calc(100% - 1rem);
  padding: 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

.incoming,
.outgoing {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: 0.8rem;
}

.incoming span,
.outgoing span {
  color: #fff;
  max-width: 90%;
  padding: 0.35rem 0.65rem;
  font-size: 12.5px;
  border-radius: 50px;
  background-color: var(--primary-color);
}

.incoming {
  justify-content: flex-start;
}

.incoming span {
  color: #6E7E9F;
  border-radius: 10px;
  background-color: #E9DAF2;
}


.wait-incoming {
  display: flex;
  align-items: center;
  gap: 3px;
}

.wait-incoming.hide {
  display: none;
}

.wait-incoming .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  aspect-ratio: 1/1;
  background-color: #6E7E9F;
  -webkit-animation: bounce 0.8s ease-in-out infinite;
  animation: bounce 0.8s ease-in-out infinite
}

.wait-incoming .dot:nth-child(1) {
  -webkit-animation-delay: -0.1s;
  animation-delay: -0.1s;
}

.wait-incoming .dot:nth-child(2) {
  -webkit-animation-delay: 0s;
  animation-delay: 0s;
}

.wait-incoming .dot:nth-child(3) {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

@-webkit-keyframes bounce {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.5);
  }

  20% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounce {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.5);
  }

  20% {
    opacity: 1;
    transform: scale(1);
  }
}

@media(max-width: 500px) {
  .chatboot {
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 0 !important;
    z-index: 111111;
  }

  .chatboot-header {
    border-radius: 0;
  }

  .chatbot .chatbox {
    height: 90%;
  }

  .chatbot header span {
    display: block;
  }

}


.chatboot-contain-item {
  display: none;
}

.chatboot-contain-item.active {
  display: flex;
}