.btn-enable {
    position: fixed;
    bottom: 45px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #999;
    padding: 10px 0;
    margin-bottom: 0;
}

.btn-enable button {
    width: 90%;
    background-color: #707070;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 4px;
    padding: 10px 0;
    transition: all 0.2s linear;
}

.btn-enable button:hover {
    opacity: 0.6;
}
.JKChatView-chat-message-item-container { 
  margin-bottom: 20px !important;
  margin-top: 20px !important;
}

.js-staff-response .JKChatView-chat-message {
    white-space: normal;
}
.box-chat-end {
    width: 100%;
    display: block;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 30px;
    margin-top: 30px;
}
.box-chat-end::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    height: 1px;
    background: rgb(255,255,255);
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(6,6,6,1) 10%, rgba(0,0,0,1) 90%, rgba(255,255,255,1) 100%);
}
.box-chat-end span {
    color: #000;
    font-size: 1.4rem;
    padding: 0 26px;
    z-index: 1;
    background-color: #fff;
}
.JKChatView-chat-typing-container {
    height: 60px;
    position: absolute;
    margin-left: 0 !important;
    z-index: 10;
    font-size: 12px;
}
  .JKChatView-chat-body .btn-enable {
    position: absolute !important;
    bottom: 60px;
  }
  .JKChatView-chat-message-dialog {
    width: 100%;
  }
  .JKChatView-chat-message-dialog .JKChatView-chat-message {
    overflow-wrap: break-word;
  }

.JKChatView-theme .JKChatView-chat-answer img, .JKChatView-theme .JKChatView-chat-question img{
  max-width: 328px;
}
.td-image{
  width: 100px;
}
#JKChatView-chat-dialog-messages {
  padding-bottom: 10px;
}
.JKChatView-chat-message-user {
  word-break: break-all;
}

.JKChatView-chat-message-item-container:after,.JKChatView-chat-message-item-container:before{
  content: '';
  display: table;
  clear: both;
}
.JKChatView-chat-dialog-container .before-uer-mess{
  height: 0;
}
.JKChatView-chat-message-dialog.JKChatView-chat-question,.JKChatView-chat-message-dialog.JKChatView-chat-answer{
  margin: 0;
}
.JKChatView-chat-message-item-container{
  margin-top: 10px;
  margin-bottom: 10px;
}

