body {
  font-family: "Inter", sans-serif;
  background: #f4f4f9;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.chat-container {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

header {
  background: #0084ff;
  color: white;
  text-align: center;
  padding: 12px;
}

.chat-box {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bot-message,
.user-message {
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 80%;
  line-height: 1.4;
}

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

.user-message {
  background: #0084ff;
  color: white;
  align-self: flex-end;
}

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

#user-input {
  flex: 1;
  padding: 12px;
  border: none;
  outline: none;
}

button {
  background: #0084ff;
  color: white;
  border: none;
  padding: 0 20px;
  cursor: pointer;
}

button:hover {
  background: #006edc;
}
