/* Basic styling for the chat UI */
body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.chat-container {
  width: 350px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.avatar {
  width: 50px; /* Adjust as needed */
  height: 50px; /* Adjust as needed */
  border-radius: 50%; /* Makes the image round */
  margin-right: 10px; /* Adjust as needed */
}

.chat-header {
  height: 45px;
  background-color: #007bff;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 20px;
  display: flex;
  align-items: center; /* Align items vertically */
}

.chat-guidelines {
  height: 0px;
  background-color: #007bff;
  color: #fff;
  padding: 15px;
  text-align: center;
  font-size: 11px;
  display: flex;
  align-items: center; /* Align items vertically */
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 10px;
}

.chat-message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  background-color: #f0f0f0;
  max-width: 80%;
}

.chat-message.me {
  align-self: flex-end;
  background-color: #007bff;
  color: #fff;
}

.chat-message.bot {
  align-self: flex-start;
}

.chat-input-container {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #f7f7f7;
}

.chat-input {
  flex: 1;
  padding: 8px;
  border: none;
  border-radius: 20px;
  outline: none;
}

.send-button {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  margin-left: 10px;
  cursor: pointer;
}

#loader {
  font-size: 25px;
  text-align: center;
}