.chatbot-nav-buttons,
.chatbot-buttons {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 10000;
  font-family: var(--bs-body-font-family);
  max-width: 300px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

#chatbot-box {
  background: white;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  display: none;
}

#chatbot-log {
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  background: #fff;
}

#chatbot-toggle-container {
  display: flex;
  gap: 6px;
  align-items: center;
}

#chatbot-toggle {
  background: #ff161f;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  text-align: center;
  border: none;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

#chatbot-toggle


.chatbot-icon {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}


@keyframes fade {
  to {
    opacity: 0;
    visibility: hidden; 
  }
}


#chatbot-toggle-text {
  font-size: 14px;
  font-weight: bold;
  color: black;
  text-shadow: 0 0 10px rgba(170, 170, 170, 0.3);
  background: #FFF;
  border-radius: 99px;
  border: 1.5px solid black;
  padding: 6px 8px;
  max-height: fit-content;
  animation: fade 1s ease-in-out forwards;
  animation-delay: 10s; 
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

#chatbot-toggle-text.disabled {
  pointer-events: none;
}

.chatbot-message,
#chatbot-input {
  margin: 5px 0;
  padding: 10px;
  border-radius: 10px;
}

#chatbot-input {
  width: 100%;
  border: 1px solid black;
}

#chatbot-input-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 15px;
  position: sticky;
  bottom: 0;
  z-index: 1;
}

#chatbot-send {
  height: 45px;
  width: 45px;
  background-color: #ff161f;
  border-radius: 10px;
  color: white;
  border: none;
}

.from-user {
  background-color: #DCF8C6;
  text-align: right;
}

.from-bot {
  background-color: #F1F0F0;
  text-align: left;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.chatbot-buttons {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.chatbot-option {
  background: #000;
  color: white;
  border: none;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: all;
  text-wrap: break-word;
  word-break: break-word;
}

#chatbot-spinner {
  display: flex;
  justify-content: start;
  align-items: center;
  overflow: hidden;
  margin-left: 6px;
}

.chatbot-option:hover {
  background-color: #ff161f;
  color: #fff;
}

.chatbot-nav-buttons {
  display: flex;
  flex-direction: row;
  gap: 5px;
  margin-top: 10px;
}

.chatbot-nav-option {
  background: white;
  color: black;
  border: 1px solid black;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: all;
}

.chatbot-nav-option:hover {
  background-color: #ff161f;
  color: #fff;
}