/* ===== BOTÓN FLOTANTE ===== */

.chat-toggle{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    border:none;
    border-radius:50%;
    background:#0057b8;
    color:#fff;
    font-size:28px;
    cursor:pointer;
    box-shadow:0 10px 30px rgba(0,0,0,.25);
    z-index:9999;
    transition:.3s;
}

.chat-toggle:hover{
    transform:scale(1.08);
    background:#0078ff;
}


.chat-window{

    position:fixed;

    right:25px;

    bottom:105px;

    width:380px;

    height:620px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    display:none;

    flex-direction:column;

    box-shadow:0 15px 45px rgba(0,0,0,.25);

    z-index:9999;

    animation:showChat .25s ease;

}

@keyframes showChat{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


.chat-header{

    height:70px;

    background:#0057b8;

    color:#fff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:15px;

}

.chat-title{

    display:flex;

    align-items:center;

    gap:12px;

}

.chat-avatar{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

}

.chat-header button{

    border:none;

    background:none;

    color:#fff;

    font-size:22px;

    cursor:pointer;

}


.chat-messages{

    flex:1;

    overflow-y:auto;

    padding:18px;

    background:#f3f6fb;

}

.bot-message{

    background:#fff;

    padding:14px;

    border-radius:14px;

    margin-bottom:12px;

    max-width:85%;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

}

.user-message{

    background:#0057b8;

    color:#fff;

    padding:14px;

    border-radius:14px;

    margin-bottom:12px;

    margin-left:auto;

    max-width:85%;

}


.quick-buttons{

    padding:12px;

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    background:#fff;

    border-top:1px solid #eee;

}

.quick-btn{

    border:none;

    background:#eef4ff;

    color:#0057b8;

    border-radius:20px;

    padding:8px 14px;

    cursor:pointer;

    transition:.25s;

}

.quick-btn:hover{

    background:#0057b8;

    color:#fff;

}


.chat-input{

    display:flex;

    border-top:1px solid #ddd;

}

.chat-input input{

    flex:1;

    border:none;

    padding:16px;

    font-size:15px;

    outline:none;

}

.chat-input button{

    width:70px;

    border:none;

    background:#0057b8;

    color:#fff;

    cursor:pointer;

    font-size:20px;

}


@media(max-width:600px){

.chat-window{

    width:100%;

    height:100%;

    right:0;

    bottom:0;

    border-radius:0;

}

.chat-toggle{

    right:15px;

    bottom:15px;

}

}