@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');
  
/*  -- STYLES FOR THE CHAT -- */
.openChatPannel {
    background: #48AFC6;
    padding: 5px 10px;
    width: fit-content;
    border-radius: 35px;
    position: absolute;
    z-index: 55;
    left: 0;
    bottom: 0;
    cursor: pointer;
}

.buttonHiddenStatus{
    left: -100px!important;
}
.swithStatusChatPannel{ 
    background-color: transparent!important;
    width: 55px!important;
    height: 55px!important; 
    border-radius: 40px!important; 
}
.floatButon {
    width: 55px;
    height: 55px;
    position: absolute;
    z-index: 55;
    /* background: #48AFC6; */
    left: 0;
    bottom: 0;
    border-radius: 35px;
    display: flex;
    justify-content:center;
    align-items:center;
    cursor: pointer;
}
.floatButon img{
    width:80%;
    height:80%;
    max-width: 35px;
    max-height: 35px;
}

/*  -- STYLES FOR THE CHAT -- */

.anyHidden{
    opacity: 0;
    display: none!important;
}

.bot-layout{
    background: #F6F6F7;
    position: fixed;
    z-index: 100;
    width: 350px;
    height: auto;
    right: 3%;
    bottom: 5%;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0px 0px 5px 0px rgba(198, 198, 198, 0.75);
}

 
.bot-layout > .container >  .header .logoAny img{
    width: 100%;
    max-width: 40px;
}

.bot-layout > .container >  .header{
    /* background: white; */
    display: flex;
    justify-content: space-between;
    padding: 15px;
}
 
.headerActions ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.headerActions ul li{
    font-size:30px;
    line-height:10px;
    padding: 5px 10px;
    cursor: pointer;
}
#closeWindow {
    transform: rotate(45deg);
  }  

.bot-layout > .container .content {
    display: flex;
    justify-content: center;
    overflow: auto;
    min-height: 300px;
    max-height: 300px;
    flex-direction: column;
    justify-content: flex-start;
    overflow: auto; 
    padding: 20px 0; 
    position: relative;
} 

.preloader {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%; 
    opacity: 1;
    transform: all .5s;
  }
  .preloader > .contentPreloader{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    backdrop-filter: blur(8px);
  }
  .preloader > .contentPreloader > img{
    width: 50px;
  }

