@import url("https://fonts.googleapis.com/css2?family=Spartan:wght@100;200;300;400;500;600;700;800;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Spartan", sans-serif;
}

html {
  scroll-behavior: smooth;
  background-color: #222831;

}

.bckimg-1{
  background-size: cover;
  background-position:center;
  height: 100%;
  width: 30%;
  position: absolute;
  right: 0;
  top: 0;
  opacity: 0.5;
}

.bckimg-2{
  background-size: cover;
  background-position:center;
  height: 100%;
  width: 25%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.5;
}

textarea{
  width: 73%;
  height: 9%;
  background-color:#00ADB5;
  position: absolute;
  top: 85%;
  left: 170px;
  border: #EEEEEE solid 7px;
  border-radius: 15px;
  text-align: center;
  font-size: 15px;
  overflow: hidden;
  color: #222831;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  padding: 10px;
}

::placeholder{
  color: #222831;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  padding: 10px;
}

span{
  background-color: #00ADB5;
  position: absolute;
  top: 85%;
  right: 40px;
  width: 7.5%;
  height: 9.5%;
  border: #EEEEEE solid 7px;
  border-radius: 15px;
}

span img{
  width: 50px;
  height: 50px;
  position: absolute;
  top: -5%;
  right: 18%;
  margin-top: 10px;
}

.clear-btn{
  background-color: #00ADB5;
  position: absolute;
  top: 85%;
  left: 40px;
  width: 7.5%;
  height: 9.5%;
  border: #EEEEEE solid 7px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 17px;
  color: #222831;
}

.box{
  height: 60%;
  width: 70%;
  background-color: #393E46;
  position: absolute;
  top: 21%;
  right: 16%;
  border-radius: 15px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.box::-webkit-scrollbar{
  width: 15px;
}

.box::-webkit-scrollbar-thumb {
  background-color: #EEEEEE;
  border-radius: 20px;
}

.header1{
  height: 13%;
  width: 97%;
  background-color: #00ADB5;
  position: absolute;
  top: 25px;
  right: 20px;
  border-radius: 15px;
}

.highlight{
  color: #00ADB5;
  font-size: 20px;
}

.header1 h1{
  color:  #EEEEEE;
  text-align: center;
  padding: 8px;
}

.header1 h2{
  color:  #EEEEEE;
  text-align: center;
  padding: 5px;
  font-size: 15px;
}

.header1 h3{
  color:  #e43232;
  text-align: center;
  padding: 2.5px;
  font-size: 13px;
  font-weight: 600;
}

.chat-incoming{
  word-break: normal;
  height: fit-content;
  width: 350px; 
  border-radius: 15px;
  padding: 15px;
  word-spacing: 3px;
  background-color: #EEEEEE;
  margin: 30px;
  margin-left: 30px; 
  margin-top: 50px; 
  margin-right: 30px; 
  font-size: 18px;
  font-weight: 650;
  color: #222831;
  overflow: auto;
  z-index: 1;
}

.chat-outgoing{
  display: block;
  height: fit-content;
  width: auto;
  max-width: 500px; 
  border-radius: 15px; 
  padding: 15px; 
  background-color: #222831; 
  margin: 30px;
  margin-left: 500px; 
  margin-top: 30px; 
  margin-right: 30px; 
  float: right;
  font-size: 18px; 
  font-weight: 500; 
  color: #00ADB5; 
  z-index: 1;
}

.demo-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px 20px;
  background-color: #00ADB5;
  color: #EEEEEE;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
}

.demo-btn:hover {
  background-color: #393E46;
}

/* Demo chat input container at the bottom of the demo page */
.demoChatInput {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #393E46;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.demoChatInput label {
  color: #EEEEEE;
  font-weight: 700;
  margin-right: 10px;
  font-size: 16px;
}

.demoChatInput select {
  padding: 10px;
  background-color: #00ADB5;
  color: #222831;
  border: 2px solid #EEEEEE;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  width: 250px;
  text-align: center;
}

.demoChatInput select option {
  color: #222831;
  background-color: #EEEEEE;
}

/* Demo send button styling */
.demo-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #00ADB5;
  margin-left: 10px;
  width: 60px;  /* Updated width */
  height: 60px; /* Updated height */
  border-radius: 50%;
  cursor: pointer;
  margin-left: 20px;
}

.demo-send-btn img {
  width: 45px;
  height: 45px;
}

/* Back to Main button */
.back-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px 20px;
  background-color: #00ADB5;
  color: #EEEEEE;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 700;
}

.back-btn:hover {
  background-color: #393E46;
}

/* Send button for demo chat input */
.send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #00ADB5;
  margin-left: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.send-btn img {
  width: 20px;
  height: 20px;
}
