 /* Floating Button Styling */
 /* .outer-tool{
    width: 60px;
    height: 60px;
    z-index: 1111111;
    position: absolute;
    bottom: 20px;
     right: 20px;
 }
 .close-btn ~ .tooltip{
    display: none;
 } */
 .chatbot-btn {
  position: fixed;
  bottom: 119px;
  right: 0;
  background: #096baf;
  color: white;
  border-radius: 50px;
  border: 2px solid #096baf;
  outline-color: #096baf;
  width: 54px;
  height: 54px;
  padding: 0;
  box-shadow: 0 12px 28px 0 #0003, 0 2px 4px 0 #0000001a, inset 0 0 0 1px #ffffff0d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 1111;
  transition: background-color 0.3s ease;
}

.chatbot-btn:focus,
.chatbot-btn:hover,
.chatbot-btn:active {
  border: 2px solid rgb(123, 31, 162);
  outline-color: rgb(123, 31, 162);
  background: #096baf;
}

/* Modal Positioning */
#aiChatModal .chat-modal {
  position: fixed;
  bottom: 120px;
  right: 60px;
  /* Just left of floating button */
  width: 440px;
  /* Adjust width as needed */
  margin: 0;
  transform: none !important;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 11px 15px -7px, rgba(0, 0, 0, 0.14) 0px 24px 38px 3px, rgba(0, 0, 0, 0.12) 0px 9px 46px 8px;
}

#aiChatModal .chat-modal .modal-content {
  border: none;
  /* border-radius: 10px; */
}

#aiChatModal .chat-modal .modal-header {
  background-color: #096baf;
  color: #fff;
  line-height: normal;
  padding: 13px;
}
#aiChatModal .chat-modal .modal-header .modal-title {
 font-size: 20px;
 color: #fff !important;
}
#aiChatModal .chat-modal .modal-header .close{
 color:#fff;
 opacity: 1;
}
#aiChatModal .chat-modal .modal-header .close:not(:disabled):not(.disabled):focus, 
#aiChatModal .chat-modal .modal-header .close:not(:disabled):not(.disabled):hover{
 opacity: 1;
 box-shadow: none;
}

#aiChatModal .chat-modal .modal-body {
 height: 373px;
 min-height: 100px;
 overflow: auto;
 padding: 16px !important;
 scrollbar-color: #a09c9c #0000;
 scrollbar-width: thin;
}

.chatbot-btn {
  overflow: hidden;
  color: #333;
}

.chatbot-btn img {
 width: 60px;
 max-width: inherit;
 height: 60px;
}

.chatbot-btn svg {
  color: #333;
}

.chatbot-btn.close-btn img {
  width: 25px;
}

.sender-conversation-area {
  display: flex;
  flex-direction: row;
  -webkit-box-pack: start;
  justify-content: start;
  gap: 8px;
  margin-bottom: 10px;
}
.sender-conversation-area .conversation{
 max-width:75%;
}

.sender-conversation-area .conversation p {
  background-color: rgb(238, 238, 238);
  border-radius: 10px;
  padding: 9px;
  border-bottom-left-radius: 0;
  width: fit-content;
  /* word-break: break-all; */
  margin-bottom: 0;
  margin-top: 0;
  color: #000;
 line-height: 24px;
}

#aiChatModal .receiver,
#aiChatModal .sender {
  width: 40px;
  height: 40px;
  padding: 8px;
  background-color: #1976d2;
  border-radius: 23px;
}
#aiChatModal .receiver img,
#aiChatModal .sender img {
  width: 24px;
  height: 24px;
}

.receiver-conversation-area{
 display: flex;
  flex-direction: row;
  -webkit-box-pack: end;
  justify-content: end;
  gap: 8px;
  margin-bottom: 10px;
}
.receiver-conversation-area .conversation{
 width:100%;
 text-align: right;
}
.receiver-conversation-area .conversation .text-area {
 width: 85%;
 float: right;
 display: flex;
 justify-content: end;
}
.receiver-conversation-area .conversation p{
 background-color: rgb(238, 238, 238);
 border-radius: 10px;
 padding: 9px;
 border-bottom-right-radius: 0;
 width: fit-content;
 text-align: left;
 /* word-break: break-all; */
}

.receiver-conversation-area .conversation p {
 margin-bottom: 0;
 margin-top: 0;
 color: #000;
 line-height: 24px;
}
.receiver-conversation-area .conversation small,
.sender-conversation-area .conversation small {
 font-size: 12px;
 color: #757575;
}
#aiChatModal .chat-modal .modal-footer {
 padding: 0;
 border-top: 1px solid #dee2e6 !important;
}
#aiChatModal .chat-modal .modal-footer input{
 margin:0;
 border:0;
 padding: 6px 10px;
 height: 43px;
}
#aiChatModal .chat-modal .modal-footer input:focus,
#aiChatModal .chat-modal .modal-footer .btn:focus{
 box-shadow: none;
}
#aiChatModal .chat-modal .modal-footer button{
 background: #fff;
 width: 41px;
 height: 43px;
}
.chat-section ~ .modal-backdrop{
 opacity: 0;
}
.waiting-area .spinner-grow {
 width: 11px;
 height: 11px;
}
.no-display{
 display: none;
}
.ai-chat-session-end{
 margin-bottom: 5px;
}
.conversation button {
  /* background: #f6dffb;
  background-image: inherit;
  border: 1px solid #096baf !important;
  margin-right: 5px !important; */
  background: #f8effa;
  background-image: inherit;
  border: 1px solid #dcdcdc !important;
  margin-right: 5px !important;
  font-weight: normal !important;
}
.conversation button:focus,
.conversation button:focus-visible,
.conversation button:hover {
  background: #096baf;
  color: #fff !important;
}
.waiting-area img {
 width: 63px;
 max-width: inherit;
}

/* Start Typing Animation */
.typing::after {
 content: '|';
 display: inline-block;
 animation: blink 0.7s steps(2, start) infinite;
}

.chat-loading{
 opacity: 0.5;
}

@keyframes blink {
 50% {
   opacity: 0;
 }
}

.typing-effect {
 font-family: 'Courier New', Courier, monospace;
 font-size: 16px;
 white-space: nowrap;
 overflow: hidden;
 animation: typing 2s steps(40, end);
}

@keyframes typing {
 from {
   width: 0;
 }
 to {
   width: 100%;
 }
}
.field_.search_.input-group.block-search{
 width: 510px;
}
header .btn-outline-primary.mj-aichat-top-button {
 background: linear-gradient(93.76deg, #003A6D 0%, #03447C 51.21%, #258EE1 100%) !important;
 border: 0 !important;
 border-radius: 7px;
 color: #fff;
 font-size: 15px;
 white-space: nowrap;
 font-weight: 500;
 line-height: 30px;
 padding: 8px 8px;
}
header .btn-outline-primary.mj-aichat-top-button img {
 width: 36px;
 max-width: inherit;
}
.product_search_form {
 max-width: fit-content;
 display: flex;
 gap: 8px;
 align-items: center;
}
.conversation a{
  text-decoration: underline;
  font-weight: 600;
}
.conversation a:hover{
  color: #003c72;
  text-decoration: underline;
  font-weight: 600;
}
@media (max-width: 1280px) {
 .field_.search_.input-group.block-search {
   width: 469px;
 }
}
@media(max-width:915px) {
 #aiChatModal .chat-modal {
     width: auto;
     margin-left: 10px;
 }
 header .btn-outline-primary.mj-aichat-top-button{
  display: none;
 }
 .product_search_form.show small{
  display: none;
 }
}