

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Geneva ,sans-serif;
}
body{
    background:white ;
    /* color:white; */
}
.chatbot-toggler{
    position:fixed;
    right: 40px;
    bottom:35px;
    height:80px;
    width: 80px;
    color:#fff;
    border: none;
    outline:none;
    display:flex;
    align-items:center;
    justify-content: center;
    cursor:pointer;
    background:#0150AC;
    border-radius:50%;
    /* box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.2); */
    transition: all 0.4s ease;
}

.chatbot-toggler:hover{
    
    box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
      
}
.show-chatbot .chatbot-toggler{
    transform: rotate(360deg);
}
.chatbot-toggler span img {
    height: 230px;
    width: 240px;
    margin-bottom: 20px;
    margin-left: 12px;
   
}

.chatbot-toggler span .close-icon{
    height:190px;
    width:190px;
    margin-bottom:35px;
    margin-left:11px;

}

#close-chatbot{
    color:white;
    margin-left:100px;
    cursor:pointer;
}

.chatbot-toggler span{
    position:absolute;
}
.chatbot-toggler span .close-icon{
    height:35px;
    width:35px;
    margin-top:40px;
    margin-right:10px
}
.show-chatbot .chatbot-toggler span:first-child,
.chatbot-toggler span:last-child{
    opacity:0;
}
.show-chatbot .chatbot-toggler span:last-child{
    opacity: 1;
}
.chatbot{
    position:fixed;
    right: 40px;
    bottom:120px;
    width:420px;
    transform:scale(0.5);
    opacity:0;
    pointer-events: none;
    overflow:hidden;
    background:#fff;
    border-radius:15px;
    transform-origin: bottom right;
    box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    margin-bottom:10px;
}
.show-chatbot .chatbot{
    transform:scale(1);
    opacity:1;
    pointer-events: auto;
}

.chatbot header{
    background:#0150AC;
    padding: 16px 0;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    /* justify-content:space-evenly; */
    /* margin-right:40px; */
}
.chatbot header .chatbot-logo{
    width: 40px; /* Adjust the width as needed */
    height: 30px; /* Adjust the height as needed */
    margin-left: 20px; /* Add some spacing between the logo and the chatbot title */
}

.chatbot header h2{
    color:#fff;
    font-size:1.4rem;
    margin:0;
    margin-left:110px;
}

.chatbot header span{
    position:absolute;
    right: 20px;
    top:50%;
    color:#fff;
    cursor: pointer;
    display:none;
    transform: translateY(-50%);
}

.chatbot.collapsed {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.chatbot .chatbox{
    height: 510px;
    overflow-y: auto;
    padding: 30px 20px 70px;
}

.chatbox .chat{
    display:flex;
}

.chatbox .outgoing{
    margin: 20px 0;
    justify-content:flex-end;
}

.chatbox .chat p{
    color: #fff;
    font-size: 0.95rem;
    padding: 12px 16px;
    max-width: 75%;
    border-radius: 10px 10px 0 10px;
    background:#0150AC;
}

.chatbox .incoming {
    display: flex;
    align-items: flex-start;
}


.chatbox .incoming p{
    color:#000;
    background:#f2f2f2;
    border-radius: 10px 10px 10px 0;
    margin: 2px 0;
}

.chatbot .chat-input{
    position:absolute;
    bottom:0;
    width: 100%;
    display:flex;
    gap:5px;
    background:#fff;
    padding: 5px 20px;
    border-top: 1px solid #ccc;
}

.chat-input textarea{
    border:none;
    outline: none;
    height: 55px;
    width:100%;
    font-size: 0.95 rem;
    resize: none;
    padding: 16px 15px 16px 0;

}
.chat-input span{
    align-self: flex-end;
    height: 55px;
    line-height: 55px;
    color: #0150AC;
    font-size:1.05rem;
    cursor: pointer;
    visibility: hidden;
}

.chat-input textarea:valid ~ span {
    visibility:visible;
}

@media(max-width: 490px){
    .chatbot {
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;        
    }
    .chatbot .chatbox{
        height : 90%;
    }
    .chatbot header span{
        display: block;
    }
}

.button-options div {
    background-color: white;
    color: black;
    border: 2px solid #0150AC;
    padding: 10px;
    margin-right: 5px;
    margin-left: 5px;
    border-radius: 10px;
    margin-top:10px;
    margin-bottom:10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-options div:hover {
    background-color: #00337F;
    color:#fff;
}


/* Adjust the avatar icon's position */


.bot-avatar {
    width: 186px;
    height: 154px;
    margin-left: -106px;
    margin-top: -66px;
    margin-right: -71px;
    margin-bottom: -35px;
}

.chat-avatar {
    width: 186px;
    height: 154px;
    margin-left: -74px;
    margin-top: -66px;
    margin-right: -71px;
    margin-bottom: -35px;
}


/*.bot-avatar{
    width: 45px; 
    height: 60px; 
    margin-left:-40px;
    margin-top:-5px;

}
.chat-avatar {
    width: 45px; 
    height: 60px; 
    margin-left:-7px;
    margin-bottom:8px;
}*/

/* Initially hide the chatbox */
.chatbox-container {
    display: none;
  }
  
  /* Show the chatbox when it has messages */
  .chatbox-container.has-messages {
    display: block;
  }


  /* Styles for the suggestion dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 56%;
    left: 0;
    /* bottom:0; */
    width: 100%;
    background: #0150AC;
    border-top: none;
    max-height: 200px;
    overflow-y: auto; 
   
    
   
   
}

.autocomplete-dropdown .dropdown-container {
    /* Reverse the order to stick to the bottom */
    display: flex;
    flex-direction: column-reverse;
  }

.autocomplete-dropdown ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    bottom:0;
    z-index:1;
}

.autocomplete-dropdown li {
    padding: 10px;
    cursor: pointer;
    color:#fff;
    transition: background-color 0.3s ease;
}

.autocomplete-dropdown li:hover {
    background-color: #fff;
    color:black;
}

/* Show the dropdown when it's active */
.chat-input textarea:focus + .autocomplete-dropdown {
    display: block;
}
/* Add styles for the speech bubble */
.speech-bubble {
    position: fixed;
    bottom: 130px; /* Adjust the position as needed */
    right: 130px; /* Adjust the position as needed */
    background-color: #0150AC;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    /* display: none; */
}
  


