/* Floating AI Button */

.scpm-ai-btn{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    background:linear-gradient(135deg,#ff6b00,#ff9800);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:999999;
    box-shadow:0 8px 30px rgba(0,0,0,.25);
    transition:.3s;
}

.scpm-ai-btn:hover{
    transform:scale(1.08);
}

.scpm-ai-btn{
    background: #002147 !important;
}

/* Popup */

.scpm-chat-box{

    position:fixed;

    right:25px;

    bottom:100px;

    width:370px;

    height:560px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    display:none;

    flex-direction:column;

    box-shadow:0 15px 40px rgba(0,0,0,.25);

    z-index:999999;

}

/* Header */

.scpm-chat-header{

    background:#002147;

    color:#fff;

    padding:18px;

    font-size:18px;

    font-weight:600;

}

/* Messages */

.scpm-chat-body{

    flex:1;

    padding:15px;

    overflow:auto;

    background:#f4f6fa;

}

.bot-msg{

    background:#ffffff;

    padding:10px 14px;

    border-radius:10px;

    margin-bottom:10px;

    width:fit-content;

    max-width:85%;

    box-shadow:0 2px 6px rgba(0,0,0,.08);

}

.user-msg{

    background:#ff6b00;

    color:#fff;

    padding:10px 14px;

    border-radius:10px;

    margin-left:auto;

    margin-bottom:10px;

    width:fit-content;

    max-width:85%;

}

/* Footer */

.scpm-chat-footer{

    display:flex;

    border-top:1px solid #ddd;

}

.scpm-chat-footer input{

    flex:1;

    border:none;

    padding:15px;

    outline:none;

}

.scpm-chat-footer button{

    width:70px;

    border:none;

    background:#ff6b00;

    color:#fff;

    cursor:pointer;

}

/* Mobile */

@media(max-width:768px){

.scpm-chat-box{

width:95%;

right:2.5%;

height:75vh;

}

}