@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
/* @import url('https://fonts.googleapis.com/css?family=Material+Icons&display=swap'); */
@import url('https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Two+Tone|Material+Icons+Round|Material+Icons+Sharp&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@100;200;300;400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Prompt', sans-serif;
  /* font-family: 'Poppins', sans-serif; */
}

body {
  background: none !important
}

a {
  color: #333;
}

a:focus,
a:hover {
  color: #1c60a8;
  text-decoration: none;
}

.footer-wrap a {
  color: #90840e;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  color: #fff;
  background: #d97f41;
}

::-webkit-scrollbar {
  width: 3px;
  border-radius: 25px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #ddd;
}

::-webkit-scrollbar-thumb:hover {
  background: #ccc;
}

.wrapper.card {
  position: relative;
  /* width: 400px;
    max-width:100%;
    max-height: calc(100% - 40px);
    height: 700px; 
    -webkit-box-shadow: rgba(0,0,0,.25) 0 4px 5px;
    box-shadow: 0 4px 5px rgba(0,0,0,.25);
    border-radius: 15px;*/
  width: 100%;
  height: 100%;
  overflow: hidden;
}

@media (max-width:767px) {
  .wrapper.card {
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}

.wrapper .title {
  background: #F8B3C1;
  color: #333;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  /* text-align: center; */
  position: relative;
  border: 0;
  padding-left: 80px;
  /* border-bottom: 2px solid #1c60a8; */
}

.wrapper .title small {
  font-size: 13px;
}

.title .avatar {
  position: absolute;
  top: 8px;
  left: 15px;
  height: 50px;
  width: 50px;
}

.title .avatar img {
  border-radius: 50%;
  border: 2px solid #FFF;
}

.wrapper .form {
  padding: 10px 10px;
  height: 400px;
}

.card-body.chatbot {
  background: #fff;
  /* height: 400px; */
  height: 371px;
  overflow: auto;
  padding: 15px 15px;
  .chatLogin {
    height: calc(100vh-66px);
  }
}

.wrapper .card-body.chatbot .inbox {
  width: 100%;
  position: relative;
  /* max-height: 100%; */
  overflow-y: auto;
}

.wrapper .form .bot-inbox {
  margin: 13px 0;
}

.wrapper .form .user-inbox {
  justify-content: flex-end;
  margin: 13px 0;
  text-align: right;
}

.wrapper .form .user-inbox .bg-light {
  background: #FDF5FC !important;
  max-width: 90%;
  color: #000;
  display: inline-flex;
  -moz-box-align: center;
  align-items: center;
  flex-direction: column;
  border-radius: 8px 0px 8px 8px;
  padding: 6px 12px;
}

/* .wrapper .form .user-inbox .bg-light.staff-msg{background: #444 !important;}
.wrapper .msg-header .user-inbox .bg-light.staff-msg{background: #444 !important;} */
.wrapper .form .user-inbox .bg-light a {
  color: #fff;
}

.wrapper .form .user-inbox .bg-light.content-img {
  background: rgb(234, 238, 243) !important;
}

.wrapper .card-body.chatbot .inbox .icon {
  height: 32px;
  width: 32px;
  color: #fff;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  font-size: 18px;
  position: absolute;
  top: 0px;
  left: 0px;

}

.wrapper .card-body.chatbot .inbox .icon .material-icons {
  line-height: 32px
}

.wrapper .card-body.chatbot .inbox .msg-header {
  max-width: 100%;
  margin-left: 0px;
  padding-left: 40px;
  overflow: hidden;
}

.wrapper .card-body.chatbot .bot-inbox.inbox .msg-header .msg-bot {
  max-width: 100%;
  margin-left: 0px;
  padding: 10px;
  border-radius: 0px 8px 8px;
  border-color: #EEF4F6;
  background-color: #EEF4F6;
  color: #000;
  display: inline-block;
  margin-bottom: 10px;
  overflow: hidden;
}

.wrapper .card-body.chatbot .bot-inbox.inbox .msg-header .msg-bot ol {
  margin-left: 15px
}

.wrapper .card-body.chatbot .bot-inbox.inbox .msg-header .staff-msg {
  max-width: 100%;
  margin-left: 0px;
  padding: 10px;
  border-radius: 0px 8px 8px;
  border-color: #EEF4F6;
  background-color: #EEF4F6;
  color: #000;
  display: inline-block;
  margin-bottom: 10px;
  overflow: hidden;
}

.wrapper .card-body.chatbot .bot-inbox.inbox .msg-header .staff-msg ol {
  margin-left: 15px
}

.msg-header .chatname {
  font-size: 14px;
  font-weight: 300;
  padding: 5px 0;
}


.card-body.chatbot .inbox .msg-header p {
  color: #fff;
  background: #005ca1;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 14px;
  word-break: break-all;
}

.card-body.chatbot .user-inbox .msg-header p {
  color: #333;
  background: #efefef;
}

.wrapper .typing-field {
  display: block;
  min-height: 60px;
  width: 100%;
  align-items: center;
  justify-content: space-evenly;
  background: #fff;
  border-top: 1px solid #d9d9d9;
  border-radius: 0 0 5px 5px;
  position: relative;
  padding: 10px 10px;
  padding-bottom: 0;
}

.typing-input-body {
  display: flex;
}

.footer-typing {
  font-size: 13px;
}

.footer-typing .btn-link {
  color: #fff;
}

.btn-file-img {
  transform: rotate(0deg);
}

.wrapper .typing-field .input-data {
  height: 40px;
  width: 100%;
  position: relative;
  margin-left: 70px;
}

.wrapper .typing-field .input-data input {
  height: 40px;
  width: 100%;
  outline: none;
  border: 1px solid transparent;
  padding: 0 35px 0 15px;
  border-radius: 3px;
  font-size: 15px;
  background: #fff;
  transition: all 0.3s ease;
}

.typing-field .input-data input:focus {
  border-color: rgba(0, 123, 255, 0.8);
}

.input-data input::placeholder {
  color: #999999;
  transition: all 0.3s ease;
}

.input-data input:focus::placeholder {
  color: #bfbfbf;
}

.wrapper .typing-field .input-data button {
  position: absolute;
  right: 5px;
  top: 50%;
  height: 30px;
  width: 60px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  outline: none;
  opacity: 1;
  pointer-events: none;
  border-radius: 3px;
  background: #d97f41;
  border: 1px solid #d97f41;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.wrapper .typing-field .input-data input:valid~button {
  opacity: 1;
  pointer-events: auto;
}

.wrapper .typing-field .input-data button#send-btn-1 {
  position: absolute;
  right: 70px;
  top: 50%;
  height: 30px;
  width: 40px;
}

