.chat-container {
  background-color: #f9f9f9;
  width: 85%;
  height: 600px;
  margin: 0 auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.chat-header {
  background-color: #001134;
  color: #fff;
  padding: 10px;
  text-align: center;
  font-size: 20px;
}

.chat-header h3{
  color: #fff;
}

.chat-history {
  padding: 10px;
  height: 440px;
  overflow-y: scroll;
}

.chat-history .loading {
  text-align: center;
  margin: 10px 0;
}

.chat-history .loading span {
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
  font-weight: bold;
}

.chat-history .message-container {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.chat-history .message-container:last-child {
  margin-bottom: 0;
}

.chat-history .message-container .avatar {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
}

.chat-history .message-container .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chat-history .message-container .message {
  max-width: 70%;
  background-color: #f1f0f0;
  padding: 10px;
  border-radius: 10px;
  position: relative;
}

.chat-history .message-container .message .text {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.chat-history .message-container .message .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.chat-input {
  padding: 10px;
}

.chat-input form {
  display: flex;
  align-items: center;
}

.chat-input input[type="text"] {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
}

.chat-input button[type="submit"] {
  background-color: #001134;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.chat-input button[type="submit"]:hover {
  background-color: #032262;
}
