#chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0078d7;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#chat-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  height: 420px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#chat-window.open {
  display: flex;
}

#chat-header {
  background: #0078d7;
  color: white;
  text-align: center;
  padding: 10px;
  font-weight: bold;
}

#chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f9f9f9;
}

.msg.user {
  text-align: right;
  background: #daf1da;
  margin: 5px;
  padding: 8px;
  border-radius: 8px;
  display: inline-block;
  max-width: 80%;
  float: right;
  clear: both;
}

.msg.bot {
  text-align: left;
  background: #eee;
  margin: 5px;
  padding: 8px;
  border-radius: 8px;
  display: inline-block;
  max-width: 80%;
  float: left;
  clear: both;
}

#chat-input-area {
  display: flex;
  border-top: 1px solid #ccc;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

#chat-send {
  background: #0078d7;
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

