.chat-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chat-main input[type="text"] {
  width: 80%;
  max-width: 800px;
  padding: 18px 24px;
  border-radius: 30px;
  border: 1px solid #444;
  background-color: #28292a;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: border 0.3s;
}

.chat-main input[type="text"]:focus {
  border: 1px solid #8e8e8e;
}

.chat-main.active {
  justify-content: flex-start;
  padding: 20px 0;
}

.result-container {
  margin: 50px;
}

.result-container > .question-wrapper {
  display: flex;
  justify-content: end;
}

.result-container > .question-wrapper > .question {
  max-width: 80%;
  border-radius: 10px;
  background-color: rgb(83, 83, 83);
  text-align: right;
  padding: 10px;
}

.chat-container {
  flex: 1;
  width: 80%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.message {
  display: flex;
  width: 100%;
}

.message.user {
  justify-content: flex-end;
}

.message.user .content {
  background-color: #303132;
  padding: 12px 20px;
  border-radius: 18px;
}

.message.bot {
  justify-content: flex-start;
}

.message.bot .content {
  padding: 12px 0;
}