/* AI chatbot Loading */
.ai_chatbot {
  height: 72vh;
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 0 40px 40px 40px;
  overflow-y: auto;
}

/* File input styles */

.file_input {
  display: inline-flex;
  padding: 0;
  align-items: flex-start;
  gap: 16px;
}

.file_input .person {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.25px solid #798388;
  background-color: #535353;
  display: flex;
  justify-content: center;
  align-items: center;
}

.file_input .data {
  display: flex;
  height: 37px;
  padding: 10px 16px;
  align-items: center;
  gap: 16px;
  border-radius: 8px;
  background: #303030;
  box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.35);
}

.file_input .data .file {
  display: flex;
  padding: 4px;
  align-items: center;
  gap: 10px;
  border-radius: 37px;
  background: #e3d5f2;
}

.file_input .data p {
  color: #fff;
  font-family: "Droid Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
}

.file_input .data .cancle {
  display: flex;
  padding: 4px;
  align-items: center;
  gap: 10px;
  border-radius: 37px;
  background: var(--color-token-error-error-surface-primary, #f03a3a);
}

@media (max-width: 390px) {
  .file_input .data {
    padding: 8px 12px;
    gap: 8px;
    min-height: 37px;
    height: auto !important;
  }

  .file_input .data .file {
    display: flex;
    padding: 4px;
    width: 12px;
    height: 12px;
    align-items: center;
    gap: 10px;
    border-radius: 37px;
    background: #e3d5f2;
  }

  .file_input .data p {
    font-size: 11px !important;
  }

  .file_input .data .cancle {
    height: 12px;
    width: 12px;
    padding: 3px;
  }
}

@media (max-width: 430px) {
  .file_input .person > img {
    width: 16.9px;
    height: 16.9px;
    flex-shrink: 0;
    stroke-width: 0.813px;
    stroke: #f4f4f4;
    fill: #fff;
  }

  .file_input .person {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .file_input .data {
    display: flex;
    height: 37px;
    padding: 10px 16px;
    align-items: center;
    gap: 16px;
    border-radius: 8px;
    background: #303030;
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.35);
  }

  .file_input .data .file {
    display: flex;
    padding: 4px;
    width: 16px;
    height: 16px;
    align-items: center;
    gap: 10px;
    border-radius: 37px;
    background: #e3d5f2;
  }

  .file_input .data p {
    font-size: 13px;
  }

  .file_input .data .cancle {
    height: 16px;
    width: 16px;
  }
}

/* text input styles */
.data_input {
  display: inline-flex;
  padding: 0;
  align-items: flex-start;
  gap: 7px;
  justify-content: end;
}

.data_input .person {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1.25px solid #798388;
  background-color: #652d90;
  display: flex;
  justify-content: center;
  align-items: center;
  order: 2;
}

.data_input .data {
  display: flex;
  width: fit-content;
  padding: 8px;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px;
  background: #652d90;
  text-align: left;
}

.data_input .data > p {
  color: #fff;
  font-family: "Droid Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
}

@media (max-width: 430px) {
  .data_input .person > img {
    width: 16.9px;
    height: 16.9px;
    flex-shrink: 0;
    stroke-width: 0.813px;
    stroke: #f4f4f4;
    fill: #fff;
  }

  .data_input .person {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .data_input .data {
    gap: 32px;
  }

  /* .data_input .data > p {
    font-size: 13px;
  } */

  .chatbot .bot {
    width: 26px !important;
    height: 26px !important;
    flex-shrink: 0;
  }
}

/* chatbot loading */

.chatbot {
  display: flex;
  padding: 0px;
  align-items: flex-start;
  gap: 7px;
}

.greeting {
  margin-top: 12px;
}

.chatbot .bot {
  display: flex;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #444343;
  border: 1.25px solid #798388;
  width: 39px;
  height: 39px;
}

.chatbot .bot > img {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border-radius: 50%;
}

.chatbot .output {
  flex: 1 0 0;
  width: clamp(5rem, 50%, 100%);
  padding: 5px;
  display: block;
  justify-content: space-between;
  align-items: flex-start;
  /* gap: 10px; */
  border-radius: 8px;
  /* background: #444343; */
}

.chatbot .output:has(.codeblockDiv) {
  flex-direction: column;
}

.chatbot .output > ul {
  padding: 0 0 0 16px;
  color: #fff;
  font-family: "Droid Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
}

.chatbot .output > ul p {
  color: #bd7eff;
  font-family: "Droid Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
  text-decoration-line: underline;
  cursor: pointer;
  display: inline-flex;
}

.chatbot .output > p,
.chatbot .output > div {
  color: #fff;
  font-family: "Droid Sans", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75;
}

.chatbot .output > .icons {
  display: flex;
  gap: 10px;
  margin-left: auto;
  margin-top: 10px;
}

.chatbot .output img {
  cursor: pointer;
  max-width: 200px;
  border-radius: 10px;
  /* width: 100%;
  height: 100%;
  margin: 15px; */
}

@media (max-width: 430px) {
  .chatbot .bot {
    padding: 7.8px;
  }

  .chatbot .bot > img {
    width: 13.65px;
    height: 13.65px;
    flex-shrink: 0;
  }

  .chatbot .output {
    gap: 0px;
    word-break: break-word;
  }

  .chatbot .output > ul {
    padding: 0 0 0 16px;
    font-size: 13px;
  }

  .chatbot .output > .icons {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .chatbot .output img {
    cursor: pointer;
  }
}

/* video presentation */
.video_presentation {
  display: inline-flex;
  padding: 0px 0 37px 0;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 583px;
  height: 386px;
  margin: 0 auto;
}

.video_presentation .video {
  max-width: 583px;
  max-height: 332px;
  border-radius: 17px;
}

.video_presentation .video > iframe {
  max-width: 583px;
  max-height: 332px;
  border-radius: 17px;
}

.video_presentation h3 {
  color: #fff;
  text-align: center;
  font-family: "Droid Sans", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.75;
}

/* media query screen max width 430px */

@media (max-width: 361px) {
  .ai_chatbot {
    padding: 16px 10px;
    /* overflow-x:unset */
  }

  .video_presentation {
    width: 282px !important;
    height: 220px;
  }

  .video_presentation .video {
    width: 282px !important;
    height: 190.772px;
    border-radius: 17px;
  }

  .video_presentation .video > iframe {
    width: 282px !important;
    height: 190.772px;
    border-radius: 17px;
  }

  .video_presentation h3 {
    font-size: 12px;
    font-weight: 500;
  }
}
/* media query screen max width 430px */

@media (max-width: 390px) {
  .ai_chatbot {
    padding: 16px 10px;
    /* overflow-x:unset */
  }

  .video_presentation {
    width: 290px !important;
    height: 200px !important;
  }

  .video_presentation .video {
    width: 290px !important;
    height: 190.772px;
    border-radius: 17px;
  }

  .video_presentation .video > iframe {
    width: 290px !important;
    height: 190.772px;
    border-radius: 17px;
  }

  .video_presentation h3 {
    font-size: 12px;
    font-weight: 500;
  }
}

/* media query screen max width 430px */

@media (max-width: 430px) {
  .ai_chatbot {
    padding: 16px 10px;
    /* overflow-x:unset */
  }

  .video_presentation {
    width: 320px;
    height: 220px;
  }

  .video_presentation .video {
    width: 320px;
    height: 190.772px;
    border-radius: 17px;
  }

  .video_presentation .video > iframe {
    width: 320px;
    height: 190.772px;
    border-radius: 17px;
  }

  .video_presentation h3 {
    font-size: 12px;
    font-weight: 500;
  }
}
@media (max-width: 800px) {
  .ai_chatbot {
    padding: 16px 10px;
    /* overflow-x:unset */
  }

  .video_presentation {
    width: 553px;
    height: 220px;
  }

  .video_presentation .video {
    width: 553px;
    height: 190.772px;
    border-radius: 17px;
  }

  .video_presentation .video > iframe {
    width: 553px;
    height: 190.772px;
    border-radius: 17px;
  }

  .video_presentation h3 {
    font-size: 12px;
    font-weight: 500;
  }
}

/* sync chat bot response loading */
.loader {
  width: 40px;
  height: 25px !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin: 5px 0; */
  position: relative;
  color: #fff;
  box-sizing: border-box;
}

.loader .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #bd7eff;
  animation: wave 0.8s linear infinite;
}

.loader .dot:nth-child(1) {
  animation-delay: 0s;
}

.loader .dot:nth-child(2) {
  animation-delay: 0.1s;
}

.loader .dot:nth-child(3) {
  animation-delay: 0.2s;
}

.loader .dot:nth-child(4) {
  animation-delay: 0.3s;
}

.loader .dot:nth-child(5) {
  animation-delay: 0.4s;
}

@keyframes wave {
  0%,
  100% {
    transform: translateY(1px);
  }

  50% {
    transform: translateY(-1px);
  }
}

/* @media (max-width: 430px) {
  .loader {
    width: 20px;
    height: 8px;
    margin: 4px 0;
  }

  .loader .dot {
    width: 4px;
    height: 5px;
  }
} */

.potchip {
  display: inline-block;
  padding: 0 15px;
  height: 50px;
  font-size: 16px;
  line-height: 50px;
  border-radius: 25px;
  background-color: #652d90;
  color: #fff;
}

.potchip img {
  float: left;
  margin: 0 10px 0 -25px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.potclosebtn {
  padding-left: 10px;
  color: #888;
  font-weight: bold;
  float: right;
  font-size: 20px;
  cursor: pointer;
}

.potclosebtn:hover {
  color: #a974e1;
}

.codeBlockHeader {
  display: block;
  width: 100%;
  background-color: #2f2f2f; /* Your color for header background */
  padding: 8px 16px; /* Adjust the padding to control the height */
  font-size: 0.75rem;
  font-family: sans-serif;
  color: #d1d5db; /* Your color for text */
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.codeBlockHeaderInner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 24px; /* Adjust height as needed */
  color: #d1d5db;
}

.codeBlockButton {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: #d1d5db; /* Your color for button text */
  font-size: 100%;
  padding: 0;
}

.codeBlockButton svg {
  font-size: 0.875rem; /* Adjust size as needed */
  margin-right: 4px; /* Spacing between icon and text */
}

.codeBlock {
  width: 100%;
  margin-top: -1px; /* Overlap to connect with the header visually */
  padding: 15px;
  background: #202123;
  border-radius: 8px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border: 1px solid #2f2f2f;
}

.introjs-tooltip {
  background-color: #202123;
  color: #fff;
}

.introjs-disabled {
  color: #fff;
  border-color: #1a1a1a;
  background-color: #7539b3;
}

.introjs-button {
  border: 1px solid #0f0e0e;
  text-shadow: none;
  color: #fff;
  background-color: #7539b3;
}

.introjs-tooltipbuttons {
  border-top: 1px solid #fff;
}

.introjs-disabled:focus,
.introjs-disabled:hover {
  color: #fff;
  border-color: #000;
  background-color: #7539b3;
}

.introjs-button:focus {
  outline: 0;
  text-decoration: none;
  background-color: #7539b3;
  box-shadow: 0 0 0 0.2rem rgba(158, 158, 158, 0.5);
  border: 1px solid #000;
  color: #fff;
}

.introjs-button:hover {
  border-color: #000;
  background-color: #7539b3;
  color: #fff;
}

pre {
  margin-bottom: 0;
}

.codeblockDiv {
  width: 100%;
}
