/* ==========================================
   CHATBOT WIDGET
========================================== */

.chatbot-toggle{
    position:fixed;
    bottom:24px;
    right:24px;
    width:60px;
    height:60px;
    border-radius:50%;
    background:linear-gradient(135deg,#14C5D8,#0FAABC);
    color:#fff;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    box-shadow:0 12px 30px rgba(20,197,216,.4);
    cursor:pointer;
    z-index:1050;
    transition:.25s;
}
.chatbot-toggle:hover{ transform:translateY(-4px); }

.chatbot-window{
    position:fixed;
    bottom:96px;
    right:24px;
    width:340px;
    max-width:90vw;
    max-height:70vh;
    background:#fff;
    border-radius:18px;
    box-shadow:0 20px 60px rgba(0,0,0,.2);
    display:flex;
    flex-direction:column;
    overflow:hidden;
    z-index:1050;
    opacity:0;
    transform:translateY(20px) scale(.96);
    pointer-events:none;
    transition:.25s ease;
}
.chatbot-window.open{
    opacity:1;
    transform:translateY(0) scale(1);
    pointer-events:auto;
}

.chatbot-header{
    background:linear-gradient(135deg,#14C5D8,#0FAABC);
    color:#fff;
    padding:16px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}
.chatbot-header h6{
    margin:0;
    font-weight:700;
    font-size:15px;
}
.chatbot-header span{
    display:block;
    font-size:11px;
    opacity:.85;
}
.chatbot-close{
    background:none;
    border:none;
    color:#fff;
    font-size:18px;
    cursor:pointer;
}

.chatbot-body{
    flex:1;
    overflow-y:auto;
    padding:16px;
    display:flex;
    flex-direction:column;
    gap:10px;
    background:#F8FBFC;
}

.chat-bubble{
    max-width:85%;
    padding:10px 14px;
    border-radius:14px;
    font-size:13px;
    line-height:1.5;
}
.chat-bubble.bot{
    background:#fff;
    color:#111827;
    border:1px solid #E5EDEF;
    align-self:flex-start;
    border-bottom-left-radius:4px;
}
.chat-bubble.user{
    background:var(--primary);
    color:#fff;
    align-self:flex-end;
    border-bottom-right-radius:4px;
}

.chatbot-questions{
    padding:12px 16px;
    border-top:1px solid #E5EDEF;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    background:#fff;
}
.chatbot-questions button{
    border:1px solid var(--primary);
    background:#fff;
    color:var(--primary);
    font-size:12px;
    font-weight:600;
    padding:7px 12px;
    border-radius:30px;
    cursor:pointer;
    transition:.2s;
}
.chatbot-questions button:hover{
    background:var(--primary);
    color:#fff;
}

@media(max-width:480px){
    .chatbot-window{ right:12px; left:12px; width:auto; bottom:88px; }
    .chatbot-toggle{ right:16px; bottom:16px; }
}
