@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  /* gradient */

  --bg-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(240, 1%, 25%) 3%, 
    hsl(0, 0%, 19%) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right, 
    hsla(240, 1%, 18%, 0.251) 0%, 
    hsla(240, 2%, 11%, 0) 100%
  ), hsl(240, 2%, 13%);
  --bg-gradient-yellow-1: linear-gradient(
    to bottom right, 
    hsl(45, 100%, 71%) 0%, 
    hsla(36, 100%, 69%, 0) 50%
  );
  --bg-gradient-yellow-2: linear-gradient(
    135deg, 
    hsla(45, 100%, 71%, 0.251) 0%, 
    hsla(35, 100%, 68%, 0) 59.86%
  ), hsl(240, 2%, 13%);
  --border-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(0, 0%, 25%) 0%, 
    hsla(0, 0%, 25%, 0) 50%
  );
  --text-gradient-yellow: linear-gradient(
    to right, 
    hsl(45, 100%, 72%), 
    hsl(35, 100%, 68%)
  );

  /* solid */

  --jet: hsl(0, 0%, 22%);
  --onyx: hsl(240, 1%, 17%);
  --eerie-black-1: hsl(240, 2%, 13%);
  --eerie-black-2: hsl(240, 2%, 12%);
  --smoky-black: hsl(0, 0%, 7%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --orange-yellow-crayola: hsl(45, 100%, 72%);
  --vegas-gold: hsl(45, 54%, 58%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);
  --violet: hsl(259°, 100%, 61%)

  /**
   * typography
   */

  /* font-family */
  --ff-poppins: 'Poppins', sans-serif;

  /* font-size */
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  /* font-weight */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /**
   * shadow
   */
  
  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;

}

.chat-icon {
  position: fixed;
  bottom: 60px;
  right: 20px;
  height: 60px;
  width: 50px;
  cursor: pointer;
  z-index: 100001;
}
.chat-window {
  font-family: "Poppins", sans-serif;
}

.chat-bot{
  width: 25px;
  height: 25px;
  
}

.imageDiv{
  display: flex;
  align-items: flex-end;
  padding-bottom: 5px;
  padding-right: 5px;

}
.bot-message {
  background-color: #e8e8e8;
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
}
.newflex {
  display: flex;
  justify-content: space-between;
}
.chat-body .newflex span {
  height: 32px;
  width: 32px;
  align-self: flex-end;
  background-color: #793ab4;
  color: white;
  text-align: center;
  line-height: 32px;
  border-radius: 4px;
  margin: 0 10px 7px 0;
}
  .has-scrollbar::-webkit-scrollbar {
    width: 10px; 
    height: 5px; 
    margin-right: 4px;
  }
  
  .has-scrollbar::-webkit-scrollbar-track {
    /* background: var(--onyx); */
    border-radius: 5px;
  }
  
  .has-scrollbar::-webkit-scrollbar-thumb {
    background: #793ab4;
    border-radius: 5px;
  }
  
  .has-scrollbar::-webkit-scrollbar-button { width: 20px; }
  
.popup{
  position: absolute;
  width: max-content;
  right: 60px;
  padding: 10px;
  background-color: #FFFF;
  box-shadow: 1px 1px 10px -1px #aaa;
  border-radius: 5px;
  display: none;


}
.popupDiv{
color: black;
font-size: medium;
}

.popupDiv::after{
  display: inline-block;
  content: '';
  position: absolute;
  background-color: #fff;
  height: 10px;
  width: 10px;
  transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  top: 0;
  bottom: 0;
  margin: auto;
  right: -5px;
  border-radius: 0 3px 0 0;
  box-shadow: 1px -1px 4px 0 #eee;
  
}
.popup ::before{
  display: flex;
  content: 'X';
justify-content: center;
align-items: center;
  color: #fff;
  position: absolute;
  background-color: rgb(21, 3, 3);
  height: 20px;
  width: 20px;
  border-radius: 50%;
  top: -8px;
  left: -8px;
  margin: auto;
  box-shadow: 1px -1px 4px 0 #eee;
  
}

