@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("ttf");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("ttf"),
    url("../fonts/Montserrat-Medium.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("ttf"),
    url("../fonts/Montserrat-SemiBold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("ttf"),
    url("../fonts/Montserrat-Bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("ttf"),
    url("../fonts/Montserrat-Bold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
}


/* Code for link animation */
a {
  overflow: hidden;
  position: relative;
  display: inline-block;
  color: #000000;
  font-weight: 800;

}

a.links {
  color: #000000;
  font-weight: 700;
  font-size: clamp(0.65rem, 1.2vw, 0.9rem);
  text-decoration: none;
}

a::before,
a::after {
  content: '';
  position: absolute;
  width: 100%;
  left: 0;
}

a.styling::before {
  background-color: #54b3d6;
  /* height: 1px; */
  bottom: 0;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
  /* letter-spacing: 3px; */
}

a.styling::after {
  content: attr(data-replace);
  height: 100%;
  top: 0;
  transform-origin: 100% 50%;
  transform: translate3d(200%, 0, 0);
  transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
  color: #54b3d6;
  font-weight: 800;
  text-decoration: underline;

  /* letter-spacing: 1px; */
}

a.styling:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

a.styling:hover::after {
  transform: translate3d(0, 0, 0);
}

a.styling span {
  display: inline-block;
  transition: transform .3s cubic-bezier(0.76, 0, 0.24, 1);
}

a.styling:hover span {
  transform: translate3d(-200%, 0, 0);
}

/* Presentational Styles */

a .styling {
  text-decoration: underline;
  color: #18272F;
  font-weight: 700;
  vertical-align: top;

}


/* Code for link animation ends here */



.outer-box {
  background-color: white;
  border-radius: 5px;
  overflow: hidden;
}



body {
  /* height: 700px; */
  padding: 0px;
  margin: 0px;
  color: #000000;
  font-family: "Montserrat" !important;
}

body * {
  font-family: "Montserrat" !important;
}

.messages {
  width: 100%;
  overflow-y: scroll;
  box-sizing: border-box;
  max-height: 335px;
  padding: 0px 10px;
  height: 335px;
  /* margin-top: -165px; */
  position: relative;
  z-index: 0;
  padding-top: 20px;
}

.messages::-webkit-scrollbar {
  width: 3px;
  opacity: 0;
}

.messages::-webkit-scrollbar:hover {
  background-color: #b0b1b1;
}

.messages::-webkit-scrollbar-thumb {
  background-color: transparent;
  opacity: 0 !important;
}

.messages::-webkit-scrollbar:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  opacity: 0.5;
  /* Set the desired opacity here */
  z-index: 1;
  /* Make sure the pseudo-element sits on top of the scrollbar */
}

.messages::-webkit-scrollbar-button {
  display: none;
}



#poweredBy {

  left: 15px;
  text-decoration: underline;
  cursor: pointer;
  border: none;
  background: none;
  font-weight: 400;
  font-family: "Montserrat";
}


#ChatForm {
  /* position: absolute; */
  width: 100%;
  box-sizing: border-box;
  bottom: 0;
}

.form-container.outer-box {
  border: 2px solid #000;
  padding: 10px;
  background-color: red;
}


.form-container {
  width: 100%;
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 0px;
  box-sizing: border-box;
  border-radius: 0px 0px 15px 15px;
  border: 2px solid #8B8E8F;
  background-color: transparent;
  backdrop-filter: blur(23.9978px);
  /* Note: backdrop-filter has minimal browser support */
  transition: all 0.5s ease-in-out;
  /* Adjust as needed */
  border-radius: 15px;
  animation-duration: 0.5s;
  animation-timing-function: ease-in-out;
}



.form-container textarea {
  resize: none;
  flex-grow: 1;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #000;
  border: none;
  background: none;
  outline: none;
  box-sizing: border-box;
  overflow-y: scroll;
  height: 20px;
}

.form-container textarea::-webkit-scrollbar {
  resize: none;
}

.form-container button {
  flex-grow: 0;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border-radius: 50%;
  background-color: #333333;
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.3s ease;

}

.form-container button:hover {
  transform: scale(1.1);
}

.form-container button:active {
  transform: scale(0.9);
}

.form-container button svg {
  fill: #fff;
  width: 100%;
  height: 100%;
}

.tyn-qa {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 100%;
  padding: 5px 20px 0px 20px;
  box-sizing: border-box;
  gap: 12px;
}

.qa-item {
  padding: 15px 15px;
  background: transparent;
  width: 80%;
  display: flex;
  gap: 5px;
  mix-blend-mode: normal;
  border-radius: 15px;
  font-size: 16px;
  font-weight: 400;
  /* font-family: "Montserrat"; */
  line-height: 19px;
  font-style: normal;
}

