/* General styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  margin: 0;
  padding: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chat-container {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.chat-header {
  background-color: #0078d4;
  color: #ffffff;
  padding: 10px 20px;
  text-align: center;
  font-size: 1.5em;
  font-weight: bold;
}

.chat-disclaimer {
  background-color: #ffeb3b;
  color: #000000;
  padding: 10px 20px;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
}

.chat-messages {
  padding: 20px;
  flex-grow: 1;
  overflow-y: auto;
}

.message {
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.message.user {
  background-color: #e1f5fe;
  align-self: flex-end;
}

.message.agent {
  background-color: #e8eaf6;
  align-self: flex-start;
}

.message-header {
  font-weight: bold;
  margin-bottom: 5px;
}

.message-content {
  margin: 0;
}

/* Scrollbar styles */
.chat-messages::-webkit-scrollbar {
  width: 8px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background-color: #0078d4;
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-track {
  background-color: #f4f4f9;
}

/* Chat input form styles */
.chat-input-form {
  display: flex;
  border-top: 1px solid #ddd;
  padding: 10px;
  background-color: #f9f9f9;
}

.chat-input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  margin-right: 10px;
}

.chat-submit-button {
  background-color: #0078d4;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s;
}

.chat-submit-button:hover {
  background-color: #005bb5;
}

.page-content-container {
  max-height: 100%;
}

#root {
  max-height: 100%;
}