.box-chat-end span{
  color: #555;
}
.box-chat-end:before{
  background:linear-gradient(90deg, rgba(255,255,255,1) 0%, #555 10%, #555 90%, rgba(255,255,255,1) 100%);
}
.attach-image{
  position: absolute;
  width: 30px;
  height: 40px;
  border: none;
  background-color: transparent;
  z-index: 999;
  background-size: 16px;
  background-repeat: no-repeat;
  top: 10px;
  left: 10px;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='333.733' height='371.242' viewBox='0 0 333.733 371.242'%3E%3Cpath id='AdobeStock_537167579' d='M130.98,489.357a116.616,116.616,0,0,1,34.392-83L309.983,261.733A90.871,90.871,0,0,1,438.492,390.242L292.45,536.295A59.366,59.366,0,0,1,208.5,452.338h0l86.629-86.628a15.867,15.867,0,0,1,22.451,22.427l-86.652,86.641A27.665,27.665,0,0,0,270.046,513.9l146.03-146.1a59.152,59.152,0,0,0-83.653-83.653L187.8,428.771A85.649,85.649,0,0,0,308.925,549.9L437.281,421.541a15.866,15.866,0,0,1,22.439,22.438L331.364,572.336A117.359,117.359,0,0,1,130.98,489.357Z' transform='translate(-130.98 -235.509)' fill='%23ccc'/%3E%3C/svg%3E%0A");
}
.attach-image ~ .JKChatView-chat-text-area{
  padding-left: 46px;
}
.JKChatView-chat-message-item-container .JKChatView-bot-icon {
  margin-bottom: 5px;
}
.p-bot-icon-name{
  margin: 0;
}
.JKChatView-chat-message-item-container.preview-chat {
  margin-bottom: -10px;
}
div#JKChatView-chat-dialog-messages.is-offline {
  padding-bottom: 60px;
}
.JKChatView-chat-message-item-container.first-message-item-container {
  margin-top: -5px;
}
.JKChatView-chat-message-item-container ~ .box-chat-end{}
.JKChatView-chat-message-dialog.JKChatView-chat-answer{
  background: none!important;
  padding: 0;
}
.JKChatView-chat-message-dialog.JKChatView-chat-answer .JKChatView-chat-message{
  background-color: #ebf2f9;
  padding: 15px;
  border-radius: 0 20px 20px 20px;
  width: auto;
  display: inline-block;
}
#js-staff-loading-item-container {
     position: absolute;
    bottom: 60px;
    left: 0;
    margin-top: 0;
    z-index: 10;
    right: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background: #fff;
    margin-top: 0!important;
    margin-bottom: 0!important;
}
#js-staff-loading-item-container .JKChatView-chat-typing {
  font-size: 12px;
  padding-top: 5px;
  padding-bottom: 5px;
}
#JKChatView-view-loading {
  position: absolute;
  bottom: 60px;
  left: 20px;
  font-size: 13px;
  z-index: 4;
}
#JKChatView-chat-dialog-messages {
  padding-bottom:30px;
}
.is-connect #JKChatView-chat-dialog-messages {
  padding-bottom: 0;
  position: relative;
 z-index: 8;
}
.JKChatView-chat-message-dialog .flex-column.justify-content-around{
  margin-left: 0;
  margin-right: 0;
}
.JKChatView-chat-answer .btn_select:hover{
  opacity: 0.6;
}
.JKChatView-chatter-heading ~ .JKChatView-chat-container .text-menu{
  margin-top: 0;
}
.JKChatView-chat-container .text-menu{
  margin-top: 0;
}
.JKChatView-chat-body.is-typing{
  padding-bottom: 40px;
}
#JKChatView-view-loading p {
  margin-bottom: 6px;
}
@media (max-width: 419px) {
  textarea.JKChatView-chat-text-area{
    font-size: 12px!important;
    padding-top: 22px!important;
  }
  div#JKChatView-chat-dialog-messages{
    font-size: 12px;
  }
}
textarea.JKChatView-chat-text-area {
  transition: all 0.2s linear;
  padding-top: 18px;
}
.JKChatView-chat-message-user a{
  text-decoration: underline;
}
.JKChatView-chat-message-user a:hover{
  text-decoration: none;
}
.enter-chat-btn:hover{
  opacity: 0.6;
}
.lightboxOverlay {
  height: 525px !important;
  top: 10px !important;
}
.JKChatView-theme .JKChatView-chat-answer img {
  margin: 0 0 10px;
}
.lightbox {
  padding: 20px;
  height: 500px;
  top: 0;
  flex-direction: row !important;
  align-items: center;
}
.lb-dataContainer {
  position: absolute;
  top: 10px;
  right: 34px;
  width: auto !important;
}