.qa-item.question div {
  word-wrap: break-word;
  width: 100%;
  font-family: "Montserrat";

}

.qa-item.question img {

  padding-top: 2px;
}

.qa-item.question {
  margin-left: auto;
  background-color: rgba(43, 120, 213, 0.3);
  font-weight: 700;
  display: flex;
  align-items: start;
  justify-content: center;
  padding: 10px 10px 10px 20px
}

.qa-item.answer {
  margin-right: auto;
  background-color: rgba(139, 142, 143, 0.3);
  mix-blend-mode: normal;
  border-radius: 15px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  font-weight: 500;
  padding: 15px 0px 0px 13px;
  width: 90% !important;
}

.text-container {
  display: flex;
  flex-direction: column;
  text-align: justify;
  width: calc(100% - 50px);
  /* Adjust the width based on the avatar size */
  padding-left: 5px;
  /* Adjust the space between the avatar and text */
  align-items: flex-start;
  /* Align the top of the text box with the top of the avatar */
}

.text-container p {
  word-wrap: break-word;
  /* Break long words onto the next line */
  overflow-wrap: break-word;
  /* Wrap long words to the next line if they can't fit */
  margin-top: 0;
  /* Remove any default margin from the paragraph */
  white-space: pre-line;

}

.text-container p a {
  /* text-decoration: none; */
  display: inline
}

.learn-more-container {
  border-top: 1px solid #b6babb;
  margin-top: 5px;
  padding-top: 5px;
  width: 100%;
}

.learn-more-item {
  border: 1px solid #000000;
  border-radius: 22px;
  padding: 8px 7px;
  /* font-family: "Montserrat"; */
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 10px;
  color: #000000;
  margin-right: 5px;
  margin-top: 5px;
  width: fit-content;
  background-color: transparent;
  cursor: pointer;
}

.learn-more-item:hover {
  background-color: #000;
  color: #fff;
}

.d-flex {
  display: flex;
}

.topImagesWrapper {
  padding: 20px 25px 0px 25px;
  box-sizing: border-box;
  width: 100%;
  z-index: 1;
  position: relative;
  top: 0;
  /* min-height: 185px; */
  opacity: 0;
  /* Set the initial opacity to 0 */
  background-color: rgba(0, 0, 0, 0.0);
  /* Set the desired background color */
}



.topImages {
  width: 100%;
  display: flex;
  overflow-x: auto;
  gap: 20px;
}

.topImages::-webkit-scrollbar {
  width: 2px;
  height: 2px;
  display: none;
}

.topImages::-webkit-scrollbar-thumb {
  background-color: #b2b4b4;
}

.counter {
  /* font-family: "Montserrat"; */
  font-style: normal;
  font-weight: 500;
  font-size: 12px !important;
  line-height: 15px;
  display: block;
  text-align: left;
  margin-bottom: 3px;
  position: absolute;
  top: 5px;
  left: 5px;
}

.counter span {
  border: 0.25px solid #15202e;
  border-radius: 5px;
  padding: 1px 3px;
  display: inline-block;
  color: #15202e !important;
  background-color: #cfd2d3;
}

.imagetitleDiv {
  width: 100%;
  overflow: hidden;
}

.imagetitle {
  /* font-family: "Montserrat"; */
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 10px;
  color: #000000;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
  display: inline-block;
}

.imagesLabel {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.image-wrapper {
  width: 100%;
  border-radius: 10px;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.lowerContainer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.lowerTitle {
  /* font-family: "Montserrat"; */
  font-style: normal;
  font-weight: 400;
  font-size: 8px;
  line-height: 6px;
  color: #000000;
}

.imageContainer {
  flex-basis: 142px;
  width: 0px;
  flex-shrink: 0;
  flex-grow: 0;
  /* padding: 15px; */
  position: relative;
}

.m-r-5 {
  margin-right: 5px;
}

#post-step {
  opacity: 0;
  flex-direction: column;
  position: fixed;
  /* bottom: 0; */
  transition: all 0.5s ease-in-out;
  width: 100%;
  max-width: 100%;
}

#pre-step {
  opacity: 1;
  width: 100%;
  align-items: center;
  position: fixed;
  bottom: 50%;
  transition: all 0.7s ease-in-out;
}

/* First Form */
#preChatForm {
  padding: 10px 20px 0px 20px;
}


#pre-step .form-container {
  box-sizing: border-box;
  border: 2px solid #8B8E8F;
  border-radius: 15px;
  box-shadow: 5px 4px 13px 0px #00000080;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(23.9978px);


}

/* Second Form */
#ChatForm {
  padding: 0 20px 0px 20px;
}

