/**
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License version 3.0
* that is bundled with this package in the file LICENSE.txt
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade this module to a newer
* versions in the future. If you wish to customize this module for your needs
* please refer to CustomizationPolicy.txt file inside our module for more information.
*
* @author Webkul IN
* @copyright Since 2010 Webkul
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License version 3.0
*/
.wk-chatbot-pop-up-right {
  right: 2rem;
}

.wk-chatbot-pop-up-left {
  left: 2rem;
}

.wk-chatbot-open-button {
  position: fixed;
  bottom: 2rem;
  bottom: 2rem;
  color: white;
  border: none;
  border-radius: 50%;
  height: 4rem;
  width: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
  z-index: 99999;
}

.wk-chatbot-open-button:focus {
  outline: none;
}

.wk-chatbot-popup {
  padding: 0px !important;
  display: none;
  position: fixed;
  bottom: 2rem;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 0.4rem 0.8rem rgba(0, 0, 0, 0.2);
  z-index: 99999999 !important;
  width: 24rem;
  max-width: 24rem;
}

.wk-chatbot-form-body {
  padding: 1.5rem;
  min-height: 28rem;
  max-height: 28rem;
  overflow-y: auto;
}

.wk-chatbot-main-container {
  background-color: white;
  border-radius: 1rem;
}

.wk-chatbot-header {
  color: white;
  padding: 1rem;
  border-radius: 1rem 1rem 0 0;
  justify-content: space-between;
  align-items: center;
}

.chat-modal-toggles {
  float: right;
  gap: 8px;
  line-height: 40px;
}

#wkChatToggleIcon {
  margin-right: 10px;
  font-size: 18px;
}

.wk-chatbot-close {
  cursor: pointer;
}

.wk-chatbot-btn {
  border: none;
  outline: none !important;
  color: white;
}

.wk-form-wrapper {
  display: flex;
}

.wk-login-form-group {
  margin-top: 0.5rem;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .wk-chatbot-popup {
    width: 20rem !important;
  }

  .wk-form-wrapper {
    flex-direction: column;
  }

  #wkLoginForm {
    display: block;
  }
}

.wk-form-title {
  margin-top: 2.5rem;
  font-size: 1rem;
  text-align: center;
  font-weight: 600;
  color: #000000;
}

.wk-signup-button {
  margin-bottom: 0.8rem;
  text-align: center;
}

.wk-signup-button button {
  margin: 0 auto;
  display: block;
}

#wk-chatbot-error {
  display: none;
}

.wk-chat-interface {
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 0.0625rem solid #ddd;
  background-color: #fff;
}

.wk-chat-messages {
  min-height: 25rem;
  max-height: 25rem;
  overflow-y: auto;
  padding: 0.625rem;
  flex: 1;
  border-bottom: 0.0625rem solid #ddd;
  scroll-behavior: smooth;
}

.wk-chat-messages::-webkit-scrollbar {
  width: 0.375rem;
}

.wk-chat-messages::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 0.1875rem;
}

.wk-chat-messages::-webkit-scrollbar-track {
  background-color: transparent;
}

.wk-chat-message {
  flex-direction: column;
}

.wkchatbotuser {
  align-self: flex-end;
  text-align: right;
  float: right;
  max-width: 80%;
  word-wrap: break-word;
  clear: both;
  margin-bottom: 0.5rem;
}

.wkchatbotuser .wk-msg-custom-css {
  font-size: 14px;
  border-radius: 0.5rem 0.5rem 0 0.5rem;
  word-wrap: break-word;
  text-align: left;
  padding: 0.5rem;
  display: inline-block;
  max-width: 100%;
  min-width: 3rem;
}

.wkchatbotassistance {
  align-self: flex-start;
  text-align: left;
  float: left;
  max-width: 80%;
  word-wrap: break-word;
  clear: both;
  margin-bottom: 0.5rem;
}

.wkchatbotassistance .wk-msg-custom-css {
  font-size: 14px;
  border-radius: 0.5rem 0.5rem 0.5rem 0;
  word-wrap: break-word;
  text-align: left;
  padding: 0.5rem;
  display: inline-block;
  max-width: 100%;
  min-width: 3rem;
}

.wk-chat-time {
  font-size: 0.75rem;
  margin-top: 0.25rem;
  color: #6c757d;
}

.wk-date-label {
  max-width: 100%;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  clear: both;
  text-align: center;
  font-weight: bold;
  color: #6c757d;
}

.wk-chat-input-container {
  display: flex;
  align-items: center;
  padding: 10px;
  position: relative;
  gap: 8px;
}

.wk-chat-input {
  flex: 1;
  padding: 0.5rem;
  border: none;
  font-size: 1rem;
  resize: none;
  overflow: hidden;
  min-height: 2rem;
  max-height: 10rem;
}

