#chat-box {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 340px;
  max-height: 600px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 9999;
}

#chat-header {
  background: #007bff;
  color: white;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

#chat-log {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f9f9f9;
}

.chat-bubble {
  padding: 10px 15px;
  border-radius: 18px;
  max-width: 80%;
  font-size: 15px;
  line-height: 1.4;
  display: inline-block;
  word-wrap: break-word;
}

.user-bubble {
  background-color: #007bff;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.bot-bubble {
  background-color: #e5e5ea;
  color: #000;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.typing-indicator {
  align-self: flex-start;
  font-size: 18px;
  color: #aaa;
}

#chat-form {
  display: flex;
  padding: 10px;
  border-top: 1px solid #ccc;
}

#chat-input {
  flex: 1;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 18px;
  outline: none;
}

#chat-form button {
  background-color: #007bff;
  border: none;
  color: white;
  padding: 0 16px;
  margin-left: 10px;
  border-radius: 18px;
  font-weight: bold;
  cursor: pointer;
}

.chat-suggestions {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.chat-suggestions button {
  background-color: #007bff;
  color: white;
  padding: 8px 12px;
  margin-bottom: 6px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  font-size: 14px;
}
