#thcc-chat-button{
position:fixed;
z-index:9999;
cursor:pointer;
transition:all .2s ease;
}

#thcc-chat-button img{
display:block;
height:auto;
}

/* Popup */

#thcc-popup{
display:none;
position:fixed;
background:#ffffff;
border-radius:12px;
box-shadow:0 15px 40px rgba(0,0,0,0.25);
padding:18px;
z-index:10000;
font-family:system-ui;
max-width:95%;
}

/* Header */

.thcc-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:10px;
border-bottom:1px solid #f1f1f1;
padding-bottom:8px;
}

.thcc-header-title{
font-size:18px;
font-weight:600;
}

.thcc-header-sub{
font-size:13px;
color:#777;
}

#thcc-close{
font-size:18px;
cursor:pointer;
color:#444;
line-height:1;
}

/* Status */

.thcc-status{
display:flex;
align-items:flex-start;
font-size:13px;
margin-bottom:10px;
line-height:1.4;
}

.thcc-status-dot{
width:7px;
height:7px;
background:#28c76f;
border-radius:50%;
margin-right:6px;
margin-top:4px;
flex-shrink:0;
}

#thcc-status small{
display:block;
font-size:11px;
color:#777;
margin-top:2px;
line-height:1.3;
}

/* Inputs */

#thcc-popup input,
#thcc-popup textarea{
width:100%;
padding:10px;
margin-bottom:8px;
border:1px solid #ddd;
border-radius:8px;
font-size:14px;
box-sizing:border-box;
transition:border .2s;
}

#thcc-popup input:focus,
#thcc-popup textarea:focus{
border-color:#25D366;
outline:none;
}

#thcc-popup textarea{
min-height:90px;
resize:vertical;
}

/* Button */

#thcc-popup button{
width:100%;
background:#25D366;
color:#fff;
border:none;
padding:11px;
font-size:15px;
border-radius:8px;
cursor:pointer;
font-weight:600;
transition:all .2s;
}

#thcc-popup button:hover{
background:#1ebe5d;
transform:translateY(-1px);
}

/* Footer */

.thcc-footer{
font-size:11px;
color:#777;
margin-top:8px;
text-align:center;
line-height:1.4;
}

/* Status Layout Fix */

#thcc-status{
display:flex;
align-items:flex-start;
gap:6px;
flex-wrap:wrap;
}

#thcc-status strong{
font-weight:600;
margin-right:4px;
}

.thcc-status-sub{
width:100%;
font-size:11px;
color:#777;
margin-left:13px;
margin-top:2px;
}

/* Mobile */

@media(max-width:768px){

#thcc-popup{
width:92%!important;
left:4%!important;
right:4%!important;
bottom:95px!important;
}

#thcc-chat-button img{
width:var(--thcc-mobile-size,65px);
}

#thcc-chat-button{
bottom:var(--thcc-mobile-bottom,95px);
right:var(--thcc-mobile-side,15px);
}

}