/* CSS for the chat area */
#chat-table {
  max-width: 653px;
  margin: 0 auto; /* Center the chat table horizontally */
  background-color: #f2f2f2;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#chat-area {
  background-color: #f2f2f2;
  padding: 20px;
  border-radius: 8px 8px 0 0;
  font-size: 17px;
}

/* Styling for chat messages */
#chat-area p {
  margin: 10px 0;
  text-align: left; /* Change text alignment to left */
}


/* CSS for the chat box */
#chat-form {
  display: flex; /* Use flexbox layout */
  background-color: #f2f2f2;
  padding: 10px;
  border-radius: 0 0 8px 8px;
}

#input {
  flex: 1; /* Take available width, expand to fill the container */
  height: 40px;
  border-radius: 4px;
  background-color: white;
  padding: 10px;
  color: black;
  font-size: 17px;
  border: 1px solid black;
  cursor: text;
  transition: height 0.3s ease-in-out;
  resize: none; /* Prevent resizing of the chat box */
  outline: none; /* Remove the outline when focused */
  box-shadow: none; /* Remove any box shadow */
}

/* CSS for the submit button */
#chat-form button {
  background-color: green;
  color: white;
  padding: 8px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 17px;
}

/* Styling for chat messages */
#chat-area p {
  margin: 8px 0;
}

/* CSS for the typing indicator */
.typing-indicator {
  color: gray;
  animation: blink-caret 1s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: gray; }
}

/* Additional styles for centering elements */
body {
  text-align: center; /* Center all elements within the body */
}

h1 {
  margin-top: 40px; /* Add some top margin to the h1 title */
}
