#flexhub-chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: raleway;
}

#chatbot-toggle {
  background-color: #5e207c;
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  float:right;
  margin-right:10px
}

#chatbot-box {
  position: fixed;
  bottom: 90px;
  right: 20px;
  background: white;
  z-index: 9999;
  width: 400px;
  max-height: 500px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 767px) { 
#chatbot-box {width:auto;margin-left:20px;}
}

.hidden {
  display: none !important;
}

#chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scrollbar-color:#e4e4e7 transparent;
}

.chat-user {
  align-self: flex-end;
  background-color: #5e207c;
  color: white;
  padding: 8px 12px;
  border-radius: 18px 18px 0 18px;
  max-width: 80%;
}

.chat-bot {
  align-self: flex-start;
  background-color: rgb(241 241 243);
  padding: 12px 16px;
  border-radius: 12px 12px 12px 0;
  max-width: 90%;
}

#chat-input {
  flex: 1;
  resize: none;
  border: none;
  outline: none;
  font-size: 14px!important;
  line-height: 1.25;
  color: #9ca3af;
  background: transparent;
  max-height: 120px;
  overflow-y: auto;
  margin:0px;
}

#chat-input::placeholder {
  color: #9ca3af; 
  font-size: 14px;
  opacity: 1; 
}


#chat-form button {
  background-color: transparent;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0 12px;
  cursor: pointer;
}


.chat-form-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #f5f4f4;
  padding: 10px 16px;
  margin: 0px 16px 16px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chat-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

button.send-button {padding:0px!Important;}

.chat-header{background:linear-gradient(0deg, rgba(255, 255, 255, 0) 29.14%, rgba(255, 255, 255, 0.16) 100%), rgb(94, 32, 124);padding:15px 20px; color:#fff; font-weight:700;}
.editor {display:flex;align-items:center;gap:6px;margin-bottom:10px;font-weight:700;}


.loader {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  width:fit-content;

}

.loader .dot {
  width: 8px;
  height: 8px;
  background-color: #ccc;
  border-radius: 50%;
  opacity: 0.2;
  animation: blink 1.4s infinite;
}

.loader .dot:nth-child(1) {
  animation-delay: 0s;
}
.loader .dot:nth-child(2) {
  animation-delay: 0.2s;
}
.loader .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0% { opacity: 0.2; transform: scale(1); }
  20% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.2; transform: scale(1); }
}
.chatbox-toggle-header {color: #fff;background-color: #e30045;padding:5px;line-height: 1.1em;font-size: 13px;margin-bottom: 10px;width: 150px;position:relative;box-shadow:0 4px 8px rgba(0,0,0,0.1);}
.chatbox-toggle-header::after {content: "";position: absolute;bottom: -8px; right: 10px; border-width: 8px 4px 0 8px; border-style: solid; border-color: #e30045 transparent transparent transparent;}
.chatbox-toggle-header::before {content: "\00d7"; float:right;font-size:20px;margin-top:-3px;}