:root {
  --taupe-blue: #41c5c9;
  --night-grey: #5e686a;
  --light-grey: #a9a9a9;
  --white: #ffffff;
  --light-linear-grey: linear -
    gradient(
      90deg,
      rgba(255, 0, 255, 1) 0 %,
      rgba(0, 255, 255, 1) 35 %,
      rgba(255, 255, 0, 0) 50 %
    );
  --main-font-family: Lato,Helvetica,sans-serif;
}

/* width */
::-webkit-scrollbar {
  width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #888; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

/* If the chat icon needs color adjustments */
.chat-icon {
  filter: none; /* Remove the filter if you want to show the icon's natural color */
}

/* If there are any other specific elements that need color adjustments, add them here */

body {
  margin: 0;
  padding: 0;
  font-family: var(--main-font-family);
  background-color: #f4f4f4;
  line-height: 1.5 !important;
  letter-spacing: 0.2px !important;
  word-spacing: 0.1px;
}
p {
  font-family: var(--main-font-family);
  font-size: 14px;
}

ol {
  font-family: var(--main-font-family);
  font-size: 14px;
}
/* h1 {
  margin: 0;
  font-size: 15px;
  line-height: 1;
} */
button {
  color: inherit;
  background-color: transparent;
  border: 0;
  outline: 0 !important;
  cursor: pointer;
}

button.chatbox-open {
  position: fixed;
  bottom: 15px;
  right: 15px;
  cursor: pointer;
  border-radius: 50%;
  border: solid 1px #41c5c9;
  width: 85px;
  height: 85px;
  background-color: rgb(65, 197, 201, 0.2); /* #41c5c9 */
  /* BOX SHADOW */
  box-shadow: 35px 35px 70px #797979, -35px -35px 70px #ffffff;
}

.chatbox-open img {
  filter: drop-shadow(0px 0px 5px rgba(0, 0, 0, 0.15));
}
button.chatbox-close {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 52px;
  height: 52px;
  color: #fff;
  background-color: #0360a5;
  background-position: center center;
  background-repeat: no-repeat;
  box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.15);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  margin: 16px calc(2 * 16px + 52px) 16px 16px;
}
textarea {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 calc(16px / 2);
  font-family: inherit;
  font-size: 16px;
  line-height: calc(16px + 16px / 2);
  color: #888;
  background-color: none;
  border: 0;
  outline: 0 !important;
  resize: none; /* Disable manual resizing */
  overflow: hidden;
  min-height: calc(16px + 16px / 2); /* Minimum height */
}

textarea::placeholder {
  color: var(--night-grey); /* Changed */
}
.chatbox-popup {
  display: flex;
  position: absolute;
  box-shadow: 5px 5px 25px 0 rgba(46, 61, 73, 0.2);
  flex-direction: column;
  display: none;
  bottom: calc(2 * 16px + 85px);
  right: 16px;
  width: 100%;
  max-width: 600px;
  height: auto;
  background-color: var(--white); /* Changed */
  border-radius: 16px;
}
.chatbox-popup .chatbox-popup__header {
  font-family: var(--main-font-family);
  font-weight: 100;
  box-sizing: border-box;
  display: flex;
  width: 100%;
  padding: 5px;
  color: rgb(251, 245, 245);
  /*background: linear-gradient(-225deg,  #0bceb749 0%,  #0bceb785 51%, #0bceb8 100%);*/
  background: var(--taupe-blue); /* Changed gradient to single color */
  align-items: center;
  justify-content: space-around;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
}
/*.chatbox-popup .chatbox-popup__header .chatbox-popup__avatar {
  margin-top: -32px;
  background-color: var(--night-grey); 
  border: 5px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
}*/

