#pcb-trigger {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    transition: transform 0.3s;
}
#pcb-trigger:hover { transform: scale(1.05); }

#pcb-trigger img {
    max-width: 90px;
    max-height: 120px;
    width: auto;
    height: auto;
    filter: none;
    object-fit: contain;
}

#pcb-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    display: none;
    animation: pop 0.5s ease-out;
}
@keyframes pop { 0% {transform: scale(0);} 100% {transform: scale(1);} }

#pcb-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: var(--pcb-w-desk);
    height: var(--pcb-h-desk);
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 9999;
    background: transparent !important;
    border: none !important;
}

.pcb-persona-img {
    position: absolute;
    bottom: var(--pcb-h-desk);
    right: 0;
    width: 80%;
    max-height: 250px;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.pcb-chat-window {
    background: #E5DDD5;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

.pcb-header { background: #075E54; color: white; padding: 10px 15px; display: flex; align-items: center; gap: 10px; }
.pcb-header img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pcb-header-info { display: flex; flex-direction: column; flex-grow: 1; }
.pcb-header-info strong { font-size: 15px; }
#pcb-status { font-size: 12px; color: #d1d1d1; }
#pcb-close { background: transparent; border: none; color: white; font-size: 18px; cursor: pointer; }

#pcb-body {
    flex-grow: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
}

.pcb-bubble { max-width: 80%; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.4; word-wrap: break-word; box-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.pcb-bot { background: #FFFFFF; align-self: flex-start; border-top-left-radius: 0; }
.pcb-user { background: #DCF8C6; align-self: flex-end; border-top-right-radius: 0; }

.pcb-options { display: flex; flex-direction: column; gap: 5px; align-items: flex-end; margin-top: 5px; }
.pcb-options button { background: #fff; border: 1px solid #25D366; color: #075E54; padding: 8px 15px; border-radius: 20px; cursor: pointer; font-size: 13px; transition: 0.2s; }
.pcb-options button:hover { background: #DCF8C6; }

#pcb-input-area { padding: 10px; background: #F0F0F0; display: flex; gap: 10px; }
#pcb-text-input { flex-grow: 1; padding: 12px 15px; border: none; border-radius: 25px; outline: none; }
#pcb-send-btn { background: #25D366; color: white; border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; font-size: 16px; }

@media (max-width: 600px) {
    #pcb-container { width: var(--pcb-w-mob); height: var(--pcb-h-mob); bottom: 0; right: 0; }
    .pcb-chat-window { border-radius: 0; }
    .pcb-persona-img { display: none; }
}