/* ==============================
   ZOOM KINGKRETE AI CHATBOT CSS
   Glassmorphism Dark Theme
================================ */


#zk-chat-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 360px;
    max-width: calc(100% - 40px);
    background: rgba(15, 15, 20, 0.85);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.5),
        0 0 25px rgba(227,24,24,0.25);
    border: 1px solid rgba(255,255,255,0.1);
    display: none;
    flex-direction: column;
    z-index: 9999;
    animation: zkPopup .35s ease;
}


/* Opening animation */
@keyframes zkPopup {

    from {
        opacity:0;
        transform:translateY(30px) scale(.95);
    }

    to {
        opacity:1;
        transform:translateY(0) scale(1);
    }

}



/* =====================
      CHAT HEADER
===================== */

#zk-chat-header {

    background: linear-gradient(
        135deg,
        #111,
        #222
    );

    color:white;
    padding:15px 18px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    border-bottom:1px solid rgba(255,255,255,.1);

}


#zk-chat-header h3 {

    margin:0;
    font-size:16px;
    font-weight:600;

}


#zk-chat-close {

    cursor:pointer;
    font-size:22px;
    color:#fff;

}




/* =====================
      CHAT BODY
===================== */

#zk-chat-body {

    height:380px;
    overflow-y:auto;
    padding:18px;

    display:flex;
    flex-direction:column;
    gap:12px;

}



/* Scrollbar */

#zk-chat-body::-webkit-scrollbar {
    width:5px;
}


#zk-chat-body::-webkit-scrollbar-thumb {

    background:#e31818;
    border-radius:10px;

}



/* Messages */


.bot-message,
.user-message {

    padding:12px 16px;
    max-width:80%;
    font-size:14px;
    line-height:1.5;

}


.bot-message {

    background:rgba(255,255,255,.08);
    color:#fff;

    border-radius:18px 18px 18px 5px;

    align-self:flex-start;

}



.user-message {

    background:#e31818;
    color:white;

    border-radius:18px 18px 5px 18px;

    align-self:flex-end;

}



/* =====================
      FOOTER
===================== */


#zk-chat-footer {

    display:flex;

    padding:12px;

    background:rgba(0,0,0,.35);

    border-top:1px solid rgba(255,255,255,.1);

}



#zk-message {

    flex:1;

    background:rgba(255,255,255,.1);

    border:none;

    outline:none;

    color:white;

    padding:12px 15px;

    border-radius:30px;

}



#zk-message::placeholder {

    color:#aaa;

}



#zk-send-btn {


    width:45px;
    height:45px;

    margin-left:8px;

    border-radius:50%;

    border:none;

    cursor:pointer;

    background:#e31818;

    color:white;

    font-size:18px;

    transition:.3s;

}



#zk-send-btn:hover {

    transform:scale(1.1);

    background:#ff3333;

}



/* =====================
      FLOATING BUTTON
===================== */


#zk-chat-toggle {

    position:fixed;

    bottom:25px;

    right:25px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#e31818;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:28px;

    cursor:pointer;

    box-shadow:
    0 0 20px rgba(227,24,24,.6);

    z-index:9998;

    transition:.3s;

}



#zk-chat-toggle:hover {

    transform:scale(1.1);

}



/* =====================
      MOBILE
===================== */


@media(max-width:480px){


#zk-chat-container {

    right:10px;
    bottom:15px;
    width:calc(100% - 20px);

}


#zk-chat-body {

    height:350px;

}


}
/* ==========================
   PREMIUM HEADER
========================== */

#zk-chat-header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:16px 18px;

    background:rgba(20,20,20,.95);

    border-bottom:1px solid rgba(255,255,255,.08);

}


.zk-header-left{

    display:flex;
    align-items:center;
    gap:12px;

}


.zk-avatar{

    width:46px;
    height:46px;

    border-radius:50%;

    background:linear-gradient(135deg,#e31818,#ff4d4d);

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:22px;

    box-shadow:0 0 15px rgba(227,24,24,.35);

}


.zk-title{

    color:#fff;

    font-size:15px;

    font-weight:600;

}


.zk-status{

    margin-top:3px;

    color:#9ca3af;

    font-size:12px;

}


.zk-dot{

    display:inline-block;

    width:8px;
    height:8px;

    background:#00ff66;

    border-radius:50%;

    margin-right:6px;

    box-shadow:0 0 10px #00ff66;

}


#zk-chat-close{

    color:#fff;

    font-size:22px;

    cursor:pointer;

    transition:.3s;

}


#zk-chat-close:hover{

    transform:rotate(90deg);

    color:#e31818;

}
/* ===========================
   SUGGESTION CHIPS
===========================*/

.zk-suggestions{

    display:flex;

    flex-wrap:wrap;

    gap:8px;

    margin-top:18px;

}

.zk-chip{

    background:rgba(255,255,255,.08);

    border:1px solid rgba(255,255,255,.12);

    color:#fff;

    padding:8px 14px;

    border-radius:25px;

    cursor:pointer;

    font-size:13px;

    transition:.3s;

}

.zk-chip:hover{

    background:#e31818;

    transform:translateY(-2px);

}