.chatbox-popup .chatbox-popup__header .chatbox-popup__avatar {
  background-color: var(--white);
  border-radius: 50%;
  height: 75px;
  width: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chatbox-popup .chatbox-popup__main {
  box-sizing: border-box;
  width: 100%;
  padding: calc(2 * 16px) 16px;
  line-height: calc(16px + 16px / 2);
  color: var(--night-grey); /* Changed */
  height: 450px;
  overflow-y: auto;

  
}

/*.chatbox-popup__main::before {*/
/*  content: "";*/
/*  position: absolute;*/
/*  top: 35%;*/
/*  left: 50%; */
/*  transform: translate(*/
/*    -50%,*/
/*    -50%*/
/*  );  */
/*  background-image: url("images/Logo.png");*/
/*  background-repeat: no-repeat;*/
/*  width: 200px;*/
/*  height: 250px;*/
/*  background-size: contain;*/
/*  opacity: 0.05;*/
/*}*/

.chatbox-popup .chatbox-popup__footer {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  padding: 16px;
  border-top: 1px solid var(--light-grey); /* Changed */
  align-items: center;
  justify-content: space-around;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
}
.chatbox-panel {
  display: flex;
  position: absolute;
  box-shadow: 5px 5px 25px 0 rgba(46, 61, 73, 0.2);
  flex-direction: column;
  display: none;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background-color: #fff;
}
.chatbox-panel .chatbox-panel__header {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  padding: 0 20px;
  color: white;
  /*background: linear-gradient(-225deg, #473b7b 0%, #3584a7 51%, #30d2be 100%);*/
  background: var(--taupe-blue); /* Changed gradient to single color */
  align-items: center;
  /* justify-content: space-around; */
  flex: 0 0 auto;
}
.chatbox-panel .chatbox-panel__main {
  box-sizing: border-box;
  width: 100%;
  padding: calc(2 * 16px) 16px;
  line-height: calc(16px + 16px / 2);
  /*color: #888;*/
  color: var(--night-grey); /* Changed */
  flex: 1 1 auto;
  overflow-y: auto;
  
    background-image: linear-gradient(rgba(255,255,255, 0.7), rgba(255,255,255, 0.7)),  url("images/Logo.png");
  background-position: center center;
  background-size:  150px auto;
  background-repeat: no-repeat;
}


.chatbox-panel .chatbox-panel__footer {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  padding: 16px;
  border-top: 1px solid var(--light-grey); /* Changed */
  align-items: center;
  justify-content: space-around;
  flex: 0 0 auto;
}

.chatDiv {
  position: absolute;
  bottom: 25px;
  right: 25px;
}

/* Styling for the Chat Icon */
.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

/* Styling for the Live Chat Widget */
.live-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column-reverse; /* Reverse order of chat body */
  overflow: hidden;
}

/* Rest of the CSS remains the same */

.live-chat .chat-header {
  background-color: var(--taupe-blue); /* Changed */
  padding: 8px;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.live-chat .chat-body {
  padding: 10px;
}

.live-chat .messages {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.live-chat input[type="text"],
.live-chat button {
  padding: 8px;
  margin-bottom: 5px;
  display: block;
  width: calc(100% - 16px);
}

.live-chat input[type="text"] {
  border: 1px solid #ccc;
  border-radius: 3px;
}

.live-chat button {
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

/* Hidden by default */
.live-chat.closed {
  transform: translateX(100%);
  flex-direction: column; /* Restore normal order when closed */
}

.pageContent {
  display: grid;
  place-items: center;
  height: 100vh;
  width: 100%;
  background-color: #f4f4f4;
}

.pageContent p {
  font-size: 42px;
  font-weight: bold;
  color: #121212;
}
#requestResponse {
  font-size: 14px;
}

.chatbox-maximize,
.chatbox-panel-close {
  margin-right: 15px;
  color: white;
}

/* Message bubbles or other chat elements that need new colors */
.message-bubble {
  background-color: var(
    --night-grey
  ); /* Example for message bubble background */
  color: var(--white); /* Example for message bubble text */
}

/* Any other specific elements that need color adjustments */
.other-element {
  background-color: var(--taupe-blue); /* Example for other elements */
  color: var(--night-grey); /* Example for other element text */
}

.qSuggest {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: left;
  align-items: flex-end;
  align-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.qSuggest span {
  border: 1px solid rgb(200, 200, 200); /* Changed */
  border-radius: 15px;
  padding: 5px;
  /*make a gradident bakground-color based on the color of the chatbox */
  background-color: white;
  font-size: 12px;
  color: #121212;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  font-family: var(--main-font-family);
}

.qSuggest span:hover {
  background-color: var(--night-grey); /* Changed */

  color: white;
}

/* Adjust the position for larger width */
.chatbox-popup,
.chatbox-panel {
  width: 100%;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 600px) {
  .chatbox-popup,
  .chatbox-panel {
    width: calc(100%); /* Full width with some margin */
  }
}

.chatbox-panel__avatar {
  /* margin-top: -32px; */
  background-color: white;
  /* border: 5px solid rgba(0, 0, 0, 0.1); */
  border-radius: 50%;
  height: 90px;
  width: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px;
}
.chatbox-panel__avatar img {
  height: 60px;
  width: 60px;
  object-fit: contain;
}
.requestPara--container {
  display: flex;
  justify-content: flex-end;
}
.requestPara {
  background: var(--taupe-blue);
  padding: 7.5px 15px;
  color: white;
  border-radius: 10px 10px 0 10px;
  display: inline-block;
  margin: 20px 0px;
  max-width: 90%;
}


.responsePara--container{
  display: flex;
  justify-content: flex-start;
  margin: 10px 0px;
}
.responsePara {
  box-shadow: 3px 2px 9px 0px lightgray;
  background: white;
  padding: 7.5px 15px;
  color: var(--taupe-blue);
  border-radius: 10px 10px 10px 0;
  display: inline-block;
  width: fit-content;
  max-width: 80%;
}

a{
  color: #008a8e !important;
}

.user-image--container {
  margin: 20px 0px;
}

.user-image--container img {
  width: 36px;
  height: auto;
  margin: 0 5px;
  object-fit: contain;
}
