#chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #D00000;
  color: white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 26px;
  text-align: center;
  line-height: 55px;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: all 0.3s ease;
}

#chat-button:hover {
  transform: scale(1.05);
  background: #b60000;
}

#chat-box {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 330px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  z-index: 9999;
  overflow: hidden;
}

.chat-header {
  background: #D00000;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.close-btn {
  cursor: pointer;
  font-size: 20px;
  transition: color 0.2s;
}

.close-btn:hover {
  color: #ffbbbb;
}

.chat-body {
  padding: 12px;
  height: 240px;
  overflow-y: auto;
  background: #f7f7f7;
  display: flex;
  flex-direction: column;
}

.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}

.chat-input input {
  flex: 1;
  padding: 12px;
  border: none;
  outline: none;
  font-size: 14px;
  font-family: \'Montserrat\', sans-serif;
}

.chat-input button {
  background: #D00000;
  color: white;
  border: none;
  padding: 0 16px;
  cursor: pointer;
  transition: background 0.3s;
  font-weight: 600;
}

.chat-input button:hover {
  background: #b60000;
}

.bot-message,
.user-message {
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 12px;
  max-width: 80%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 14px;
}

.bot-message {
  background: #eeeeee;
  align-self: flex-start;
}

.user-message {
  background: #d1ffd1;
  align-self: flex-end;
  text-align: right;
}

#recommended-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.recommend {
  background: #f0f0f0;
  padding: 6px 10px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.recommend:hover {
  background: #ddd;
}