@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600&display=swap");




/* chat open and close */
.chat-bar-open {
  text-align: center;
  position: fixed;
  bottom: 40px;
  right: 50px;
}

.chat-bar-close {
  display: none;
  text-align: center;
  position: fixed;
  bottom: 40px;
  right: 50px;
}

.chat-bar-open .close,
.chat-bar-close .close {
  background-color: transparent;
  width: 100px;
  cursor: pointer;
  height: 70px;
  padding: 0px;
  border-radius: 10%;
  border-style: none;
  vertical-align: middle;
  /* box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px; */
}

.chat-bar-close .close {
  background-color: white;
  width: 56px;
  height: 56px;
  padding: 12px;
}

.chat-bar-open .close img {
  height: 100px;
}

.chat-bar-close .close i {
  font-size: 30px;
}

.chat-bar-open .close::after {
  /* position: absolute;
  content: "";
  top: 43px;
  left: 37px;
  transform: rotate(-51deg);
  border-left: 23px solid transparent;
  border-right: 30px solid transparent;
  border-top: 30px solid #fff; */
}

.chat-bar-close .close::after {
  /* position: absolute;
  content: "";
  top: 27px;
  left: 23px;
  transform: rotate(-55deg);
  border-left: 24px solid transparent;
  border-right: 29px solid transparent;
  border-top: 31px solid #fff; */
}

/* chat window 1 */
.chat-window {
  width: 300px;
  height: 230px;
  border-radius: 5px 5px;
  background-color: #fff;
  padding: 0px;
  z-index: 9999999;
  position: fixed;
  bottom: 120px;
  right: 54px;
  display: none;
  box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px;
}

.chat-header {
  /* box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2); */

}

.hi-there {
  box-shadow: 0px 1px 5px 0 rgba(0, 0, 0, 0.2);

  position: relative;
  background-color: #ffffff;
  color: #000000;
  padding: 12px 30px 10px 30px;
  border-radius: 5px;
  /* text-align: center; */
  align-items: center;
  border-radius: 5px 5px 0 0;
}

.hi-there .p1 {
  font-size: 14px;
  margin: 0;
  font-weight: 900;
  line-height:15px;

}

.hi-there .pp {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
  text-align: center;
}

.hi-there .p2 {
  font-size: 13px;
}

.hi-there .col-2 {
  --bs-gutter-x:1px;
  text-align: center;
}
.hi-there .col-3 {
  --bs-gutter-x:1px;
  text-align: center;
  margin: auto;
}

.hi-there .col-6 {
  --bs-gutter-x:1px;
}

.hi-there .col-7 {
  --bs-gutter-x:20px;
  margin: auto;
}



.chat-window .start-conversation {
  padding: 15px 24px 0px 24px;
}

.chat-window .start-conversation h1 {
  font-size: 15px;
  text-align: center;
  color: #774efe;
  padding-bottom: 5px;
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.image-container a:hover {
  border-radius: 50%;
  border: 3px solid #774efe;
}

.selectable-image {
  position: relative;
  width: 40px;
  /* Adjust size as needed */
  height: 40px;
  /* Adjust size as needed */
  margin: 5px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #1dfc00;
  background-image: url(/bot-1.png)
}

.selectable-image:after {
  content: "";
  position: absolute;
  /* top: -1px;
  right: -1px; */
  transform: translate(90%, -50%);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #021e3a;
  mix-blend-mode: darken;
}

.selected {
  border: 2px solid blue;
}

.icon-container {
  margin: 10px;
  width: 65px;
  height: 65px;
  position: relative;
}

.hi-there .image {
  height: auto;
  width: 80%;
  border-radius: 50%;
  /* border: 3px solid grey; */
  box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px;

}

.image {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  /* border: 3px solid grey; */
}

.icon-container .image {
  height: 100%;
  width: 100%;
  border-radius: 50%;
  border: 3px solid grey;
}

.image:hover {
  border-color: #774efe;
}

.status-circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  /* background-color: grey; */
  background-image: url('../../status.png');
  background-size: 15px auto;
  bottom: 0;
  right: 0;
  position: absolute;
  background-repeat: no-repeat;
}

.chat-window .start-conversation p {
  font-size: 12px;
}

.chat-window .start-conversation button {
  cursor: pointer;
  border: none;
  border-radius: 20px;
  padding: 7px 30px;
  margin: 10px 0px;
  background-color: #13a884;
  color: white;
}

.chat-window .start-conversation button span {
  font-size: 14px;
}

.chat-window .start-conversation button i {
  font-size: 16px;
  position: relative;
  left: 6px;
  top: 3px;
}

/* chat window 2 */
.chat-window2 {
  display: none;
  width: 300px;
  height: 434px;
  border-radius: 5px 5px;
  background-color: #e5e7f3;
  z-index: 9999999;
  position: fixed;
  bottom: 120px;
  right: 54px;
  box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px;
}

.chat-window2 .hi-there .p2 {
  font-size: 12px;
}

.message-box {
  margin-top: 0px;
  padding: 14px 12px 14px 15px;
  height: 328px;
  width: 100%;
  /* overflow: auto; */
  overflow-x: hidden;
}