.lightboxOverlay {
  background-color: rgb(153 147 147 / 65%) !important;
  opacity: 1 !important;
  left: 10px !important;
  right: 10px !important;
  width: auto !important;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.lightbox .lb-image {
  height: auto !important;
  max-width: inherit !important;
  max-height: 390px !important;
  max-width: 100% !important;
  width: auto!important;
  margin: 0 auto;
}
.lb-outerContainer {
  background-color: rgb(255 255 255 / 0%) !important;
}
.user-file-url {
  display: none;
}
.staff-img-msg + .staff-img-msg {
  margin-top: 10px;
}
.-m-t-15 {
  margin-top: -15px !important;
}
.m-b-20 {
  margin-bottom: 20px !important;
}
.block {
  display: block !important;
}
.staff-img-msg + p {
  margin-top: 10px;
}
.staff-file-url {
  display: block;
  margin-bottom: 5px;
}

.p-bot-message--answer.feedback-message-nontitle .feedback-message {
  margin: 0 0 5px;
  padding: 5px;
  border-radius: 0;
  white-space: normal;
  background-color: rgb(255,255,255) !important;
}
.p-bot-message--answer .feedback-message {
  margin: 5px 0;
  padding: 5px;
  border-radius: 10px !important;
  white-space: normal;
}
.p-bot-message--answer .feedback-message .feedback-message-text {
  white-space: normal;
  display: block;
  text-align: center;
  margin-bottom: 1rem;
  padding: 0;
}
span.JKChatView-chat-message.feedback-message-text {
  padding: 0px !important;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-good-btn,
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-bad-btn {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-good-btn {
  margin-right: 2px;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-bad-btn {
  margin-left: 2px;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon button {
  color: #fff;
  text-decoration: none !important;
  display: block;
  width: 100%;
  height: 100%;
  background: #333;
  border-radius: 6px;
  border: 1px solid #fff;
  transition: .3s;
  cursor: pointer;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon a:hover {
  background: #999;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-btn-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-good-btn img,
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-bad-btn img {
  margin: 0;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon .icon-good,
.p-bot-message--answer .feedback-message .feedback-inner-icon .icon-bad {
  width: 20px;
  height: 20px;
  margin-right: 3px
}
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-good-btn-text,
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-bad-btn-text {
  color: #fff;
  line-height: 1;
}
.feedback-inner-icon.feedback-icon02 .feedback-good-btn .feedback-btn-flex::before {
  content: '';
  background: url("../images/fb-icon01-good.png") no-repeat center center;
  background-size: 100%;
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
.feedback-inner-icon.feedback-icon02 .feedback-bad-btn .feedback-btn-flex::before {
  content: '';
  background: url("../images/fb-icon01-bad.png") no-repeat center center;
  background-size: 100%;
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
.feedback-inner-icon.feedback-icon03 .feedback-good-btn .feedback-btn-flex::before {
  content: '';
  background: url("../images/fb-icon02-good.png") no-repeat center center;
  background-size: 100%;
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
.feedback-inner-icon.feedback-icon03 .feedback-bad-btn .feedback-btn-flex::before {
  content: '';
  background: url("../images/fb-icon02-bad.png") no-repeat center center;
  background-size: 100%;
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
.feedback-inner-icon.feedback-icon04 .feedback-good-btn .feedback-btn-flex::before {
  content: '';
  background: url("../images/fb-icon03-good.png") no-repeat center center;
  background-size: 100%;
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
.feedback-inner-icon.feedback-icon04 .feedback-bad-btn .feedback-btn-flex::before {
  content: '';
  background: url("../images/fb-icon03-bad.png") no-repeat center center;
  background-size: 100%;
  width: 20px;
  height: 20px;
  margin-right: 3px;
}
.btn_suggest {
  border: 2px solid #01c3cb;
  background: rgba(1,195,203,0);
  text-align: left;
  padding: 9px 12px;
  display: flex !important;
  justify-content: flex-start;
  align-items: center;
}
.btn_suggest:hover {
  opacity: 0.6;
}
.btn_suggest::before {
  content: '';
  clip-path: polygon(25% 0, 50% 0%, 100% 50%, 50% 100%, 25% 100%, 75% 50%);
  width: 9px;
  height: 11px;
  display: inline-block;
  margin-right: 8px;
}
.btn_suggest.disabled {
  border: 2px solid #999 !important;
  cursor: inherit;
}
.btn_suggest.disabled .btn_suggest-text {
  color: #ccc!important;
}
.btn_suggest.disabled::before {
  background-color: #999 !important;
}
.btn_suggest span.btn_suggest-text {
  color: #01c3cb !important;
  white-space: normal;
  font-size: 13px;
  width: calc(100% - 19px);
  display: inline-block;
  padding-top: 2px;
}
.btn_candidate {
  text-align: center;
  padding: 9px 12px;
  width: 100%;
}
.btn_candidate:hover {
  opacity: 0.6;
}
.suggest-chatter-heading {
  margin-bottom: 1rem;
  margin: 0 0 5px 0;
  padding: 0;
  border-bottom: 1px solid #ccc;
}
.suggest-name {
  display: block;
  margin-bottom: 1rem;
}
.JKChatView-chat-dialog-container.is-not-connect {
  height: 470px!important;
}
div#JKChatView-view-loading.lightplan-loading {
  position: relative;
  bottom: 18px;
  left: 0;
  font-size: 13px;
  z-index: 999;
  right: 0;
  background: #fff;
  padding-left: 20px;
  padding-top: 2px;
}
.p-bot-message--answer .feedback-message {
  width: 100%;
  display: block;
}
.p-bot-message.p-bot-message--answer .JKChatView-chat-message-dialog.JKChatView-chat-answer .JKChatView-chat-message {
  width: 100%;
}
@media (max-width: 420px){
  .JKChatView-chat-container.pc {
    width: calc(100% - 20px);
  }
  .JKChatView-chat-container.sp {
    width: 100%;
  }
  .lightboxOverlay {
    left: 10px !important;
    right: 10px !important;
  }
}
@media (max-width: 768px) {
  .JKChatView-chat-container.sp {
    width: calc(100% - 20px);
    right: 10px;
    left: 10px;
  }
  .lightboxOverlay {
    left: 10px !important;
    right: 10px !important;
    top: 25px !important;
  }
}
.btn_select.btn {
  white-space: break-spaces;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-btn-flex {
  font-size: 11px;
}
.p-bot-message--answer .feedback-message .feedback-inner-icon .feedback-btn-flex:hover {
  opacity: 0.6;
}
.bubble-chat-bound.is-hide-custom {
  opacity: 0;
  z-index: -1;
  visibility: visible;
  transition: 0.5s ease;
}
.feedback-inner-icon .disabled {
  background: #999 !important;
  border: 2px solid #999 !important;
  cursor: inherit !important;
  color: #ccc!important;
  opacity: 0.4;
}
.feedback-inner-icon .disabled::before {
  background-color: #999 !important;
}
.mt-10 {
  margin-top: 10px;
}
.JKChatView-chat-container {
  bottom: 15px;
}
.JKChatView-chat-body {
  padding: 0;
  height: calc(100% - 42px);
}
#JKChatView-chat-full-view{
  border-bottom: 0;
}
.JKChatView-chat-message-item-container.first-message-item-container.has-first-message {
  margin-top: -25px!important;
}
.JKChatView-nograp {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.submit-inquiry-btn {
	margin-top: 5px;
}
.JKChatView-chat-message span.gpt-note {
  padding: 10px 0 0 0;
  display: inline-block;
}
/* Autocomplete box (balloon) */
.autocomplete-box {
  display: none;
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 25px;
  background: #ffffff;
  border: 1px solid #ccc;
  border-radius: 12px;
  z-index: 1000;
  font-size: 14px;
  max-height: 200px;
  overflow-y: visible;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
}

/* Balloon tail shadow */
.autocomplete-box::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #ccc;
  z-index: -1;
}
.autocomplete-box::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  left: 21px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #ffffff;
  z-index: 1;
}
.autocomplete-box {
  scrollbar-width: thin;
  scrollbar-color: #ccc transparent;
}
.autocomplete-box::-webkit-scrollbar {
  width: 6px;
}

.autocomplete-box::-webkit-scrollbar-track {
  background: transparent;
}

.autocomplete-box::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}
.autocomplete-heading {
  font-size: 13px;
  color: #666;
  padding: 6px 16px 2px 16px;
  font-weight: normal;
}
.autocomplete-items{
  overflow-y: auto;
  max-height: 150px;
}
.autocomplete-item {
  padding: 10px 16px;
  cursor: pointer;
  border-top: 1px solid #eee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  font-weight: 700;
  text-decoration: underline;
}

.autocomplete-item:first-child {
  border-top: none;
}

.autocomplete-item:hover {
  background-color: #f2f2f2;
  border-radius: 6px;
}