/* style.css */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f7f6;
  display: flex;
  justify-content: center; /* Centers children vertically in the page */
  align-items: center; /* Centers children horizontally in the page */
  flex-direction: column; /* Stacks children vertically */
}


.chat-container {
  width: 90%;
  max-width: 400px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-top: 20px;
}

.chat-box {
  height: 400px;
  padding: 20px;
  overflow-y: auto;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.message {
  max-width: 80%;
  padding: 10px;
  border-radius: 18px;
  position: relative;
  font-size: 14px;
}

.user {
  align-self: flex-end;
  background-color: #007bff;
  color: #ffffff;
}

.bot {
  align-self: flex-start;
  background-color: #e9e9eb;
  color: #333;
}

.chat-form {
  display: flex;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #e9e9eb;
}

.chat-form input {
  flex: 1;
  padding: 10px;
  margin-right: 10px;
  border: 1px solid #e9e9eb;
  border-radius: 18px;
  outline: none;
}

.chat-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 18px;
  background-color: #007bff;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.chat-form button:hover {
  background-color: #0056b3;
}

.intro-container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.intro-img{
  width: 50%;
  min-width: 300px;
  height: auto;
}
#loader {
  font-size: 25px;
  text-align: center;
}