* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0a192f;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.chat-container {
  background: #112240;
  width: 90%;
  max-width: 500px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  height: 90vh;
}

.chat-header {
  background: #1f4068;
  padding: 1rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1;
}

.chat-header h1 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.chat-header p {
  font-size: 0.85rem;
  color: #c0c0c0;
}

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

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

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

.user-message {
  background: #4ea8de;
  color: #fff;
  align-self: flex-end;
}

.chat-input {
  display: flex;
  gap: 0.5rem;
  padding: 0.8rem;
  background: #112240;
  border-top: 1px solid #1f4068;
}

select, input {
  flex: 1;
  padding: 0.6rem;
  border-radius: 6px;
  border: none;
  outline: none;
  font-size: 0.9rem;
}

button {
  background: #4ea8de;
  border: none;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background: #4096c7;
}