.wrapper .typing-field .input-data button#send-btn-2 {
  position: absolute;
  right: 115px;
  top: 50%;
  height: 30px;
  width: 40px;
}

.wrapper .typing-field .input-data button#send-btn-3 {
  position: absolute;
  right: 160px;
  top: 50%;
  height: 30px;
  width: 40px;
}

.wrapper .btn-close {
  margin-top: 5px;
  margin-right: 5px;
  position: absolute;
  top: 0px;
  right: 0px;
}

.wrapper .btn-close .btn-link {
  color: #333;
}

.typing-field .input-data button:hover {
  background: #006fef;
}



.input-emoji-body {
  position: absolute;
  top: 5px;
  right: 5px;
}

.chat-auth {
  margin-top: 10px;
}

.chat-auth-choose .auth-btn,
.chat-auth-form .form-btn {
  display: block;
  width: 100%;
  border-radius: 5px;
  padding: 8px 0;
  margin: 10px 0;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
}

.chat-auth-choose .auth-member,
.chat-auth-form .form-submit-btn {
  background-color: #ed3e8a !important;
  color: #FFF;
  border: 1px solid #ed3e8a !important;
}

.chat-auth-choose .auth-member:hover,
.chat-auth-form .form-submit-btn:hover {
  background-color: #e74d90 !important;
  border: 1px solid #e74d90 !important;
}

.chat-auth-choose .auth-guest,
.chat-auth-form .form-reset-btn {
  background-color: #F2F2F2;
  color: #333;
  border: 1px solid #CCC;
}

.chat-auth-choose .auth-guest:hover,
.chat-auth-form .form-reset-btn:hover {
  background-color: #EDEDED;
}

/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
  color: white;
  border: none;
  cursor: pointer;
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 60px;
  height: 60px;
}

/* The popup chat - hidden by default */
/* .chat-popup {
  display: none;
  position: fixed;
  bottom:15px;
  right: 15px;
  width: 100%;
  border: 0px solid #f1f1f1;
  z-index: 9;
}
@media (max-width:767px) {
  .chat-popup {
    bottom: 0px;
    right: 0px;
    top: 0;
    }
} */