#ChatForm .form-container {
  box-sizing: border-box;
  border: 2px solid #8B8E8F;
  border-radius: 15px;
  box-shadow: 5px 4px 13px 0px #00000080;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(23.9978px);

}

.form-container.hovered {
  border: 2px solid #4F4F4F !important;
  /* filter: drop-shadow(5px 4px 6px  rgba(85, 85, 85, 0.2)); */
}


.form-container:hover {
  border: 2px solid #4F4F4F !important;
  /* filter: drop-shadow(5px 4px 6px  rgba(85, 85, 85, 0.2)); */
}

.form-container:focus {
  border: 2px solid #4F4F4F !important;
  /* filter: drop-shadow(5px 4px 6px rgba(85, 85, 85, 0.2)); */
}

.form-container:active {
  border: 2px solid #4F4F4F !important;
  /* filter: drop-shadow(5px 4px 6px rgba(85, 85, 85, 0.2)); */
}







/* DOTS SCROLL */

/* Add styles for the dots */
.dots-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: gray;
  margin-right: 4px;
  cursor: pointer;
}

.dot.active {
  background-color: black;
}

.qa-item.question .avatar {
  width: fit-content;
}

#tynChatInput::placeholder {
  font-size: 16px;
  font-family: "Poppins";
  color: #848485
}

#tynChatInput {
  overflow: hidden;
  width: 100%;
  /* take up full width of container */
  height: 100%;
  /*take up full height of container*/
  box-sizing: border-box;
  /* include padding in height calculation */
  max-height: 100px;
}

#tynChatInput::-webkit-scrollbar {
  width: 3px;
}

#tynChatInput::-webkit-scrollbar-thumb {
  background-color: #b0b1b1;
}

#preChatInput::placeholder {
  font-size: 16px;
  font-family: "Poppins";
  color: #848485;
}

#preChatInput {
  overflow: hidden;
  width: 100%;
  /* take up full width of container */
  height: 100%;
  /*take up full height of container*/
  box-sizing: border-box;
  /* include padding in height calculation */
  max-height: 100px;
}

#preChatInput::-webkit-scrollbar {
  width: 3px;
}

#preChatInput::-webkit-scrollbar-thumb {
  background-color: #000000;
}



@media only screen and (max-width: 480px) {

  .form-container textarea {
    font-size: 16px;
  }

  .learn-more-item {
    font-size: 10px;
  }

  .learn-more-item:nth-child(3) {
    display: none;
  }


  /* .footer{
    padding: 10px 10px!important;
  } */
  .footer-inner {
    font-size: 12px !important;
    flex-direction: row;
  }

  .reset-btn {
    font-size: 12px !important;
    font-weight: 400;
  }
}





/* .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
  } */



.swiper-wrapper {
  height: 100% !important;
}

.swiper-pagination {
  margin-bottom: 0px;
}


.custom-swiper-button {
  width: 20px;
  height: 20px;
  background: #ffffff85;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}



.swiper-button-next,
.swiper-button-prev {
  position: absolute;

  top: var(--swiper-navigation-top-offset, 50%);
  height: 25px !important;
  /* Adjust size as per requirement */
  width: 25px !important;
  /* Adjust size as per requirement */
  margin-top: calc(0px - (var(--swiper-navigation-size)/ 2));
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--swiper-navigation-color, var(--swiper-theme-color))
}

.swiper-button-next.custom-swiper-button {
  right: 10px;

}

.swiper-button-prev.custom-swiper-button {
  left: 10px;
}

.swiper-button-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 15px;
}

.right {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.left {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

:root {
  --swiper-navigation-size: 14px !important;
}


.swiper-container {
  max-width: 560px;
  width: 100%;
  padding: 0px 0px 3px 0px;
  overflow-x: hidden;
  overflow-y: hidden;

}

.slide-container {
  margin: 0 0px;
  overflow: hidden;
}

.card-wrapper {
  padding-top: 0;
  padding-right: 10px;
  padding-left: 10px;
  padding-bottom: 0;
}

.card {
  background: #fff;
  border-radius: 10px;
  width: 140px !important;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  margin-right: 25px;
  /* add this line */

}

.card .image-box {
  height: 94px;
  width: 140px;
  border-radius: 20px 20px 0px 0px;
}

.card .image-box img {
  width: 100%;
  height: 100%;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
  max-width: 100%;
}

.card .name-box .profile-details {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  column-gap: 12px;
  padding: 5px 5px;
  font-weight: 700;
  font-size: clamp(0.75rem, 1.2vw, 0.9rem);
  line-height: 1.2;
  /* Adjust this value as needed */
  height: 25px;
  /* Adjust this value as needed */
}

.answer-prompt {
  display: flex;
  flex-direction: column;
  margin: 10px 25px;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), rgba(129, 186, 255, 0.09);
  box-shadow: 2.24979px 2.99972px 18.9978px rgba(0, 0, 0, 0.54);
  backdrop-filter: blur(23.9978px);
  /* background-color: rgba(255, 255, 255, 0.6);  */
  border-radius: 15px;
  margin-bottom: 10px;

}

@keyframes slideUp {
  from {
    transform: translateY(700px);
  }

  to {
    transform: translateY(18px);
  }
}

.chatbot-visible {
  animation: slideUp 1s ease-out;
}



.close-btn {
  position: absolute;
  top: 0px;
  z-index: 10000;
  right: 10px;
  background-color: transparent;
  border: none;
  cursor: pointer;


}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 0px 32px;
  padding-bottom: 0px;
}

