/* * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  font-family: "Poppins", sans-serif;
  max-width: 900px !important;
  margin: 0 auto !important;
  padding-left: 20px;
  padding-right: 20px;
} */

.chat-modal {
  display: none;
  position: fixed;
  max-width: 40%;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  min-height: 520px;
  border-radius: 40px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
  position: fixed;

  left: 20px;
  bottom: 20px;
  z-index: 9999;
  background-color: #fff;
  transform: translateX(100%);
  transform-origin: left bottom;
  /* transition: right 200ms linear, bottom 200ms linear, opacity 0.2s ease-out; */
}

.chat-btn {
  display: block;
  position: fixed;
  box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.15);
  border: 3px solid #0172b6;
  height: 80px;
  width: 80px;
  cursor: pointer;
  background-color: #fdfeff;
  
  border-radius: 50%;
  overflow: hidden;

  position: fixed;

  left: 20px;

  bottom: 20px;
  z-index: 99;
}
@keyframes new_bounce {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes reverse_bounce {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

.chat-header {
  padding: 10px;
  background-color: #da373d;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.chat-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  margin-left: 10px;
  gap: "10px";
  margin-right: 10px;
  border: 2px solid #ccc;
  border-radius: 40px;
}

.chat-input {
  width: 95%;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 40px;
  border: none;
  outline: none;
}
.btn-send {
  border: none;
  padding: 8px 10px;
  border-radius: 50%;
  cursor: pointer;
  outline: none;
}

.message-bubble {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 8px;
  max-width: 70%;
}

.user-message {
  background-color: #da373d;
  color: #fff;
  align-self: flex-end;
}

.bot-message {
  background-color: #f1f1f1;
  color: #333;
  align-self: flex-start;
}

#hc_chatbot_dialog_header {
  background-color: #0172b6;
  border-radius: 40px 40px 0 0;
  height: 4rem;
  display: grid;
  grid-template-columns: 45% 10% 45%;
  grid-template-rows: 1fr;
  align-items: center;
  overflow: hidden;
  padding: 0.75rem 1rem 0.25rem;
}

#hc_chatbot_dialog_header .hc-first-block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

#hc_chatbot_dialog_header .hc-icon-block {
  display: flex;
  gap: 1rem;
  cursor: pointer;
  align-items: center;
  padding: 0 1.5rem 0 0;
  justify-self: end;
  color: #fff;
}

.hc-first-block img {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-right: 0.5rem;
  justify-self: end;
  background-color: #fff;
}

.hoverable {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  border: 1px solid #e5e5e5;
  padding: 5px;
}
.hoverable:hover {
  background-color: #f5f5f5;
  cursor: pointer;
}
.list-item {
  width: 200px;
  list-style: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-left: 10px;
}
.delete-button {
  color: white;
  padding: 10px;
  background-color: transparent;
  border: none;
  border-radius: 0px;
  cursor: pointer;
  margin-right: 10px;
}

/* .loader {
  border: 10px solid #f3f3f3;
  border-radius: 50%;
  border-top: 10px solid #3498db;
  width: 10px !important;
  height: 10px !important;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
} 
.loaderdel {
  border: 19px solid #f3f3f3;
  border-radius: 50%;
  border-top: 19px solid #3498db;
  width: 19px !important;
  height: 19px !important;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}
#loading {
  border: 30px solid #f3f3f3;
  border-radius: 50%;
  border-top: 30px solid #3498db;
  width: 80px !important;
  height: 80px !important;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}*/
li {
  list-style-type: none;
}
.hidden {
  display: none !important;
}

.container-bubble-left {
  /* display: flex;
  flex-direction: row;
  font-size: 14px;
  justify-content: flex-start;
  align-items: center; */
  align-self: flex-start;
  margin: 0.5rem 0;
  padding: 0.3rem 1rem;
  border-radius: 30px 20px 20px 1%;
  background-color: #0172b6;
  color: #fff;
  max-width: 80%;
  width: fit-content;
  word-wrap: break-word;
}
.bubble-left {
  display: flex;
  flex-direction: row;
  font-size: 14px;
  justify-content: flex-start;
  background-color: #0172b6;
  border-radius: 30px 20px 20px 1%;
}

.container-bubble-right {
  /* display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end; */
  align-self: flex-end;
  /* margin: 0.5rem 0; */
  padding: 0.3rem 1rem;
  /* border: 2px solid #0172b6; */
  border-radius: 20px 30px 1% 20px;

  font-size: 14px;
  background-color: #fff;
  color: #333;
  max-width: 80%;
  width: fit-content;
  word-wrap: break-word;
}

.bubble-right {
  background-color: #fff;
  border-radius: 20px 30px 1% 20px;
}
#chatModal {
  opacity: 0;
  height: 0;
  width: 0;
  transition: opacity 0.5s, height 0.5s, width 0.5s;
  overflow: hidden;
}
#chatBody {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-height: 360px;
  overflow-y: auto;
  height: 350px;

  padding: 0 1rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

#chatBody::-webkit-scrollbar {
  width: 0.4rem;
  color: red;
}

#right-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
}

.container-training {
  max-width: 1000px;
  margin: 0 auto;
  margin-top: 30px;
  padding: 1rem;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 40px;
  border-radius: 0px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}
.upload-btn {
  border-radius: 0;
  background: #292929;
  padding: 10px 20px;
  line-height: 20px;
  border: 0;
  transition: all 0.4s;
  text-transform: uppercase;
  font-size: 12px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}
.upload-btn:hover {
  background: #333b48;
}

.choose-file {
  border-radius: 0;
  background: #292929;
  padding: 10px 20px;
  line-height: 20px;
  border: 0;
  transition: all 0.4s;
  text-transform: uppercase;
  font-size: 12px;
  color: #fff;

  font-weight: 500;
  cursor: pointer;
  width: 16%;
}
.next-btn {
  border-radius: 0;
  background: #292929;
  padding: 10px 20px;
  line-height: 20px;
  border: 0;
  transition: all 0.4s;
  text-transform: uppercase;
  font-size: 12px;
  color: #fff;

  font-weight: 500;
  cursor: pointer;
}
/*.form-control {
  border: 1px solid #e5e5e5;
  box-shadow: none;
  height: 40px;
  width: 100%;
  padding: 0 10px;
  background: "#ECEEEF";
  cursor: not-allowed;
}*/

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.chat-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  width: 100%;
}

@media screen and (max-width: 600px) {
  /* Your styles for screens with a maximum width of 768 pixels go here */
  .chat-modal {
    width: "95%";
  }
  .chat-modal {
    max-width: 95% !important;
    width: 100% !important;

    overflow: hidden;
    min-height: 320px !important;
    border-radius: 40px !important;

    position: fixed;
    left: 10px;
    bottom: 20px;
    z-index: 9999;
    background-color: #fff;
  }
  #chatBody {
    max-height: 280px !important;
    overflow-y: auto;
    height: 210px !important;
  }
  .chat-box {
    margin-bottom: 10px;
  }
  .choose-file {
    width: 60%;
  }
}
