.wplc-widget { position: fixed; bottom: 70px; left: 20px; width: 320px; background: #fff; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.2); z-index: 9999; overflow: hidden; display: flex; flex-direction: column; font-family: sans-serif; }
.wplc-widget-header { background: #2271b1; color: #fff; padding: 15px; text-align: center; cursor: pointer; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
.wplc-close-icon { font-size: 14px; cursor: pointer; }
.wplc-widget-body { display: none; padding: 10px; }
.wplc-messages-box { height: 250px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-bottom: 10px; scroll-behavior: smooth; }
.msg-me { background: #2271b1; color: #fff; padding: 8px 12px; border-radius: 10px 10px 10px 0; align-self: flex-start; max-width: 80%; line-height: 1.5; }
.msg-admin { background: #f1f1f1; color: #333; padding: 8px 12px; border-radius: 10px 10px 0 10px; align-self: flex-end; max-width: 80%; line-height: 1.5; }
.wplc-input-area { display: flex; gap: 5px; border-top: 1px solid #eee; padding-top: 10px; }
.wplc-input-area input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 20px; outline: none; }
.wplc-input-area input:focus { border-color: #2271b1; }
.wplc-input-area button { background: #2271b1; color: #fff; border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; }
.wplc-toggle-btn { position: fixed; bottom: 20px; left: 20px; width: 42px; height: 42px; background: #2271b1; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; line-height: 1; padding: 0; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.25); z-index: 9999; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.wplc-toggle-btn:hover { transform: scale(1.06); box-shadow: 0 6px 14px rgba(0,0,0,0.3); }
#wplc-notification-badge { position: absolute; top: -3px; right: -3px; background: #ff3b30; color: #fff; font-size: 10px; font-weight: bold; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; animation: pop 0.3s ease; }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }