.chat-container {
  max-width: 1000px;
  margin: 50px auto;
  border: 2px solid #007bff;
  /* Adding a bold blue border */
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Adding a subtle shadow for depth */
  background-color: #fff;
  /* White background to make it fresh */
  overflow: hidden;
}
.chat-header {
  background-color: #ffffff;
  color: #000000;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  letter-spacing: 1px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.chat-body {
  height: 563px;
  overflow-y: auto;
  padding: 20px;
  background-color: #ffffff;
  font-size: 16px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
.chat-message {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}
.chat-message.user {
  justify-content: flex-end;
}
.chat-message.assistant {
  justify-content: flex-start;
}
.chat-message .message-text {
  display: inline-block;
  padding: 12px;
  border-radius: 15px;
  max-width: 75%;
  word-wrap: break-word;
}
.chat-message.user .message-text {
  background-color: #575b5e;
  color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.chat-message.assistant .message-text {
  background-color: #e9ecef;
  color: #000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Adding subtle shadow for assistant message */
}
.chat-footer {
  display: flex;
  padding: 12px 15px;
  background-color: #ffffff;
  border-top: 1px solid #ccc;
}
.chat-footer input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border-radius: 20px;
  /* Rounded corners for input box */
  border: 1px solid #ddd;
  transition: border-color 0.3s ease;
  /* Transition for smooth focus effect */
}
.chat-footer input:focus {
  border-color: #007bff;
  /* Focused input box turns blue */
  outline: none;
}
.chat-footer button {
  background-color: #1b1d1ec9;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3sease;
}
.chat-footer button:hover {
  background-color: #0056b3;
  /* Darker blue on hover */
}

.message-time {
  font-size: 12px;
  color: gray;
  text-align: right;
  margin-top: 5px;
}
