@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* body{
    background: white;
} */
.chatbot{
    position: fixed;
    right: 40px;
    bottom: 100px;
    width: 420px;
    overflow: hidden;
    background: #ffffff;    
    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) ;

}

.chatbot header{
    background: rgb(29, 3, 143);
    padding: 16px 0;
    text-align: center;
}

.chatbot header h2{
    color: white;
    font-size: 1.4rem;
}

.chatbot .chatbox{
    height: 510px;
    overflow-y:auto ;
    padding: 15px 20px 70px;
}

.chatbox .chat{

    display: flex;
}

.chatbox .chat p{
    color: white;
    font-size: 0.95rem;
    padding: 12px 16px;
    border-radius: 10px 10px 0 10px;
    background: rgb(46, 6, 78);
}

.chatbox .incoming p{
    color: black;
    background: rgb(175, 178, 212);
    border-radius: 10px 10px 10px 0;
}

.chatbot .chat-input{
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    gap: 5px;
    background: white;
    padding: 5px 20px;
    border-top: 1px solid #ccc;
}

.chat-input textarea{
    height: 55px;
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.95rem;
    resize: none;
    padding: 16px 15px 16px 0;
}

.chat-input span{
    align-self: flex-end;
    color: rgb(54, 54, 129);
    font-size: 1.35rem;
    cursor: pointer;
    background: rgb(180, 182, 211);
    height: 55px;
    visibility: hidden;
}

.chat-input textarea:valid ~ span{
    visibility: visible;
}