.wk-chat-send-btn {
  padding: 0.5rem;
  margin-left: 8px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  height: 2.5rem;
  outline: none;
}

.wk-chat-send-btn:focus {
  outline: none;
}

.wk-chat-input:focus {
  border: none;
  border-radius: none;
  outline: none;
}

.wk-chat-copy-btn {
  margin-top: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: #6c757d;
  background-color: transparent;
  border: none;
  cursor: pointer;
  align-self: flex-end;
}

.wk-chat-copy-btn:focus {
  border: none;
  outline: none;
  border-radius: none;
}

.wk-chat-copy-btn-icon {
  font-size: 0.75rem !important;
}

.wk-chat-copy-btn-success-icon {
  font-size: 1rem !important;
}

.wk-chatbot-form-body::-webkit-scrollbar {
  width: 0.375rem;
}

.wk-chatbot-form-body::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 0.1875rem;
}

.wk-chatbot-form-body::-webkit-scrollbar-track {
  background-color: transparent;
}

.wk-profile-image-container {
  float: left !important;
  margin-right: 10px;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.wk-profile-image {
  border-radius: 50%;
}

.wk-chatbot-name {
  margin: 0 !important;
  line-height: 40px;
  display: inline-block;
}

.wk-status-icon {
  position: absolute;
  margin-top: 1.4rem;
  margin-left: -0.4rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.wk-green-icon {
  background-color: green;
}

.wk-yellow-icon {
  background-color: yellow;
}

.wk-gray-icon {
  background-color: gray;
}

.wk-chat-bot-loader {
  gap: 4px;
  border-top: 1px solid #e1e7ef;
  display: flex;
  align-items: center;
}

.wk-load {
  display: flex;
  border-radius: 50%;
  flex-direction: row;
}

.wk-progress {
  width: 1em;
  height: 1em;
  margin: 0.2em;
  scale: 0;
  border-radius: 50%;
  animation: loading_animation_chatbot 2s ease infinite;
  animation-delay: 500ms;
}

@keyframes loading_animation_chatbot {
  50% {
    scale: 1;
  }
}

.wk-progress:nth-child(2) {
  animation-delay: 1.3s;
}

.wk-progress:nth-child(3) {
  animation-delay: 1.7s;
}

#wk-chat-loader {
  display: none;
  width: 100%;
}

#wk-chat-loader-msg,
#wkChatMessagesError_1,
#wkChatMessagesError_2 {
  display: none;
}

.wk-chat-loader-msg {
  z-index: 99999 !important;
  margin-top: 11rem;
  text-align: center !important;
  position: absolute;
  width: 100%;
}

.wk-chat-msg-error {
  z-index: 99999 !important;
  margin-top: 11rem;
  text-align: center !important;
  position: absolute;
  width: 100%;
}

.wk-triangle-right.left {
  margin-right: auto;
  background: #eeeeee;
  left: 0px;
  max-width: 256px;
  border-radius: 0 16px 16px 16px;
}

.wk-triangle-right {
  position: relative;
  padding: 12px;
  width: fit-content;
  color: #fff;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 5px;
}

.wk-triangle-right.right {
  margin-left: auto;
  background: #e8eaf6;
  right: 0px;
  max-width: 284px;
  border-radius: 16px 16px 0 16px;
}

.wk-triangle-right.right h5 {
  color: #ffffff !important;
}

.wk-center-loader {
  margin: 0 40%;
}

#wk_start_chat_loader {
  display: none;
}

.wk-chat-bot-offline {
  display: flex;
  justify-content: center;
  border-radius: 1rem;
  background-color: #ffffff;
  font-weight: bold;
  text-align: center;
  min-height: 28.9rem;
  max-height: 28.9rem;
  padding: 1rem;
}

.wk-success-alert {
  opacity: 1 !important;
  text-align: center;
  border-radius: 10px;
  display: none;
}

#wk-login-email-error,
#wk-login-pass-error,
#wk-login-msg-error {
  display: none;
}

.wk-ps-registration {
  text-align: center;
}

.wk-ps-registration-link {
  text-decoration: none;
}

.wk-ps-registration-link:link {
  text-decoration: none;
}

.wk-ps-registration-link:visited {
  text-decoration: none;
}

.wk-ps-registration-link:hover {
  text-decoration: none;
}

.wk-ps-registration-link:active {
  text-decoration: none;
}

.wk-offline-chat-dp {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.wk-chatbot-report-form-body {
  padding: 1.5rem;
  min-height: 28rem;
  max-height: 28rem;
  overflow-y: auto;
}

.wk-chatbot-report-form-body::-webkit-scrollbar {
  width: 0.375rem;
}

.wk-chatbot-report-form-body::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 0.1875rem;
}

.wk-chatbot-report-form-body::-webkit-scrollbar-track {
  background-color: transparent;
}

.wk-blur {
  filter: blur(5px);
  pointer-events: none;
}

.wk-success-msg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
