/* Import Google font Poppins */
@import url('https://fonts.googleapis.com/css?family=Poppins:wght@400;500;600&display=swap');
#chatBot{
    /* background: #E3F2FD; */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}


#chatBot #init{
    z-index: 999;
    /* margin-top: 2rem;
    background: indianred;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: aliceblue;
    cursor: pointer; */
    position: fixed;
    left: 40px;
    bottom: 35px;
    height: 50px;
    width: 50px;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    cursor: pointer;
    /* background:#1a2c62; */
    border-radius: 50%;
}

#chatBot .openBtn{
    font-size: 24px;
    /* background: none; */
    /* border: none; */
    color: #fff;
    background: #1a2c62;
    /* font-size: 30px; */
    /* transform: translateY(-50%); */
}

#chatBot .text{
    font-size: 65px;
    font-weight: 800;
    color: cadetblue;
    margin: 0;
}

#chatbot{
    /* position: fixed;
    top: 4rem;
    right: 8rem;
    text-align: right;
    margin: 20px 0; */
    display: none;
    z-index: 999;
    position: fixed;
    left: 30px;
    bottom: 40px;
    width: 490px;
    transform: scale(0.8);
    /* opacity: 0; */
    /* pointer-events: none; */
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 0 128px 0 rgba(0,0,0,0.1), 0 32px 64px -48px rgba(0,0,0,0.5);
    /* transform: scale(1); */
}



#chatBot .chatbot-header{
    background: #1a2c62;
    padding: 9px 0;
    text-align: center;
    position: relative;
}

#chatBot .chatbot-header span {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
}


#chatBot .refBtn {
    border: none;
    border-radius: 50%;
    font-size: 24px;
    background: none;
    background: none;
    border-radius: 50%;


    position: absolute;
    right: 20px;
    top: 50%;
    color: #fff;
    cursor: pointer;
    /* display: none; */
    transform: translateY(-50%);

}



#chat-box{
    height: 430px;
    overflow-y: auto;
    padding: 15px 20px 50px;
}

/* these classes will be used in javascript file */
#chatBot .msg{
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    /* padding: 5px 15px; */
    padding: 12px 16px;
    margin-bottom :10px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    /* width: max-content; */
    max-width: fit-content;
    /* font-size: 14px; */
    font-size: 1rem;
    color: #000;
    box-shadow: 0 0 5px rgb(226,226,226);
    /* max-width: 65%; */
    text-align: left;
}

.chatbot{
    display: flex;
    justify-content: flex-end;
}
#chatBot .rep{
    background: blueviolet;
    color: white;
    padding: 5px 15px;
    /* right: 0; */
    /* width: 70%; */
    /* text-align: right; */
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    font-size: 0.95rem;
    box-shadow: 0 0 5px rgb(211,211,211);
}
#chatBot .opt{
    padding: 5px 20px;
    /*columns: lightsalmon;*/
    border: 1px solid blueviolet;
    border-radius: 1rem;
    margin: 0.7rem 0.5rem;
    display: flex;
    width: fit-content;
    cursor: pointer;
    font-weight: 500;
    background: white;
    text-align: center;
    font-size: 1rem;
    color: blueviolet;
}

#chatBot .link{
    text-decoration: none;
    /* display: block; */
    text-align: center;
    color: aliceblue !important;
    background: blueviolet;
}
#chatBot a{
    /* text-decoration: none; */
    color: #fff;
    
}

#chatBot .click-here{
    text-align: center;
    background: #1a2c62;
    border: #1a2c62 solid 1px;
    border-radius: 5px;   
    padding: 0px 5px;
    margin-right: 4px;
}


#chatBot .link:active{
    background: white;
    border: 1px solid blueviolet;
    color: blueviolet;
}


#chatBot .footer{
    /* border-top: 1px solid #ccc;   */
    /* position: absolute;
    bottom: 0;
    width: 100%;
    background: white;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    color: indianred;
    padding: 15px 0;
    text-align: center;
    font-size: 14px;
    box-shadow: 0 0 3px rgb(153,153,153); */


    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    /* gap: 5px; */
    background:#fff;
    padding: 5px 20px;
    border-top: 1px solid #ccc;
    resize: none;
    height: 40px;


}

@media(max-width: 490px) {
    #chatbot {
      left: 0;
      bottom: 20px;
      width: 100%;
      height: 95%;
      border-radius: 15px;
    }
     #chatbot #chat-box {
      height: 90%;
    }
    #chatbot header span {
      display: block;  
    }
  }