/*--------INJECT.CSS STARTS--------------*/
.bp-widget-web {
  border: none;
  display: block;
  position: fixed;
  visibility: none;
  z-index: 20;
  max-height: 100vh;
  max-width: 100vw;
  transition: none;
  background: none transparent;
  opacity: 1;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  padding: 0;
}

/*css for the chat widget*/
.bp-widget-widget {
  top: auto;
  right: 15px;
  bottom: 110px;
  left: auto;
  width: 76px !important;
  height: 76px !important;
}

.bp-widget-hidden {
  display: none;
}

.bp-widget-convo {
  top: auto;
  left: 80px;
  bottom: 30px;
  right: auto;
  /*width: 420px !important;
  min-height: 382px !important;
  max-height: 500px !important;*/
}

/*css for the chat box*/
.bp-widget-side {
  top: auto;
  left: auto;
  bottom: 60px;
  right: 2px;
  width: 380px;
  height: 100% !important;
}

@media only screen and (max-device-width: 768px) {
  .bp-widget-side {
    width: 100%;
  }
}
/*--------INJECT.CSS ENDS--------------*/

/* This CSS rule sets the default font size of the entire document */
html {
  font-size: 16px;
  font-family: "Times New Roman", sans-serif;
}

/* These CSS rules sets the text direction of the paragraph (RTL or LTR) */
p,
.bpw-from-bot > div,
#input-message {
  direction: ltr;
}

/* This rule changes the color of the text in the input message */
#input-message {
  color: #ffffff;
}

/* Changes the color of the new message indicator */
.bpw-new-messages-indicator {
  background-color: #46eb34;
  color: #000000;
  text-decoration: none;
  z-index: 1;
  top: -4px;
}

/* Styling for the chat header container */
.bpw-header-container {
  margin: 10px;
  background: #FCDC9E; /*banner color*/
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  border: 1px;
  color: #1D1D1B;
}

/* Styling for the typing bubble */
.bpw-typing-bubble {
  background: #F7A70D;
}

/* Styling for the chat bubble content */
.bpw-chat-bubble-content {
  background-color: #F7A70D;
  border-radius: 10px;
  border: 1px transparent;
}

/* Styling for the date container, header name, and header subtitle */
.bpw-date-container,
.bpw-header-name,
.bpw-header-subtitle {
  color: #1D1D1B;
}

/* Styling for the layout of the chat bubble. Width, height, border, position and radius of the chat bubble */
.bpw-layout {
  width: 90% !important;
  height: 70%;
  border-radius: 10px;
  margin: 10px;
  border: 3px solid #000000;
}


/* Changes the fill color of the header icons to white */
.bpw-header-icon,
.bpw-header-icon svg,
.bpw-header-icon svg path {
  fill: #1D1D1B !important;
}

/* Changes the color of the placeholder text in the input message */
#input-message::placeholder {
  color: #ffffff;
}


/* Styling for the keyboard single choice option */
.bpw-keyboard-single-choice {
  background-color: #ffffff;
  border: none;
}

/* Styling for the buttons in the chat interface */
.bpw-button,
.bpw-button-alt {
  background-color: #B9CFEC;
  color: #000000;
  border-radius: 10px;
  border: 2px solid #000000;
}


/* Styling for hover effect on the buttons in the chat interface */
.bpw-button:hover,
.bpw-button-alt:hover {
  background-color: #A5A5A4;
}


/* Styling for hyperlinks in the chat interface */
/*a {
  color: #000000;
  text-decoration: underline;
}*/

/* Styling for the chat container, including color, scrollbar width and color, and border */
.bpw-chat-container {
  background-color: #ffffff;
  scrollbar-width: thin;
  scrollbar-color: #4b4b4b #000000;
  border: 3px solid #1D1D1B;
}

/* Styling for the chat bubble content when it's from the bot */
.bpw-from-bot .bpw-chat-bubble .bpw-chat-bubble-content {
  background-color: #DBDBDB;
  color: #1D1D1B;
}

