body {
  font-family: 'Open Sans', sans-serif;
  background: #ffffff;
  margin: 0;
}

.chat-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.chat-container {
  width: 100%;
  height: 100%;
  max-width: 400px;
  max-height: 800px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
}

.chat-log {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #ffffff;
}

.message {
  padding: 12px 16px;
  border-radius: 14px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.5;
  word-break: break-word;
}

.message p {
  margin-top: 0;
  margin-bottom: 14px;
}

.message p:last-child {
  margin-bottom: 0;
}

.message a {
  color: #f2994a;
}

.message a:hover {
  text-decoration: underline;
}

.message.user {
  align-self: flex-end;
  background: #FAFAFA;
  color: #1a1a1a;
}

.message.bot {
  align-self: flex-start;
  background: #e9f5dd;
  color: #1a1a1a;
}

.chat-form {
  display: flex;
  border-top: 1px solid #eee;
  padding: 10px;
  background: #FAFAFA;
}

#chat-input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.chat-form button {
  margin-left: 10px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: #f2994a;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.chat-form button:hover {
  background: #ea8931;
}