/* Set a style for the submit/send button */
.form-container .btn {
  background-color: #4CAF50;
  color: white;
  padding: 16px 20px;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
  opacity: 0.8;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

.footer-poweredby {
  background: #eee;
  padding: 10px 0;
  text-align: center;
  color: #999;
  font-size: 13px;
}

.chatbot-status {
  display: block;
  font-weight: normal;
  font-size: 13px;
}

.chatbot-status i {
  font-size: 10px;
  color: #4CAF50;
}

.avatar-status {
  border-radius: 100%;
  position: absolute;
  bottom: 7%;
  right: 7%;
  display: block;
  width: 16%;
  height: 16%;
  background: rgb(105, 222, 64);
}

.btn-file-body {
  position: absolute;
  top: 11px;
  left: 5px;
}

.btn-file-body .btn-link{
  width: 35px;
  padding-left: 0px;
  padding-right: 0px;
}

.btn-file-body .dropdown-menu {
  min-width: 200px;
  border-color: rgba(0, 0, 0, 0.2);
  border: none;
  background-color: #F8B3C1;
  color: #000;
  border-radius: 10px;
  padding: 0;
  top: 10px;
  left: 5px !important;
  overflow: hidden;
}

.btn-file-body .dropdown-menu .btn-file-img {
  border: 0;
  background: none;
  width: 100%;
  padding: 5px 10px;
  line-height: 30px;
  cursor: pointer;
  text-align: left;
}

.btn-file-body .dropdown-menu .btn-file-img:hover {
  background-color: #f79bad;
}

.btn-link {
  color: #F8B3C1;
}

.btn-link.active,
.btn-link:hover {
  color: #EE3E8A;
  text-decoration: none;
  background-color: #FFF;
  border-color: #FFF;
}

.btn-icon .material-icons {
  line-height: 0;
  position: relative;
  top: 7px;
}

#btnsubmit.btn-primary {
  color: #fff;
  background-color: #b9830d;
  border-color: #b9830d;
}

#btnsubmit.btn-primary:hover,
#btnsubmit.btn-primary:focus {
  color: #fff;
  background-color: #EEBC42;
  border-color: #EEBC42;
}

#list_user img {
  width: 32px;
  height: 32px;
  top: 15px;
}

.notification-list #list_user li a {
  padding-left: 55px;
}

.tab-w-table table {
  width: 100%
}

/* .chat-datetime{font-size: 11px; position:absolute; bottom:0; right: 0; color: #333 !important;} */
.chat-datetime {
  color: #999 !important;
}



/* Bootstrap */

textarea:focus,
input:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {
  outline: none !important;
  box-shadow: none !important;
}

/**/

.btn-close-modal {
  border: 0;
  color: #999;
  background-color: #FFF;
  border-color: #FFF;
}

.btn-pink4 {
  color: #FFFFFF;
  background-color: #EE3E8A;
  border-color: #EE3E8A;
}

.btn-pink4:hover {
  color: #FFFFFF;
  background-color: #D52D75;
  border-color: #D52D75;
}

.btn-pink4:focus,
.btn-pink4.focus {
  box-shadow: none;
}

.btn-pink4.disabled,
.btn-pink4:disabled {
  color: #FFFFFF;
  background-color: #AAAAAA;
  border-color: #AAAAAA;
}

.btn-pink4:not(:disabled):not(.disabled):active,
.btn-pink4:not(:disabled):not(.disabled).active,
.show>.btn-pink4.dropdown-toggle {
  color: #FFFFFF;
  background-color: #EE3E8A;
  border-color: #EE3E8A;
}

.btn-pink4:not(:disabled):not(.disabled):active:focus,
.btn-pink4:not(:disabled):not(.disabled).active:focus,
.show>.btn-pink4.dropdown-toggle:focus {
  box-shadow: none;
}

/**/
.btn-gray {
  color: #333;
  background-color: #F2F2F2;
  border-color: #F2F2F2;
}

.btn-gray:hover {
  color: #333;
  background-color: #EDEDED;
  border-color: #EDEDED;
}

.btn-gray:focus,
.btn-gray.focus {
  box-shadow: none;
}

.btn-gray.disabled,
.btn-gray:disabled {
  color: #CCC;
  background-color: #AAAAAA;
  border-color: #AAAAAA;
}

.btn-gray:not(:disabled):not(.disabled):active,
.btn-gray:not(:disabled):not(.disabled).active,
.show>.btn-gray.dropdown-toggle {
  color: #CCC;
  background-color: #F2F2F2;
  border-color: #F2F2F2;
}

.btn-gray:not(:disabled):not(.disabled):active:focus,
.btn-gray:not(:disabled):not(.disabled).active:focus,
.show>.btn-gray.dropdown-toggle:focus {
  box-shadow: none;
}

/**/
.btn-outline-gray {
  color: #333;
  background-color: #F2F2F2;
  border-color: #CCC;
}

.btn-outline-gray:hover {
  color: #333;
  background-color: #F2F2F2;
  border-color: #666;
}

.btn-outline-gray:focus,
.btn-outline-gray.focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-outline-gray.disabled,
.btn-outline-gray:disabled {
  color: #666;
  background-color: transparent;
}

.btn-outline-gray:not(:disabled):not(.disabled):active,
.btn-outline-gray:not(:disabled):not(.disabled).active,
.show>.btn-outline-gray.dropdown-toggle {
  color: #333;
  background-color: #F2F2F2;
  border-color: #CCC;
}

.btn-outline-gray:not(:disabled):not(.disabled):active:focus,
.btn-outline-gray:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-gray.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.5);
}