.message-box .first-chat{
  float: right;
  width: 200px;
}
.message-box .first-chat-container {
  max-width: 200px;
  float: right;
  background-color: #ffffff;
  margin: 14px 3px;
  border-radius: 10px 10px 10px 10px;
  color: rgb(0, 0, 0);
  /* box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px; */
  box-shadow: rgb(0 0 0 / 10%) 0px 0px 0px, rgb(0 0 0 / 20%) 1px 2px 5px;

}

.message-box .first-chat-container .user-message {
  font-size: 12px;
  overflow-wrap: break-word;
  font-weight: bold;
  margin-bottom: 0;
  padding: 5px 15px;
}

.message-box .first-chat .arrow {
  content: "";
  width: 0px;
  height: 0px;
  border-left: 7px solid #ffffff;
  border-right: 10px solid #1236eb00;
  border-top: 9px solid #ffffff;
  border-bottom: 6px solid #29242400;
  right: -189px;
  bottom: -30px;
  position: relative;
  margin-top: -16px;
}

.message-box .second-chat {
  display: -webkit-inline-box;
}

.message-box .second-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.message-box .second-container .image {
  height: 30px;
  width: 30px;
  border-radius: 50%;
  /* border: 3px solid #774efe; */
  box-shadow: rgb(0 0 0 / 10%) 0px 1px 6px, rgb(0 0 0 / 20%) 0px 2px 24px;

}

.message-box .second-chat .circle {
  background-color: #4c5aa1;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  float: left;
  padding: 10px;
  margin-top: 0 px;
  /* margin-right: 5px; */
}

.message-box .second-chat #circle-mar {
  margin-top: 0px;
}

.message-box .second-chat .bot-message {
  font-size: 12px;
  overflow-wrap: break-word;
  font-weight: bold;
}

.message-box .second-chat .bot-name-message {
  padding-top: 3px;
  font-size: 14px;
  color: #000;
}

.message-box .second-chat .bot-message {
  max-width: 200px;
  float: left;
  background-color: #7533fe;
  padding: 5px 13px;
  margin: 0px 15px;
  border-radius: 10px 10px 10px 10px;
  color: #ffffff;
  box-shadow: rgb(0 0 0 / 10%) 0px 0px 0px, rgb(0 0 0 / 20%) -1px 2px 5px;

}

.message-box .second-chat .arrow {
  content: "";
  width: 0px;
  height: 0px;
  border-right: 0px solid #7533fe;
  border-left: 12px solid #2f519500;
  border-top: 9px solid #7533fe;
  border-bottom: 6px solid #39020200;
  margin-left: -292px;
  margin-top: 0;
  display: inline-block;

}

.chat-window2 .input-box {
  position: absolute;
  font-size: 12px;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 5px 0px 4px 20px;
  border-top: 1px solid lightgray;
  background-color:white;
  border-radius: 0px 0px 5px 5px;
  box-shadow: 0 -1px 5px 0 rgba(0, 0, 0, 0.2);
}

.chat-window2 .input-box .write-reply {
  float: left;
}

/* .chat-window2 .input-box .write-reply input[type="text"] {

  background-color: #e9e9e9;

} */

.chat-window2 .input-box .write-reply input[type="text"] {
  font-size: 14px;
}

.chat-window2 .input-box .send-button {
  float: right;
  border: none;
  outline: none;
}

.chat-window2 .input-box .send-button button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  outline: none;
}

.chat-window2 .input-box .send-button button i {
  color: grey;
  font-size: 20px;
  font-weight: bold;
}

.chat-window2 .input-box .surveysparrow img {
  width: 15px;
  margin-bottom: -4px;
}

.chat-window2 .input-box .surveysparrow p {
  display: inline;
  font-size: 10px;
  color: #636262;
}

.chat-window2 .input-box .surveysparrow {
  position: relative;
  bottom: 28px;
  right: -65px;
}

/* RESPONSIVE */
@media screen and (max-width: 396px) {
  .chat-window {
    right: 14px;
    bottom: 87px;
  }

  .hi-there {
    padding: 12px 30px;
  }

  .chat-window2 {
    right: 14px;
    bottom: 87px;
    height: 420px;
  }

  .chat-bar-open {
    bottom: 20px;
    right: 21px;
  }

  .chat-bar-close {
    bottom: 21px;
    right: 25px;
  }

  /* .message-box .second-chat .arrow {
    margin-left: 41px;
  } */
}

.message-box::-webkit-scrollbar  {
  width: 0px;
}
.message-box::-webkit-scrollbar-thumb  {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: rgba(112, 112, 112, 0.8); 
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5); 
}
.message-box::-webkit-scrollbar-thumb:window-inactive {
background: rgba(214, 214, 214, 0.4); 
}
.message-box::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
  -webkit-border-radius: 10px;
  border-radius: 10px;
}

@media screen and (min-width: 1200px) {
  /* .message-box .second-chat .arrow {
  content: "";
  width: 0px;
  height: 0px;
  border-right: 0px solid #7533fe;
  border-left: 9px solid #2f519500;
  border-top: 9px solid #7533fe;
  border-bottom: 6px solid #39020200;
  margin-left: -292px;
  margin-top: 0;
  display: inline-block;

} */
/* .message-box .first-chat-container .arrow {
  content: "";
  width: 0px;
  height: 0px;
  border-left: 5px solid #774efe;
  border-right: 10px solid #1236eb00;
  border-top: 9px solid #774efe;
  border-bottom: 6px solid #29242400;
  right: -188px;
  bottom: 30px;
  position: relative;
  margin-top: -16px;
} */
}