#nafah-chatbot{
    position:fixed;
    right:25px;
    bottom:25px;
    z-index:9999;
    font-family:Arial, sans-serif;
}


/* tombol */

#nafah-chatbot-toggle{

    width:65px;
    height:65px;

    border-radius:50%;

    border:none;

    background:#8B008B;

    color:white;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:
    0 5px 20px rgba(0,0,0,.3);

    transition:.3s;

}


#nafah-chatbot-toggle i{

    font-size:45px;

}


#nafah-chatbot-toggle:hover{

    transform:scale(1.1);

}

/* window */

#nafah-chatbot-window{

    display:none;

    width:350px;
    height:480px;

    background:white;

    position:absolute;

    right:0;
    bottom:75px;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 35px rgba(0,0,0,.25);

}



/* header */

.nafah-chat-header{

    background:#8B008B;

    color:white;

    padding:15px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}


.nafah-chat-header small{

    display:block;
    opacity:.8;

}



#nafah-chatbot-close{

    background:none;
    border:none;

    color:white;

    font-size:25px;

    cursor:pointer;

}



/* body */

#nafah-chat-body{

    height:325px;

    padding:15px;

    overflow-y:auto;

    background:#fafafa;

}



.nafah-message{

    padding:12px 15px;

    border-radius:15px;

    margin-bottom:10px;

    max-width:80%;

    font-size:14px;

}



.nafah-message.bot{

    background:#eee;

}



/* input */

.nafah-chat-input{

    display:flex;

    border-top:1px solid #ddd;

}



.nafah-chat-input input{

    flex:1;

    border:none;

    padding:15px;

    outline:none;

}



.nafah-chat-input button{

    width:55px;

    border:none;

    background:#ffffff;

    color:black;

    cursor:pointer;

}



/* mobile */

@media(max-width:480px){

    #nafah-chatbot{

        right:20px;
        bottom:85px;

    }

    #nafah-chatbot-window{

        width:calc(100vw - 30px);

        right:-5px;

        bottom:75px;

    }

}

.nafah-product-card{

    background:#fff;

    border-radius:14px;

    overflow:hidden;

    margin:10px 0;

    box-shadow:0 5px 18px rgba(0,0,0,.12);

    transition:.2s;

}

.nafah-product-card:hover{

    transform:translateY(-2px);

}

.nafah-product-card img{

    width:100%;

    height:170px;

    object-fit:cover;

}

.nafah-product-body{

    padding:12px;

}

.nafah-product-body h4{

    font-size:15px;

    margin-bottom:8px;

    line-height:1.4;

}

.nafah-price{

    color:#8B008B;

    font-weight:bold;

    font-size:18px;

}

.nafah-message.user{

    background:#8B008B;

    color:#fff;

    margin-left:auto;

    text-align:right;

}
.nafah-btn-whatsapp{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    background:#25D366;

    color:#fff !important;

    padding:10px 18px;

    border-radius:25px;

    text-decoration:none;

    font-size:14px;

    font-weight:bold;

    margin-top:10px;

    cursor:pointer;

}


.nafah-btn-whatsapp:hover{

    background:#1ebe5d;

    color:#fff !important;

}

.nafah-btn-detail{

    display:inline-block;

    margin-top:12px;

    padding:8px 18px;

    background:#8B008B;

    color:#fff !important;

    border-radius:20px;

    text-decoration:none;

    font-size:13px;

    font-weight:bold;

    transition:.3s;

}


.nafah-btn-detail:hover{

    background:#660066;

    color:#fff !important;

}


.nafah-chat-disclaimer{
    padding:6px 14px;
    font-size:10px;
    color:#8a8a8a;
    text-align:center;
    line-height:1.4;
    background:#fafafa;
}
.nafah-message.bot p{
    margin:0 0 10px;
    line-height:1.6;
}

.nafah-message.bot ul,
.nafah-message.bot ol{
    margin:8px 0 12px 22px;
    padding:0;
}

.nafah-message.bot li{
    margin:5px 0;
    line-height:1.6;
}

.nafah-message.bot h4{
    margin:10px 0;
    font-size:15px;
    color:#8B008B;
}

.nafah-message.bot a{
    color:#8B008B;
    text-decoration:none;
    font-weight:600;
}

.nafah-message.bot strong{
    font-weight:700;
}
/* CSS Document */