.input-box {
  margin-top: 10px;
}

#contact-form-css {
  margin-top: 10px;
}

.phoneNumberclass{
  margin-bottom: 10px;

}
.logout{
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.logout-image{
width: 20px;
height: 20px;
}

.error {
  color: red;
}
.chat-window {
  position: fixed;
  bottom: 140px;
  right: 20px;
  /* height: 30rem; */
  width: 350px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 15px;
  box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1),
    0 32px 64px -48px rgba(0, 0, 0, 0.5);
  display: none;
  overflow: hidden;
  z-index: 100001;
  transform: scale(0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.1s ease;
  transform-origin: bottom right;
}
.show-chat-window .chat-window {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.chat-header {
  background-color: #793ab4;
  padding: 16px 0;
  text-align: center;
  position: relative;
  /* border-bottom: 1px solid #ccc; */
}

.chat-header h2 {
  margin: 0;
  color: #fff;
  font-size: 1.4rem;
}
.chat-header span {
  position: absolute;
  right: 20px;
  top: 50%;
  color: #fff;
  cursor: pointer;
  display: none;
  transform: translateY(-50%);
}

.chat-body {
  padding: 30px 20px 0px 20px;
  height: 300px;
  overflow-y: auto;
  margin-right: 4px;
}
.chat-body .chat {
  display: flex;
  
}
.chat{
  flex: 1 1 0;

}
.chat-body .user-message p {
  color: #fff;
  max-width: 100%;
  font-size: 0.95rem;
  white-space: pre-wrap;
  padding: 12px 16px;
  border-radius: 10px 10px 0 10px;
  background-color: #793ab4;
}
.chat-body .user-message {
  display: flex;
  justify-content: flex-end;
  margin: 20px 0;
}

.chat-body .bot-message span {
  height: 32px;
  width: 32px;
  align-self: flex-end;
  background-color: #793ab4;
  color: white;
  text-align: center;
  line-height: 32px;
  border-radius: 4px;
  margin: 0 10px 7px 0;
}

.chat-window .chat-footer {
  /* position: absolute; */
  bottom: 0;
  width: 100%;
  gap: 5px;
  background: #fff;
  padding: 5px 20px;
  border-top: 1px solid #ccc;
}
.chat-footer textarea {
  border: none;
  outline: none;
  height: 40px;
  width: 90%;
  overflow: hidden;
  font-size: 0.95rem;
  resize: none;
  padding: 16px 15px 16px 0;
}
.chat-footer span {
  height: 55px;
  align-self: flex-end;
  line-height: 55px;
  color: #793ab4;
  font-size: 1.35rem;
  cursor: pointer;
  visibility: hidden;
}
.chat-footer textarea:valid ~ span {
  visibility: visible;
}
.chat-footer button {
  padding: 8px 15px;
  border: none;
  background-color: #4caf50;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 10px;
}
.chatbot-toggler {
  position: fixed;
  right: 20px;
  bottom: 75px;
  height: 50px;
  width: 50px;
  color: #fff;
  background-color: #793ab4;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}


.chatbot-toggler span {
  position: absolute;
}
 .show-chat-window .chatbot-toggler span,
.chatbot-toggler span {
  transition: opacity 1s ease;
}


.bot-message p {
  margin: 0;
}

.otherCheckbox{

  border: 1px solid;
  border-radius: 5px;
  padding: 3px;
}
#questioninput{
  height: 60px;
    width: 100%;
    margin: 10px 0px 0px 0px;
    padding: 10px 0px 0px 10px;
    border-radius: 5px;
}

@media (max-width: 490px) {
  .chat-window {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }
  .chat-window .chat-body {
    height: 90%;
  }
  .chat-header span {
    display: block;
  }
  .popupDiv{
    font-size: 12px;
  }
}

.onhover{
  cursor: pointer;
}