.btn-outline-pink {
  color: #EE3E8A;
  border-color: #EE3E8A;
  background-color: #FFF;
}

.btn-outline-pink:hover {
  color: #FFF;
  background-color: #EE3E8A;
  border-color: #EE3E8A;
}

.btn-outline-pink:focus,
.btn-outline-pink.focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-outline-pink.disabled,
.btn-outline-pink:disabled {
  color: #EE3E8A;
  background-color: transparent;
}

.btn-outline-pink:not(:disabled):not(.disabled):active,
.btn-outline-pink:not(:disabled):not(.disabled).active,
.show>.btn-outline-pink.dropdown-toggle {
  color: #212529;
  background-color: #EE3E8A;
  border-color: #EE3E8A;
}

.btn-outline-pink:not(:disabled):not(.disabled):active:focus,
.btn-outline-pink:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-pink.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(238, 62, 138, 0.5);
}

/**/

.btn-outline-red {
  color: #810304;
  border-color: #810304;
  background-color: #FFF;
}

.btn-outline-red:hover {
  color: #FFF;
  background-color: #a90303;
  border-color: #a90303;
}

.btn-outline-red:focus,
.btn-outline-red.focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-outline-red.disabled,
.btn-outline-red:disabled {
  color: #666;
  background-color: transparent;
}

.btn-outline-red:not(:disabled):not(.disabled):active,
.btn-outline-red:not(:disabled):not(.disabled).active,
.show>.btn-outline-red.dropdown-toggle {
  color: #FFF;
  background-color: #810304;
  border-color: #810304;
}

.btn-outline-red:not(:disabled):not(.disabled):active:focus,
.btn-outline-red:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-red.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(238, 62, 62, 0.5);
}

/**/

.btn-outline-yellow {
  color: #b9830d;
  border-color: #b9830d;
  background-color: #FFF;
}

.btn-outline-yellow:hover {
  color: #FFF;
  background-color: #eebc42;
  border-color: #eebc42;
}

.btn-outline-yellow:focus,
.btn-outline-yellow.focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
}

.btn-outline-yellow.disabled,
.btn-outline-yellow:disabled {
  color: #666;
  background-color: transparent;
}

.btn-outline-yellow:not(:disabled):not(.disabled):active,
.btn-outline-yellow:not(:disabled):not(.disabled).active,
.show>.btn-outline-yellow.dropdown-toggle {
  color: #FFF;
  background-color: #b9830d;
  border-color: #b9830d;
}

.btn-outline-yellow:not(:disabled):not(.disabled):active:focus,
.btn-outline-yellow:not(:disabled):not(.disabled).active:focus,
.show>.btn-outline-yellow.dropdown-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(238, 62, 62, 0.5);
}

/**/

.staff-msg .product-list,
.msg-bot .product-list {
  height: 280px;
  white-space: nowrap;
  /*Prevents Wrapping*/
  overflow-x: scroll;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.staff-msg .product-list.product-barcode,
.msg-bot .product-list.product-barcode {
  height: 250px;
  white-space: nowrap;
  /*Prevents Wrapping*/
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.staff-msg .product-list a,
.msg-bot .product-list a {
  display: inline-block;
  /*Display inline and maintain block characteristics.*/
  vertical-align: top;
  /*Makes sure all the divs are correctly aligned.*/
  white-space: normal;
  /*Prevents child elements from inheriting nowrap.*/
  width: 160px;
  height: 260px;
  margin: 5px;
  text-align:center;
  border-radius:10px;
  cursor: pointer !important;
}

.staff-msg .product-list a img,
.msg-bot .product-list a img {
  width: 160px !important;
  height: 150px !important;
}

.staff-msg .product-list a label,
.msg-bot .product-list a label {
  width: 160px !important;
  height: 15px !important;
  font-size: 16px;
}

.staff-msg .product-list a span,
.msg-bot .product-list a span {
  width: 160px !important;
  height: 15px !important;
  font-size: 14px;
}

.staff-msg .product-list a button,
.msg-bot .product-list a button {
  width: 160px !important;
  height: 40px !important;
  background-color: #ea088d;
  border-color: #ea088d;
  color: #fff;
}

.web_file,
.web_sticker,
.line_file,
.line_sticker,
.fb_file,
.fb_sticker {
  max-width: 250px !important;
}

#chat_loading{
  position: fixed;
  top: 66px;
  left: 0;
  background: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: calc(100% - 66px);
  text-align: center;
  z-index: 9999;
  padding-top: 150px;
  font-size: 20px;
  color: #fff;
}
#chat_loading .text-loading{
  position: relative;
}
#chat_loading .text-loading {
    animation: loading 3s infinite;
}
@keyframes loading {
    0% {
        color: #fff;
    }
    50% {
        color: #EE3E8A;
    }
    100% {
        color: #fff;
    }
}