#chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: Arial, sans-serif;
  z-index: 9999;
}

#chat-button {
  background: #111;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 26px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#chat-window {
  width: 320px;
  height: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hidden {
  display: none;
}

#chat-header {
  background: #111;
  color: #fff;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-header button {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

#chat-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f5f5f5;
}

.message {
  margin-bottom: 12px;
  max-width: 80%;
  padding: 10px;
  border-radius: 10px;
  line-height: 1.4;
}

.user {
  background: #111;
  color: #fff;
  margin-left: auto;
}

.bot {
  background: #e0e0e0;
  color: #000;
  margin-right: auto;
}

#chat-input-area {
  display: flex;
  border-top: 1px solid #ddd;
}

#chat-input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
}

#chat-send {
  background: #111;
  color: #fff;
  border: none;
  padding: 0 16px;
  cursor: pointer;
}
