.user-chat-wrap{z-index:9000;flex-direction:column;align-items:flex-end;gap:12px;display:flex;position:fixed;bottom:88px;right:24px}.uchat-toggle-btn{background:var(--gradient-primary);cursor:pointer;color:#fff;border:none;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;transition:transform .2s,box-shadow .2s;display:flex;position:relative;box-shadow:0 8px 32px #0ea5e966}.uchat-toggle-btn:hover{transform:scale(1.08);box-shadow:0 12px 40px #0ea5e980}.uchat-unread-badge{color:#fff;border:2px solid var(--bg-primary);background:#ef4444;border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 4px;font-size:.65rem;font-weight:700;display:flex;position:absolute;top:-4px;right:-4px}.user-chat-window{flex-direction:column;width:340px;height:480px;animation:.25s fade-up;display:flex;overflow:hidden;border-radius:20px!important;box-shadow:0 24px 64px #00000080!important}.uchat-header{background:linear-gradient(135deg,#0ea5e9 0%,#6366f1 100%);justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.uchat-header-info{align-items:center;gap:10px;display:flex}.uchat-admin-avatar{color:#fff;background:#fff3;border:2px solid #fff6;border-radius:50%;justify-content:center;align-items:center;width:38px;height:38px;font-family:Outfit,sans-serif;font-size:1rem;font-weight:800;display:flex}.uchat-admin-name{color:#fff;margin:0;font-size:.9rem;font-weight:700}.uchat-status{color:#fffc;margin:0;font-size:.7rem}.uchat-status.online{color:#a7f3d0}.uchat-status.offline{color:#ffffff80}.uchat-close-btn{color:#fff;cursor:pointer;background:#ffffff26;border:none;border-radius:50%;justify-content:center;align-items:center;width:30px;height:30px;transition:background .2s;display:flex}.uchat-close-btn:hover{background:#ffffff4d}.uchat-messages{background:var(--bg-primary);flex-direction:column;flex:1;gap:8px;padding:12px;display:flex;overflow-y:auto}.uchat-messages::-webkit-scrollbar{width:4px}.uchat-messages::-webkit-scrollbar-track{background:0 0}.uchat-messages::-webkit-scrollbar-thumb{background:var(--border);border-radius:4px}.uchat-empty{color:var(--text-muted);text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:8px;padding:20px;font-size:.85rem;display:flex}.uchat-empty svg{opacity:.4;font-size:2rem}.uchat-bubble-row{align-items:flex-end;gap:8px;display:flex}.uchat-bubble-row.sent{flex-direction:row-reverse}.uchat-bubble-avatar{background:var(--gradient-primary);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:28px;min-width:28px;height:28px;font-size:.7rem;font-weight:800;display:flex}.uchat-bubble{border-radius:18px;max-width:75%;padding:10px 14px;font-size:.875rem;line-height:1.5}.uchat-bubble p{word-break:break-word;margin:0 0 4px}.uchat-bubble.received{background:var(--bg-card);border:1px solid var(--border);color:var(--text-primary);border-bottom-left-radius:6px}.uchat-bubble.sent{background:var(--gradient-primary);color:#fff;border-bottom-right-radius:6px}.uchat-time{opacity:.65;font-size:.65rem;display:block}.uchat-input-row{border-top:1px solid var(--border);background:var(--bg-card);gap:8px;padding:10px 12px;display:flex}.uchat-input{background:var(--input-bg);border:1px solid var(--border);color:var(--text-primary);border-radius:12px;outline:none;flex:1;padding:10px 14px;font-family:Inter,sans-serif;font-size:.875rem;transition:border-color .2s}.uchat-input:focus{border-color:var(--primary)}.uchat-send-btn{background:var(--gradient-primary);cursor:pointer;color:#fff;border:none;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:40px;transition:transform .2s,opacity .2s;display:flex}.uchat-send-btn:hover:not(:disabled){transform:scale(1.1)}.uchat-send-btn:disabled{opacity:.4;cursor:not-allowed}@media (width<=600px){.user-chat-wrap{bottom:80px;right:16px}.user-chat-window{width:calc(100vw - 32px);height:60vh;max-height:480px}.user-chat-wrap.is-open{z-index:99999;background:var(--bg-primary);width:100vw;height:100vh;inset:0}.user-chat-wrap.is-open .user-chat-window{width:100vw;height:100vh;max-height:none;box-shadow:none!important;border-radius:0!important}.user-chat-wrap.is-open .uchat-toggle-btn{display:none}}