/* Styling for the chat bubble content when it's from the user */
.bpw-from-user .bpw-chat-bubble .bpw-chat-bubble-content {
  background-color: #739ED9;
  color: #1D1D1B;
}

/* Styling for the composer section of the chat interface */
.bpw-composer {
  background-color: #739ED9;
  border-top: 3px solid #1D1D1B;
}


/* Styling for the scrollbar in the chat container */
.bpw-chat-container::-webkit-scrollbar,
.bpw-chat-container::-moz-scrollbar {
  width: 10px;
  background-color: #000000;
  border: none;
}

/* Styling for the avatar of the bot */
.bpw-bot-avatar img,
.bpw-bot-avatar svg {
  background: #F7A70D;
  border-style: solid;
  border-width: 1px;
}

/* Styling for the general scrollbar in the web page */
::-webkit-scrollbar {
  width: 0.5rem;
}

/* Styling for the track of the general scrollbar and the chat container scrollbar */
::-webkit-scrollbar-track,
.bpw-chat-container::-webkit-scrollbar-track,
.bpw-chat-container::-moz-scrollbar-track {
  background-color: transparent;
}

/* Styling for the thumb of the general scrollbar and the chat container scrollbar */
::-webkit-scrollbar-thumb,
.bpw-chat-container::-webkit-scrollbar-thumb,
.bpw-chat-container::-moz-scrollbar-thumb {
  background-color: #000000;
  border-radius: 1rem;
  border: 0.5rem solid transparent;
}

/* Styling for the floating button icon in the chat interface */
.bpw-floating-button i svg path {
  fill: #FFFFFF;
}

/* Styling for the floating button in the chat interface */
.bpw-floating-button {
  background: #F7A70D;
  border-radius: 52px;
}

/* Styling for the 'powered by' section of the chat interface */
/*.bpw-powered {
  text-align: center;
  padding: 10px;
  color: #ffffff;
  background: #000000;
  font-size: 16px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}*/

/* Styling for the hyperlinks in the 'powered by' section of the chat interface */
/*.bpw-powered a {
  color: #000000;
  text-decoration: none;
}*/

/* Styling for hover effect on the hyperlinks in the 'powered by' section of the chat interface */
/*.bpw-powered a:hover {
  text-decoration: underline;
}*/


/* Styling for the send button when it's disabled */
.bpw-send-button:disabled,
.bpw-send-button:disabled:hover {
  opacity: 0.4;
  background-color: var(--theme-primary);
  cursor: default;
}

/* Styling for the send buttons */
.bpw-send-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* Styling for the individual send button */
.bpw-send-button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: var(--spacing-medium);
  background-color: #739ED9;
  padding: 20px;
  width: 24px;
  height: 24px;
  color: transparent;
  cursor: pointer;
  background-image: url('data:image/svg+xml,%3Csvg%20width%3D%2217%22%20height%3D%2220%22%20viewBox%3D%220%200%2017%2020%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%3Cpath%20d%3D%22M1.77152%201.04207L15.5347%209.13807C16.192%209.52472%2016.192%2010.4753%2015.5347%2010.8619L8.5%2015L1.70485%2018.9971C0.998111%2019.4129%200.118918%2018.8481%200.203121%2018.0325L0.811331%2012.1412C0.85993%2011.6705%201.23186%2011.2983%201.70256%2011.2493L8.21533%2010.5717C9.32302%2010.4565%209.44138%208.88961%208.36357%208.60928L1.54478%206.83574C1.15164%206.73349%200.859426%206.40357%200.805392%206.00096L0.27339%202.03702C0.162447%201.21039%201.05263%200.619195%201.77152%201.04207Z%22%20fill%3D%22white%22%2F%3E%0A%3C%2Fsvg%3E%0A') !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  transition: background-color 0.2s;
}

.bpw-send-button:not(:disabled):hover {
  background-color: var(--theme-primary-hover);
}