/* ===================================
   VERIFIKASI CHATBOT SAPAPAJAK
=================================== */

.chat-card{
    width:100%;
    height:100%;
    background:#fff;
    border-radius:0px;
    overflow:hidden;
    box-shadow:none;
}

/* ================= HEADER ================= */

.chat-header{
    height:120px;
    padding:22px 24px;
}

.chat-header h2{
    font-size:18px;
    margin-bottom:8px;
}

.chat-header p{
    font-size:14px;
    line-height:1.5;
}

/* ================= BODY ================= */

.verify-body{
    padding:30px 0 30px;
}

/* kartu putih */

.form-box{
    background:#fff;
    width:88%;
    margin:-20px auto 0;
    padding:20px;
    border-radius:10px;
    position:relative;
    z-index:10;

    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

/* ================= INPUT ================= */

.verify-input{

    display:flex;

    margin-bottom:14px;
}

.icon-box{

    width:44px;
    height:44px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef7ef;
    border-radius:8px 0 0 8px;
    color:#696cff;
    font-size:18px;
}

.verify-input input{

    flex:1;

    height:44px;

    border:none;

    background:#fafafa;

    padding:0 18px;

    font-size:14px;

    border-radius:0 8px 8px 0;

    outline:none;
}

.verify-input input::placeholder{

    color:#c5c5c5;
}

.verify-input input:focus{

    background:#fff;

    box-shadow:0 0 0 2px rgba(105,108,255,.15);
}

/* ================= BUTTON ================= */

.btn-chat{
    display:block;
    width:150px;
    height:40px;
    margin:20px auto 0;   /* auto kiri-kanan membuat tombol berada di tengah */
    border:none;
    border-radius:40px;
    background:#696cff;
    color:#fff;
    font-size:14px;
    font-weight:600;
    transition:.3s;
}

.btn-chat:hover{

    transform:translateY(-2px);

    background:#5b5ef8;
}

/* =============================
   FOOTER
============================= */

.chat-footer{

    height:45px;

    display:flex;

    align-items:center;
    justify-content:center;

    background:#fff;

    border-top:1px solid #e5e7eb;

    font-size:13px;

    color:#6b7280;
}

.chat-footer strong{

    margin-left:4px;

    color:#111827;
}

#chatbotButton{
    position:fixed;
    bottom:25px;
    right:25px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#696cff;
    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    z-index:9999;

    box-shadow:0 5px 20px rgba(0,0,0,.2);
}

#chatbotButton i{
    font-size:32px;
}

#chatbotBox{
    position:fixed;

    bottom:100px;
    right:25px;

    width:480px;
    height:520px;

    max-width:calc(100vw - 30px);
    max-height:calc(100vh - 120px);

    background:#fff;

    border-radius:15px;

    overflow:hidden;

    display:none;

    z-index:9999;

    box-shadow:0 10px 30px rgba(0,0,0,.25);
}


/* TABLET */

@media (max-width:768px){

    #chatbotBox{
        width:420px;
        height:520px;

        right:15px;
        bottom:90px;

        max-width:calc(100vw - 30px);
        max-height:calc(100vh - 110px);
    }

}


/* HP */

@media (max-width:576px){

    #chatbotBox{
        left:10px;
        right:10px;

        bottom:80px;

        width:auto;
        height:75vh;

        max-width:none;
        max-height:none;

        border-radius:12px;
    }

    #chatbotButton{
        width:55px;
        height:55px;

        right:15px;
        bottom:15px;
    }

    #chatbotButton i{
        font-size:27px;
    }

    .chat-popup-header{
        height:52px;

        padding:0 15px;

        font-size:15px;
    }

    .chat-body{
        height:calc(100% - 52px);
    }

}