.chat-btn{

    position:fixed;

    bottom:30px;
    right:30px;

    width:70px;
    height:70px;

    background:#1840FF;

    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    color:white;

    font-size:28px;

    cursor:pointer;

    box-shadow:0 15px 35px rgba(24,64,255,.35);

    z-index:9999;

    transition:.3s;
}

.chat-btn:hover{

    transform:scale(1.1);

}

.chat-box{

    position:fixed;

    right:30px;
    bottom:120px;

    width:370px;

    height:550px;

    background:white;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 20px 50px rgba(0,0,0,.2);

    display:none;

    flex-direction:column;

    z-index:9999;
}

.chat-header{

    background:#1840FF;

    color:white;

    padding:20px;

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.chat-header h3{

    margin:0;
}

.chat-header small{

    opacity:.8;
}

.chat-header button{

    background:none;

    border:none;

    color:white;

    font-size:22px;

    cursor:pointer;
}

.chat-body{

    flex:1;

    padding:20px;

    overflow-y:auto;

    background:#F7F8FC;
}

.bot-message{

    max-width:80%;

    background:white;

    padding:15px;

    border-radius:15px;

    box-shadow:0 5px 15px rgba(0,0,0,.05);

    margin-bottom:15px;
}

.user-message{

    max-width:80%;

    background:#1840FF;

    color:white;

    padding:15px;

    border-radius:15px;

    margin-left:auto;

    margin-bottom:15px;
}

.chat-footer{

    display:flex;

    border-top:1px solid #eee;
}

.chat-footer input{

    flex:1;

    border:none;

    outline:none;

    padding:18px;

    font-size:15px;
}

.chat-footer button{

    width:70px;

    border:none;

    background:#1840FF;

    color:white;

    cursor:pointer;

    font-size:18px;
}