#chat-icon {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #0078ff;
  color: #fff;
  font-size: 26px;
  padding: 15px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#chat-container {
  position: fixed;
  bottom: 80px;
  right: 25px;
  width: 320px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: none;
}

#chat-box {
  display: flex;
  flex-direction: column;
  height: 400px;
}

#messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.message {
  margin: 5px 0;
  padding: 8px;
  border-radius: 8px;
  max-width: 80%;
}

.user {
  background: #0078ff;
  color: white;
  align-self: flex-end;
}

.bot {
  background: #eee;
  color: black;
  align-self: flex-start;
}

#input-area {
  display: flex;
  border-top: 1px solid #ddd;
}

#input-area input {
  flex: 1;
  border: none;
  padding: 10px;
}

#input-area button {
  border: none;
  background: #0078ff;
  color: white;
  padding: 10px 15px;
  cursor: pointer;
}
