body {
  font-family: Arial, sans-serif;
  background-color: #f0f0f0;
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#chatWrapper {
  position: relative;
}

#chatToggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #f28b82;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
}

.chatContainer {
  display: flex;
  flex-direction: column;
  width: 360px;
  height: 500px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 1000;
}

.chatHeader {
  background-color: #f3f1ef;
  color: #333;
  padding: 15px;
  text-align: center;
  font-weight: bold;
}

.chatBox {
  height: 300px;
  padding: 10px;
  overflow-y: auto;
  background-color: #fdfdfd;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inputArea {
  height: 50px;
  display: flex;
  padding: 10px;
  border-top: 1px solid #ddd;
  background-color: #fafafa;
}

.inputArea input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.inputArea button {
  background-color: #f28b82;
  color: white;
  border: none;
  padding: 8px 12px;
  margin-left: 8px;
  border-radius: 4px;
  cursor: pointer;
}

.message {
  max-width: 70%;
  padding: 10px;
  border-radius: 10px;
  line-height: 1.4;
}

.user {
  align-self: flex-end;
  background-color: #f28b82;
  color: white;
}

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

.typingIndicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 4px;
}

.typingIndicator span {
  width: 6px;
  height: 6px;
  background-color: #bbb;
  border-radius: 50%;
  animation: bounce 0.6s infinite alternate;
}

.typingIndicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.typingIndicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-6px);
  }
}

.quickReplies {
  height: 30px;
  padding: 8px 10px;
  background-color: #f3f1ef;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #dcdcdc;
  scroll-behavior: smooth;
}

.quickReplies::-webkit-scrollbar {
  display: none; 
}

.quickButton {
  display: inline-block;
  background-color: #ffffff;
  border: 1px solid #ccc;
  color: #333;
  padding: 6px 12px;
  margin-right: 8px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.quickButton:hover {
  background-color: #eee;
}
