body {
  margin: 0;
  font-family: Arial;
  background: linear-gradient(135deg, #ff6a00, #ee0979);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.chat-app {
  width: 380px;
  height: 600px;
  background: #1e1e2f;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 20px black;
}

.header {
  background: linear-gradient(90deg, #00c6ff, #0072ff);
  padding: 15px;
  text-align: center;
  font-weight: bold;
  color: white;
  font-size: 18px;
}

#chatbox {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.message {
  padding: 10px;
  margin: 8px;
  border-radius: 15px;
  max-width: 75%;
  animation: fadeIn 0.3s ease-in;
}

.user {
  background: #00c6ff;
  align-self: flex-end;
  color: black;
}

.bot {
  background: #ff6a00;
  align-self: flex-start;
  color: white;
}

.typing {
  font-size: 12px;
  color: #aaa;
  margin-left: 10px;
  display: none;
}

.input-area {
  display: flex;
  padding: 10px;
  background: #2c2c3e;
}

input {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
}

button {
  margin-left: 8px;
  padding: 10px 15px;
  border: none;
  border-radius: 10px;
  background: #00c6ff;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #0072ff;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}