/* Styles for the chat icon */
.chat-icon {
  position: relative;
  box-sizing: border-box;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #F27F2F;
  color: white;
  font-size: 24px;
  padding: 15px;
  border-radius: 50%;
  width: 50px;
  aspect-ratio: 1;
  cursor: pointer;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: transform 0.3s ease-in-out;
  display: flex;
  align-content: center;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.chat-icon :hover {
  transform: scale(1.1);
}
.chat-icon .bi-chat-dots-fill {
  position: absolute;
}

/* Chat box hidden by default */
.chat-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  z-index: 1000;
}

/* Chat header */
.chat-header {
  background-color: #007bff;
  color: white;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header span {
  font-weight: bold;
}

.close-chat {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

/* Chat body */
.chat-body {
  padding: 10px;
  flex-grow: 1;
  overflow-y: auto;
  background-color: #f4f4f4;
}

.message {
  margin: 5px 0;
  padding: 10px;
  border-radius: 10px;
  max-width: 80%;
}

.received {
  background-color: #ececec;
  align-self: flex-start;
}

.sent {
  background-color: #007bff;
  color: white;
  align-self: flex-end;
}

/* Chat footer */
.chat-footer {
  padding: 10px;
  display: flex;
  align-items: center;
  border-top: 1px solid #ddd;
}

.chat-footer input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-right: 10px;
}

.chat-footer .send-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
}

/*# sourceMappingURL=chat-bot.css.map */
