* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
  background: #6A0DAD;
  /* BTS Purple */
}

h1,
h2 {
  font-weight: bold;
  color: #fff;
  text-align: center;
}

h1 {
  font-size: 28px;
  line-height: 34px;
}

h2 {
  font-size: 24px;
  line-height: 34px;
  margin-bottom: 36px;
}

p {
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
  margin: 0;
}

input {
  box-sizing: border-box;
  border: none;
  border-radius: 4px 0 0 4px;
  background: #D3CCE3;
  /* Light lavender */
  color: #6A0DAD;
  /* BTS Purple */
  padding: 16px;
  font-size: 16px;
  font-family: 'Montserrat';
  font-weight: 600;
  line-height: 26px;
  flex: 1;
  width: 100%;
  align-items: center;
}

main {
  margin: 0 auto;
  width: 100%;
  max-width: 900px;
  height: 800px;
  border-radius: 30px;
  background: #FFFFFF;
  /* White background */
  padding: 20px 24px;
  padding-top: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.chat {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  overflow: scroll;
  flex-direction: column;
  padding-bottom: 16px;
}

.bot-msg {
  display: flex;
  margin: 16px 8px 0 0;
}

.user-msg {
  display: flex;
  justify-content: flex-end;
  margin: 16px 0 0 8px;
}

.bot-msg img,
.user-msg img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  /* Circle profile images */
}

.bubble {
  background: #D3CCE3;
  /* Light lavender for bubbles */
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  padding: 16px 24px;
  color: #6A0DAD;
  /* BTS Purple text */
  max-width: 40%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.bot-bubble {
  border-radius: 0px 26px 26px 26px;
  margin-left: 8px;
}

.user-bubble {
  border-radius: 26px 0 26px 26px;
  margin-right: 8px;
  background-color: #6A0DAD;
  /* Purple for user bubbles */
  color: #fff;
  /* White text for user bubbles */
}

.input-wrapper {
  display: flex;
  justify-content: center;
}

.input-wrapper form {
  width: 100%;
  display: flex;
  align-items: center;
}

label {
  font-size: 16px;
  font-family: 'Montserrat';
  font-weight: 500;
  color: #6A0DAD;
  /* Purple for text */
  margin-right: 20px;
}

button {
  background-color: #6A0DAD;
  /* Purple buttons */
  color: white;
  border: none;
  border-radius: 26px;
  padding: 12px 24px;
  margin: 10px 5px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 100px;
}

button:hover {
  background-color: #4A0077;
  /* Darker purple on hover */
  transform: translateY(-2px);
  /* Lift effect */
}

.bubble button:hover {
  background-color: #4A0077;
  /* Darker purple for hover */
  transform: translateY(-2px);
  /* Lift effect */
}

form.hidden {
  display: none;
}

img {
  border-radius: 50%;
  margin-right: 10px;
  border: 1px solid #6A0DAD;
  /* Purple border around images */
}