.chatbox {
  position: fixed;
  width: 400px;
  transition: transform 0.3s ease-in-out, width 0.3s ease-in-out, height 0.3s ease-in-out;
  transform: translateY(100%);
  z-index: 10;
  padding: 0px !important;
  right: 2%;
}

.chatbox.open {
  transform: translateY(0);
  right: 5%;
}

.chatbox.minimized {
  width: 2%;
  transform: translateY(0);
  border-radius: 50%;
  right: 4%;
}

@media (min-width: 991px) {
  .chatbox.open {
    right: 5%;
  }

  .chatbox.minimized {
    right: 4%;
  }
}

@media (min-width: 1024px) {
  .chatbox.open {
    right: 10.5%;
  }

  .chatbox.minimized {
    right: 8%;
  }
}

@media (min-width: 1300px) {
  .chatbox.open {
    right: 10.5%;
  }
  
  .chatbox.minimized {
    right: 8%;
  }
}

@media (min-width: 1600px) {
  .chatbox.open {
    right: 10.5%;
  }

  .chatbox.minimized {
    right: 8%;
  }
}

@media (min-width: 1700px) {
  .chatbox.open {
    right: 8.5%;
  }

  .chatbox.minimized {
    right: 6%;
  }
}

.th-chat-composite .ms-Button--primary{
  background-color: rgb(0, 120, 212) !important;
}

.chatbox.minimized .MuiBox-root {
  border-radius: 50%;
}

.chatbox.minimized .css-wiktkv {
  color: white !important;
}

.chatbox.minimized .css-11ambrc-MuiAvatar-root {
  background-color: white !important;
  color: black !important;
  font-weight: bold;
}

.minimisedChat {
  background-color: #0064D2;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 6px;
  cursor: pointer;
}

.newActiveChat {
  background-color: #F98C0C;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 25px;
  position: relative;
  cursor: pointer;
}

.newchatbotHeader {
  background: #F98C0C;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.activeChatDot {
  position: absolute;
  width: 12px;
  height: 12px;
  top: 6px;
  left: 32px;
  background: #D30821;
  border-radius: 50%;
}

.chatbotHeader {
  background: #0064D2;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  z-index: 20 !important;
}

.leave-session {
  background-color: #ff4d4d;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
}

.chat-error {
  padding: 15px 0px;
  color: red;
}

.chatbotMenu {
  padding: 25px;
}

.chatbot .css-wiktkv {
  color: white !important;
}

.chatbot .css-11ambrc-MuiAvatar-root {
  background-color: white !important;
  color: black !important;
  font-weight: bold;
}

.chatbox .MuiAvatar-circular {
  width: 38px;
  height: 38px;
  background-color: white;
  color: black;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.th-chat-composite {
  width: auto !important;
  height: 500px !important;
  overflow-y: scroll;
}

.th-chat-banner {
  display: none !important;
}

.hideContent{
  display: hide !important;
}

#sendbox {
  height: 60px;
  width: 348px;
  padding: 16px 16px 8px 16px !important;
}

.ms-TextField-wrapper {
  border-radius: 25px;
}

i[data-icon-name="SendBoxSend"] svg path {
  fill: #0064D2;
}

.chatbot textarea {
  font-family: 'Source Sans Pro', sans-serif !important;
  font-size: 16px;
}

.chatbotMenu .MuiIconButton-root {
  color: #ffffff; /* Change the button color to white */
}

.chatbotMenu .MuiIconButton-root img {
  filter: brightness(0) invert(1); /* This filter will change the image color to white */
  width: 24px;
  height: 24px;
}

.chatbotMenu.close .MuiIconButton-root img {
  width: 14px;
  height: 14px;
}

.ms-TextField-fieldGroup {
  border-radius: 25px !important;
}