/* BUBLES CHAT */
.bublesYou {
    width: 100%;
    display:flex;
    justify-content:flex-end;
    padding-right:20px;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .bublesYou > .any_subjectBoxWrapper{
    width: 75%;
  }
  .bublesYou > .any_subjectBoxWrapper > .any_subjectBox{
    color: gray;
    font-size: 10px;
  } 

  .bublesYou > .any_subjectBoxWrapper > .any_subjectBox .any_botName{
    font-size:12px;
    display:block;
    margin-bottom:3px; 
}

  .any_subjectBox > img {
    width: 15px;
   }
  .bublesYou > .any_subjectBoxWrapper > span{
    /* background: #48AFC6; */
    display: block;
    padding: 15px;
    border-radius: 10px;
    color: white;
    word-wrap: break-word; 
    overflow-wrap: break-word;
    word-break: break-word;  
    hyphens: auto;   
    max-width: 100%;  
  }

.bublesAi{
    width: 100%;
    display:flex;
    justify-content:flex-start;
    padding-left:40px;
    box-sizing: border-box;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  .bublesAi > .any_subjectBoxWrapper{
    width: 75%;
  }
  .bublesAi > .any_subjectBoxWrapper > .any_subjectBox{
    color: gray;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-left: -30px;
  } 

  .bublesAi > .any_subjectBoxWrapper > .any_subjectBox img{
    border-radius: 15px
}

.bublesAi > .any_subjectBoxWrapper > .any_subjectBox .any_botName{
    font-size:12px;
    line-height:10px;
    display:block;
}

  .bublesAi > .any_subjectBoxWrapper > span{
    background: #ffffff;
    display: block;
    padding: 15px;
    border-radius: 10px;
    color: rgb(99, 99, 99);
    border: solid 1px #e4e4e4;
    word-wrap: break-word;    
    overflow-wrap: break-word;
    word-break: break-word;  
    hyphens: auto;       
    max-width: 100%;  
    display: inline-block;
  }

 

.bot-layout > .container .content > .welcomeContent
{
    width: 85%;
    margin: 50px auto;
    margin-bottom: 30px;
    background: white;
    padding: 10px;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: gray;
    border-radius:15px;
}
.bot-layout > .container .content > .welcomeContent > .welcomeContentText{
    margin: 20px 0 0;
    text-align: center; 
} 
.bot-layout > .container .content > .welcomeContent button{
    border: none;
    display:block;
    margin: 15px auto 15px;
    background: #372679;
    color: white;
    font-weight:600;
    padding: 0 20px;
    line-height:30px;
    border-radius: 15px;
    cursor: pointer;
}

.bot-layout > .container .content > .welcomeContent > .welcomeContentFavicon{
    padding: 15px 17px;
    border-radius: 35px;
    margin-top: -40px
}
 
.bot-layout > .container > .footer{
    /* background: white; */
    text-align: center;
    font-size: 12px;
}
.bot-layout > .container > .footer > .anyTextArea{
    border-bottom: solid 1px #DCDCDC;
    padding: 5px;
}
.bot-layout > .container > .footer > .anyTextArea > form > .hidenFileField{
    display: none;
} 
.bot-layout > .container > .footer > .anyTextArea > form > .inputBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    min-height: 55px;
    max-height: 55px; 
    transition: height 0.2s ease;
}

.bot-layout > .container > .footer > .anyTextArea > form > .inputBox > textarea {
    border: none;
    outline: none;
    box-shadow: none;
    resize: none;
    width: 82%;
    padding: 5px;
    min-height: 35px;
    max-height: 55px;
    color: #8f8f8f;
    font-size: 16px;
    line-height: 1.4;
    background-color: white !important;
    align-self: center;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d1d1 transparent;
}

.bot-layout > .container > .footer > .anyTextArea > form > .inputBox > textarea {
    scrollbar-width: thin;
    scrollbar-color: #d1d1d1 transparent;
}

.bot-layout > .container > .footer > .anyTextArea > form > .inputBox > textarea::placeholder {
    direction: ltr;
}

.bot-layout > .container > .footer > .anyTextArea > form > .inputBox > textarea::-webkit-scrollbar {
    width: 3px;
    left: 0;
}

.bot-layout > .container > .footer > .anyTextArea > form > .inputBox > textarea::-webkit-scrollbar-track {
    background: transparent;
}

.bot-layout > .container > .footer > .anyTextArea > form > .inputBox > textarea::-webkit-scrollbar-thumb {
    background-color: #d1d1d1;
    border-radius: 3px;
}

.bot-layout > .container > .footer > .anyTextArea > form > .inputBox:focus-within {
    border-color: #d0d0d0;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.bot-layout > .container > .footer > .anyTextArea > form > .inputBox > img{
    width: 25px;
    height: 25px;
    margin-top: 5px;
    cursor: pointer;
}
.bot-layout > .container > .footer > .anyTextArea > form > .inputBox > button{
    cursor: pointer;
    align-items: center;
    border-radius: 8px;
    display: flex;
    height: 45px;
    justify-content: center;
    margin: 0;
    width: 45px;
    border: none;
     
}
.bot-layout > .container > .footer > .welcomeBox{
    color: gray; 
}
.bot-layout > .container > .footer > .welcomeBox span{ 
    font-size: 12px;
    color: #989ba2;
    font-weight: 100;
}
.bot-layout > .container > .footer > .welcomeBox a{
    color:  #372679;
    font-size: 12px;
}
 
/* Loader Styles */
.chat-loader {
    width: calc(100% - 55px);
    padding: 15px;
    display: flex;
    justify-content: flex-start;
    background-color: transparent;
    padding-left: 40px;
    margin: 5px 0;
    box-sizing: border-box;
    overflow-x: hidden;
}
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background-color: #90949c;
    border-radius: 50%;
    display: inline-block;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.message-time {
    display: block;
    font-size: 11px;
    color: #8f8f8f;
    margin-top: 4px;
    text-align: right;
    padding-right: 8px;
}

.bublesYou .message-time {
    color: #8f8f8f;
}