.fastchat-pos-br{ align-items:flex-end; flex-direction:column-reverse; }
.fastchat-pos-bl{ align-items:flex-start; flex-direction:column-reverse; }
.fastchat-pos-tr{ align-items:flex-end; flex-direction:column; }
.fastchat-pos-tl{ align-items:flex-start; flex-direction:column; }
.fastchat-widget{ position:fixed; z-index:99999; font-family:inherit; display:flex; gap:10px; }
.fastchat-widget .fastchat-bubble{ border:0; cursor:pointer; padding:10px 12px; border-radius:999px; box-shadow:0 8px 22px rgba(0,0,0,.18); background:#111; color:#fff; display:flex; align-items:center; gap:8px; }
.fastchat-widget .fastchat-bubble-dot{ width:10px; height:10px; border-radius:50%; background:#2ecc71; display:inline-block; }
.fastchat-widget .fastchat-panel{ width:320px; height:420px; display:none; border-radius:14px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,.25); background:#fff; margin-bottom:10px; }
.fastchat-widget .fastchat-header{ background:#111; color:#fff; padding:10px 12px; display:flex; align-items:center; justify-content:space-between; }
.fastchat-widget .fastchat-close{ border:0; background:transparent; color:#fff; font-size:22px; line-height:1; cursor:pointer; }
.fastchat-widget .fastchat-body{ display:flex; flex-direction:column; height:calc(100% - 44px); }
.fastchat-widget .fastchat-messages{ flex:1; padding:10px; overflow:auto; background:#f7f7f7; }
.fastchat-widget .fastchat-msg{ margin:8px 0; }
.fastchat-widget .fastchat-bubblemsg{ display:inline-block; padding:8px 10px; border-radius:12px; max-width:85%; white-space:pre-wrap; word-break:break-word; }
.fastchat-widget .fastchat-customer .fastchat-bubblemsg{ background:#111; color:#fff; margin-left:auto; }
.fastchat-widget .fastchat-employee .fastchat-bubblemsg{ background:#fff; border:1px solid #ddd; }
.fastchat-widget .fastchat-system .fastchat-bubblemsg{ background:#e8f4ff; border:1px solid #cfe7ff; }
.fastchat-widget .fastchat-time{ font-size:11px; color:#777; margin-top:2px; }
.fastchat-widget .fastchat-ident, .fastchat-widget .fastchat-compose{ padding:10px; border-top:1px solid #eee; background:#fff; display:flex; gap:8px; }
.fastchat-widget .fastchat-ident{ flex-direction:column; gap:8px; }
.fastchat-widget input{ width:100%; border:1px solid #ddd; border-radius:10px; padding:10px; }
.fastchat-widget .fastchat-start, .fastchat-widget .fastchat-send{ border:0; border-radius:10px; padding:10px 12px; background:#111; color:#fff; cursor:pointer; }
.fastchat-widget .fastchat-send{ width:84px; }

.fastchat-widget .fastchat-panel.fastchat-open{ display:block !important; }
