/* ================= CHATBOT ================= */

.chatbot{
    position:fixed;
    right:20px;
    bottom:20px;
    z-index:99999;
}

/* ================= CHAT ICON ================= */

.chat-icon{
    width:78px;
    height:78px;
    border-radius:50%;
    cursor:pointer;
    object-fit:cover;
    animation:bounce 2s infinite;
    box-shadow:0 10px 30px rgba(0,0,0,0.25);
}

/* ================= CHAT BOX ================= */

.chat-box{
    width:360px;
    height:500px;
    background:rgba(17,24,39,0.96);
    border-radius:28px;
    overflow:hidden;
    display:none;
    flex-direction:column;
    margin-bottom:15px;
    backdrop-filter:blur(15px);
    box-shadow:0 20px 60px rgba(0,0,0,0.35);
    animation:fadeIn .4s ease;
}

/* ================= CHAT HEADER ================= */

.chat-header{
    background:linear-gradient(135deg,#06b6d4,#ec4899);
    padding:18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    color:#fff;
}

/* ================= HEADER LEFT ================= */

.chat-head-left{
    display:flex;
    align-items:center;
    gap:12px;
}

/* ================= HEADER IMAGE ================= */

.chat-header img{
    width:52px;
    height:52px;
    border-radius:50%;
    object-fit:cover;
    background:#fff;
}

/* ================= HEADER TEXT ================= */

.chat-header h3{
    margin:0;
    font-size:17px;
}

.chat-header p{
    margin:0;
    font-size:13px;
    opacity:0.9;
}

/* ================= CLOSE BUTTON ================= */

#closeChat{
    width:38px;
    height:38px;
    border:none;
    border-radius:50%;
    background:rgba(255,255,255,0.2);
    color:#fff;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

#closeChat:hover{
    background:#fff;
    color:#111827;
}

/* ================= CHAT BODY ================= */

.chat-body{
    padding:18px;
    height:100%;
    overflow-y:auto;
    background:#0f172a;
    color:#fff;
}

/* ================= BOT MESSAGE ================= */

.bot-msg{
    background:#1e293b;
    padding:14px;
    border-radius:18px;
    margin-bottom:14px;
    line-height:1.8;
    color:#fff;
    font-size:14px;
    animation:fadeIn .4s ease;
}

/* ================= USER MESSAGE ================= */

.user-msg{
    background:linear-gradient(135deg,#06b6d4,#ec4899);
    padding:14px;
    border-radius:18px;
    margin-bottom:14px;
    text-align:right;
    color:#fff;
    font-size:14px;
    animation:fadeIn .4s ease;
}

/* ================= QUICK OPTIONS ================= */

.quick-options{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:15px;
}

.quick-options button{
    border:none;
    padding:10px 14px;
    border-radius:30px;
    background:linear-gradient(135deg,#06b6d4,#ec4899);
    color:#fff;
    cursor:pointer;
    font-size:13px;
    transition:.3s;
}

.quick-options button:hover{
    transform:translateY(-4px);
}

/* ================= CHAT INPUT ================= */

.chat-input{
    display:flex;
    align-items:center;
    background:#111827;
    border-top:1px solid rgba(255,255,255,0.08);
}

.chat-input input{
    flex:1;
    padding:16px;
    border:none;
    outline:none;
    background:transparent;
    color:#fff;
    font-size:14px;
}

.chat-input input::placeholder{
    color:#94a3b8;
}

.chat-input button{
    width:60px;
    height:60px;
    border:none;
    background:linear-gradient(135deg,#06b6d4,#ec4899);
    color:#fff;
    cursor:pointer;
    font-size:18px;
}

/* ================= SCROLLBAR ================= */

.chat-body::-webkit-scrollbar{
    width:6px;
}

.chat-body::-webkit-scrollbar-thumb{
    background:#334155;
    border-radius:20px;
}

/* ================= FLOATING EMAIL ================= */

.floating-buttons{
    position:fixed;
    right:20px;
    bottom:120px;
    z-index:9999;
}

.float-btn{
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#06b6d4,#ec4899);
    color:#fff;
    font-size:24px;
    text-decoration:none;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
    transition:.3s;
}

.float-btn:hover{
    transform:translateY(-4px);
}

/* ================= WHATSAPP BUTTON ================= */

.whatsapp-btn{
    position:fixed;
    left:20px;
    bottom:20px;
    width:65px;
    height:65px;
    background:#25d366;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    color:#fff;
    z-index:99999;
    text-decoration:none;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
    animation:bounce 2s infinite;
    transition:.3s;
}

.whatsapp-btn:hover{
    transform:translateY(-4px);
}

/* ================= BACK TO TOP ================= */

#topBtn{
    position:fixed;
    right:20px;
    bottom:110px;
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    background:linear-gradient(135deg,#06b6d4,#ec4899);
    color:#fff;
    font-size:22px;
    cursor:pointer;
    display:none;
    z-index:99999;
    box-shadow:0 10px 30px rgba(0,0,0,0.3);
    transition:.3s;
}

#topBtn:hover{
    transform:translateY(-4px);
}

/* ================= ANIMATIONS ================= */

@keyframes bounce{

    0%,100%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

}

@keyframes fadeIn{

    from{
        opacity:0;
        transform:translateY(10px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/* ================= MOBILE ================= */

@media(max-width:480px){

    .chat-box{
        width:95vw;
        height:75vh;
    }

    .chat-icon{
        width:65px;
        height:65px;
    }

    .whatsapp-btn{
        width:58px;
        height:58px;
        font-size:28px;
        left:15px;
        bottom:15px;
    }

    #topBtn{
        width:50px;
        height:50px;
        font-size:20px;
    }

    .floating-buttons{
        bottom:100px;
        right:15px;
    }

}