.chatbot-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #008cff;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}
.chatbot-icon:hover {
  transform: scale(1.1);
}
.chatbot-icon i {
  font-size: 24px;
}

.chatbot-container {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  height: 500px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.chatbot-container.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.chatbot-container .chatbot-header {
  padding: 15px;
  background-color: #008cff;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-container .chatbot-header h3 {
  font-size: 16px;
  font-weight: 600;
}
.chatbot-container .chatbot-header .close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}
.chatbot-container .chatbot-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f0f2ff;
}
.chatbot-container .chatbot-messages .message {
  margin-bottom: 15px;
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  word-wrap: break-word;
}
.chatbot-container .chatbot-messages .message.user-message {
  background-color: #008cff;
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 0;
}
.chatbot-container .chatbot-messages .message.bot-message {
  background-color: white;
  color: #343a40;
  margin-right: auto;
  border-bottom-left-radius: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.chatbot-container .chatbot-messages .message.warning-message {
  background-color: white;
  color: #ff9800;
  border-left: 4px solid #ff9800;
}
.chatbot-container .chatbot-messages .message.danger-message {
  background-color: white;
  color: #dc3545;
  border-left: 4px solid #dc3545;
}
.chatbot-container .chatbot-messages .message.quick-response {
  background-color: white;
  color: #28a745;
  border-left: 4px solid #28a745;
}
.chatbot-container .chatbot-input {
  display: flex;
  padding: 10px;
  border-top: 1px solid #eee;
}
.chatbot-container .chatbot-input input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
}
.chatbot-container .chatbot-input button {
  margin-left: 10px;
  padding: 10px 15px;
  background-color: #008cff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.chatbot-container .chatbot-footer {
  padding: 8px;
  text-align: center;
  background-color: #f8f9fa;
  font-size: 12px;
  color: #666;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  justify-content: center;
  align-items: center;
}
.modal.active {
  display: flex;
}
.modal .modal-content {
  background-color: white;
  width: 80%;
  max-width: 800px;
  max-height: 80vh;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal .modal-content h3 {
  padding: 15px;
  background-color: #008cff;
  color: white;
}
.modal .modal-content .close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: white;
  cursor: pointer;
}
.modal .modal-content .tab-container {
  display: flex;
  border-bottom: 1px solid #ddd;
  padding: 0 15px;
}
.modal .modal-content .tab-container .tab-btn {
  padding: 10px 15px;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}
.modal .modal-content .tab-container .tab-btn.active {
  border-bottom: 3px solid #008cff;
  color: #008cff;
  font-weight: 600;
}
.modal .modal-content .tab-content {
  padding: 15px;
  flex: 1;
  overflow-y: auto;
  display: none;
}
.modal .modal-content .tab-content.active {
  display: block;
}
.modal .modal-content .tab-content textarea,
.modal .modal-content .tab-content input[type=text] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.modal .modal-content .tab-content button {
  padding: 8px 15px;
  background-color: #008cff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.modal .modal-content .tab-content #specificKnowledgeContainer .qa-pair,
.modal .modal-content .tab-content #customCommandsContainer .command-pair {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  position: relative;
}
.modal .modal-content .tab-content #specificKnowledgeContainer .qa-pair .remove-btn,
.modal .modal-content .tab-content #customCommandsContainer .command-pair .remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #dc3545;
  color: white;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 12px;
}
.modal .modal-content #saveConfig {
  margin: 15px;
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  align-self: flex-end;
}

.typing-indicator {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  background-color: #f0f2ff;
  border-radius: 18px;
  width: -moz-fit-content;
  width: fit-content;
}
.typing-indicator .typing-text {
  margin-right: 8px;
  color: #555;
  font-size: 14px;
}
.typing-indicator .typing-dots {
  display: flex;
  align-items: center;
  height: 20px;
}
.typing-indicator .typing-dots .dot {
  width: 6px;
  height: 6px;
  margin: 0 2px;
  background-color: #008cff;
  border-radius: 50%;
  display: inline-block;
  animation: bounce 1.4s infinite ease-in-out both;
}
.typing-indicator .typing-dots .dot:nth-child(1) {
  animation-delay: -0.32s;
}
.typing-indicator .typing-dots .dot:nth-child(2) {
  animation-delay: -0.16s;
}

.typing-bar {
  display: flex;
  align-items: center;
  height: 20px;
}
.typing-bar span {
  display: inline-block;
  width: 4px;
  height: 12px;
  margin: 0 2px;
  background-color: #008cff;
  border-radius: 2px;
  animation: typing-bar 1s infinite ease-in-out;
}
.typing-bar span:nth-child(1) {
  animation-delay: 0s;
}
.typing-bar span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-bar span:nth-child(3) {
  animation-delay: 0.4s;
}

.typing-pulse {
  display: flex;
  align-items: center;
}
.typing-pulse span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 3px;
  background-color: #008cff;
  border-radius: 50%;
  animation: pulse 1.5s infinite ease-in-out;
}
.typing-pulse span:nth-child(1) {
  animation-delay: 0s;
}
.typing-pulse span:nth-child(2) {
  animation-delay: 0.3s;
}
.typing-pulse span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes typing-bar {
  0%, 100% {
    height: 12px;
  }
  50% {
    height: 20px;
  }
}
@keyframes pulse {
  0%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .chatbot-container {
    width: 90%;
    right: 5%;
    height: 70vh;
    bottom: 80px;
  }
  .modal-content {
    width: 95%;
  }
  .tab-container {
    overflow-x: auto;
  }
}
@media (max-width: 480px) {
  .chatbot-icon {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  .message {
    max-width: 90%;
  }
  .tab-btn {
    padding: 8px 10px;
    font-size: 14px;
  }
}/*# sourceMappingURL=chatbot.css.map */