#jptc-chat-button{
    position:fixed;
    right:24px;
    bottom:24px;
    width:64px;
    height:64px;
    border-radius:50%;
    background:#fe2b2b;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    cursor:pointer;
    z-index:99999;
    box-shadow:0 10px 30px rgba(0,0,0,0.2);
}

#jptc-chat-box{
    position:fixed;
    right:24px;
    bottom:100px;
    width:340px;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 20px 60px rgba(0,0,0,0.2);
    z-index:99999;
    display:none;
}

.jptc-header{
    background:#fe2b2b;
    color:#fff;
    padding:16px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

#jptc-close{
    background:none;
    border:none;
    color:#fff;
    font-size:24px;
    cursor:pointer;
}

.jptc-body{
    padding:18px;
}

.jptc-body p{
    margin-top:0;
    font-size:14px;
    color:#555;
}

.jptc-body input,
.jptc-body textarea{
    width:100%;
    margin-bottom:12px;
    padding:12px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:14px;
    box-sizing:border-box;
}

.jptc-body textarea{
    height:120px;
    resize:none;
}

#jptc-send{
    width:100%;
    border:none;
    background:#111;
    color:#fff;
    padding:14px;
    border-radius:12px;
    font-size:15px;
    cursor:pointer;
}

#jptc-status{
    margin-top:12px;
    font-size:13px;
    text-align:center;
}

@keyframes jptc-pulse{
    0%{
        transform:scale(1);
        box-shadow:0 10px 30px rgba(0,0,0,0.2);
    }

    50%{
        transform:scale(1.08);
        box-shadow:0 12px 40px rgba(254,43,43,0.45);
    }

    100%{
        transform:scale(1);
        box-shadow:0 10px 30px rgba(0,0,0,0.2);
    }
}

@keyframes jptc-wiggle{
    0%,100%{
        transform:rotate(0deg);
    }

    25%{
        transform:rotate(-6deg);
    }

    75%{
        transform:rotate(6deg);
    }
}

#jptc-chat-button{
    animation:
        jptc-pulse 2.5s infinite,
        jptc-wiggle 6s infinite;
}

.jptc-help-bubble{
    position:fixed;
    right:100px;
    bottom:34px;
    background:#fff;
    padding:14px 18px;
    border-radius:16px;
    box-shadow:0 12px 40px rgba(0,0,0,0.18);
    z-index:99998;
    max-width:260px;
    animation:jptc-bubble-float 3s ease-in-out infinite;
}

.jptc-help-bubble strong{
    display:block;
    font-size:18px;
    color:#111;
    margin-bottom:6px;
}

.jptc-help-bubble span{
    color:#fe2b2b;
    font-weight:700;
    font-size:17px;
}

.jptc-help-bubble:after{
    content:'';
    position:absolute;
    right:-10px;
    bottom:22px;
    width:20px;
    height:20px;
    background:#fff;
    transform:rotate(45deg);
}

@keyframes jptc-bubble-float{
    0%,100%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-6px);
    }
}

@media (max-width: 768px) {
    .jptc-help-bubble {
        display: none !important;
    }
}

@media (max-width: 768px) {

    #jptc-chat-button{
        width:58px;
        height:58px;
        right:16px;
        bottom:16px;
        font-size:24px;
    }

    #jptc-chat-box{
        width:calc(100vw - 24px);
        right:12px;
        bottom:86px;
        border-radius:16px;
    }

    .jptc-body textarea{
        height:100px;
    }

}

.jptc-bubble-hidden{
    display:none !important;
}

