*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI", Arial, sans-serif;
}


body{
    height:100vh;
    background:#f4f6f8;
}


/* Floating Button */

.chat-launcher{

    position:fixed;
    right:25px;
    bottom:25px;

    width:65px;
    height:65px;

    background:#0066ff;

    color:white;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:32px;

    cursor:pointer;

    box-shadow:0 8px 25px rgba(0,0,0,.25);

    transition:.3s;

    z-index:1000;
}


.chat-launcher:hover{

    transform:scale(1.1);

}



/* Chat Window */


.chat-widget{

    position:fixed;

    right:25px;

    bottom:100px;

    width:380px;

    height:460px;

    background:white;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.25);

    display:none;

    flex-direction:column;

    animation:popup .3s ease;

    z-index:999;

}



@keyframes popup{

    from{
        opacity:0;
        transform:translateY(30px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}



/* Header */


.chat-header{

    background:linear-gradient(135deg,#0066ff,#00aaff);

    color:white;

    padding:15px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}


.bot-profile{

    display:flex;

    align-items:center;

    gap:10px;

}


.bot-avatar{

    width:45px;

    height:45px;

    background:white;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:25px;

}


.chat-header h3{

    font-size:17px;

}


.chat-header small{

    color:#d7ffd7;

}



.chat-header button{

    border:none;

    background:none;

    color:white;

    font-size:30px;

    cursor:pointer;

}



/* Chat Area */


.chat-body{

    flex:1;

    padding:15px;

    overflow-y:auto;

    background:#f8fafc;

}



.message{

    max-width:85%;

    padding:12px;

    border-radius:12px;

    margin-bottom:12px;

    line-height:1.5;

    font-size:14px;

}



.bot-message{

    background:#e7f0ff;

    color:#333;

}



.user-message{

    background:#d8fdd8;

    margin-left:auto;

}



/* Typing */


.typing{

    background:#eee;

    width:55px;

    padding:12px;

    border-radius:15px;

}


.dot{

    height:7px;

    width:7px;

    background:#777;

    display:inline-block;

    border-radius:50%;

    margin:2px;

    animation:blink 1s infinite;

}



.dot:nth-child(2){

    animation-delay:.2s;

}


.dot:nth-child(3){

    animation-delay:.4s;

}



@keyframes blink{

    50%{

        opacity:.2;

    }

}



/* Quick Buttons */


.quick-buttons{

    padding:8px;

    display:flex;

    gap:6px;

    flex-wrap:wrap;

    background:white;

}



.quick-buttons button{

    border:1px solid #0066ff;

    background:white;

    color:#0066ff;

    padding:7px 10px;

    border-radius:20px;

    cursor:pointer;

    font-size:12px;

}



.quick-buttons button:hover{

    background:#0066ff;

    color:white;

}



/* Input */


.chat-input{

    display:flex;

    border-top:1px solid #ddd;

}


.chat-input input{

    flex:1;

    border:none;

    padding:15px;

    outline:none;

    font-size:14px;

}


.chat-input button{

    width:60px;

    border:none;

    background:#0066ff;

    color:white;

    font-size:20px;

    cursor:pointer;

}



/* WhatsApp Button */


.whatsapp-btn{

    margin-top:10px;

    background:#25D366;

    color:white;

    border:none;

    padding:12px;

    width:100%;

    border-radius:8px;

    cursor:pointer;

    font-size:15px;

    font-weight:bold;

}



/* Mobile */

@media(max-width:450px){

.chat-widget{

    width:95%;

    right:2.5%;

    bottom:90px;

    height:520px;

}

}