.footer-inner {
  font-size: 12px;
  display: flex;
}


.reset-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  font-size: 12px;
  font-weight: 400;
}

.own-your-ai {
  text-decoration-color: #000;
  text-decoration: underline;
  font-weight: 800;
  color: #000000;
  width: 150px;
}

.name-box {
  width: 135px;
  /* Set the width of the container */
  overflow: hidden;
  /* Hide the overflowing content */
  /* white-space: nowrap; Prevent the text from wrapping to the next line */
}

#resetButton {
  right: 15px;
  text-decoration: underline;
  cursor: pointer;
  border: none;
  background: none;
  font-weight: 400;
  font-family: "Montserrat";
  font-size: 14px;
}


.swiper-pagination {
  bottom: 0px !important;

}

.swiper-pagination-bullet {
  width: 4px !important;
  height: 4px !important;
  margin: 1px !important;
}

.swiper-pagination-bullet-active {
  background: #000 !important;
}


/* Animations of messages*/
@keyframes slideInFromRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.qa-item.question {
  animation: slideInFromRight 0.5s ease-out;
}

.qa-item.answer {
  animation: slideInFromLeft 0.5s ease-out;
}

@keyframes fadeInScaleUp {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.qa-item.question,
.qa-item.answer {
  animation: fadeInScaleUp 0.5s ease-out;
}

@keyframes fadeInSlideUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.imageContainer {
  animation: fadeInSlideUp 0.5s ease-out;
}


/* Mobile view styles */
.mobileView #preChatForm,
.mobileView #ChatForm {
  padding: 2px;
}

.mobileView #pre-step .form-container,
.mobileView .answer-prompt {
  box-shadow: 1px 1px 5px 2px #00000080;
}

.mobileView .answer-prompt {
  display: flex;
  padding: 2px;
  flex-direction: column;
  margin: 10px 4px;
  margin-bottom: 5px;
}

.mobileView #ChatForm .form-container {
  box-sizing: border-box;
  border: 2px solid #8B8E8F;
  border-radius: 15px;
  box-shadow: 1px 1px 5px 2px #00000080;
  backdrop-filter: blur(23.9978px);
}

.mobileView .tyn-qa {
  padding: 5px 5px 0px 5px;
  gap: 5px;
}

.mobileView .qa-item {
  font-size: 13.5px;
  line-height: 15.5px;
}

.mobileView .qa-item.question {
  padding: 10px 10px 5px 5px;
}

.mobileView .qa-item.answer {
  padding: 10px 0px 0px 10px;
}

/* Tablet view styles */
.tabletView #preChatForm,
.tabletView #ChatForm {
  padding: 2px;
}

.tabletView #pre-step .form-container,
.tabletView .answer-prompt {
  box-shadow: 1px 1px 5px 2px #00000080;
}

.tabletView .answer-prompt {
  display: flex;
  padding: 2px;
  flex-direction: column;
  margin: 10px 4px;
  margin-bottom: 5px;
}

.tabletView #ChatForm .form-container {
  box-sizing: border-box;
  border: 2px solid #8B8E8F;
  border-radius: 15px;
  box-shadow: 1px 1px 5px 2px #00000080;
  backdrop-filter: blur(23.9978px);
}

.tabletView .tyn-qa {
  padding: 5px 5px 0px 5px;
  gap: 5px;
}

.tabletView .qa-item {
  font-size: 13.5px;
  line-height: 15.5px;
}

.tabletView .qa-item.question {
  padding: 15px 10px 5px 5px;
}

.tabletView .qa-item.answer {
  padding: 10px 0px 0px 10px;
}


@keyframes slideOut {
  0% {
    bottom: 50%;
  }

  100% {
    bottom: 18px;
  }
}

@keyframes slideIn {
  0% {
    bottom: -100%;
  }

  100% {
    bottom: 18px;
  }
}