#q-launcher{
    position:fixed;
    right:25px;
    bottom:25px;
    width:68px;
    height:68px;
    border-radius:50%;
    background:linear-gradient(135deg,#0d6efd,#13c6ff);
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:999999;
    box-shadow:0 10px 35px rgba(0,0,0,.25);
    transition:.3s;
}

#q-launcher:hover{
    transform:scale(1.06);
}

#q-launcher img{
    width:34px;
    height:34px;
}

#q-chat-panel{
    position:fixed;
    right:25px;
    bottom:110px;

    width:360px;
    height:620px;

    background:#f4f5f8;
    border-radius:24px;

    overflow:hidden;

    display:flex;
    flex-direction:column;

    box-shadow:0 20px 60px rgba(0,0,0,.25);

    z-index:999998;

    opacity:0;
    visibility:hidden;
    transform:translateY(20px);

    transition:.25s;
}

#q-chat-panel.open{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

#q-header{
    background:linear-gradient(135deg,#0d6efd,#13c6ff);
    color:#fff;
    padding:22px;
    font-size:24px;
    font-weight:700;
}

#q-header::after{
    content:'● Online';
    display:block;
    font-size:13px;
    margin-top:4px;
    opacity:.9;
}

#q-messages{
    flex:1;
    overflow-y:auto;
    padding:20px;
}

.q-msg{
    max-width:85%;
    padding:14px 18px;
    border-radius:18px;
    margin-bottom:14px;
    font-size:15px;
    line-height:1.5;
}

.q-msg.bot{
    background:#fff;
    color:#1b2c40;
    border-bottom-left-radius:8px;
}

.q-msg.user{
    background:linear-gradient(135deg,#0d6efd,#13c6ff);
    color:#fff;
    margin-left:auto;
    border-bottom-right-radius:8px;
}

#q-input-area{
    display:flex;
    align-items:center;
    gap:10px;
    padding:14px;
    background:#fff;
    border-top:1px solid #edf1f7;
}

#q-upload-btn{
    width:42px;
    height:42px;
    min-width:42px;
    border-radius:12px;
    background:#f1f4f9;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:18px;
}

#q-file-upload{
    display:none;
}

#q-input{
    flex:1;
    height:46px;
    border:none;
    outline:none;
    background:#f5f7fb;
    border-radius:24px;
    padding:0 16px;
    font-size:15px;
}

#q-send{
    width:50px;
    height:50px;
    min-width:50px;
    border:none;
    border-radius:50%;
    background:linear-gradient(135deg,#0d6efd,#13c6ff);
    color:#fff;
    font-size:22px;
    cursor:pointer;
}

#q-send img{
    width:24px;
    height:24px;
}

.q-quote-card{
    background:#fff;
    border-radius:18px;
    padding:16px;
    margin-top:10px;
}

.q-accept-btn{
    width:100%;
    height:42px;
    margin-top:12px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#0d6efd,#13c6ff);
    color:#fff;
    font-weight:600;
    cursor:pointer;
}

@media(max-width:768px){

    #q-chat-panel{
        width:100%;
        height:100%;
        right:0;
        bottom:0;
        border-radius:0;
    }

}