.chat-widget-root{position:fixed;z-index:1080;pointer-events:none}.chat-widget-root>*{pointer-events:auto}.chat-widget-bottom-right{right:1.25rem;bottom:1.25rem}.chat-widget-bottom-left{left:1.25rem;bottom:1.25rem}.chat-widget-bubble{width:56px;height:56px;border-radius:50%;border:none;background:var(--bs-primary, #0d6efd);color:#fff;font-size:1.4rem;box-shadow:0 6px 18px #0000002e;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform .15s ease,box-shadow .15s ease}.chat-widget-bubble:hover{transform:translateY(-2px);box-shadow:0 10px 24px #00000038}.chat-widget-window{width:340px;max-width:calc(100vw - 2rem);height:480px;max-height:calc(100vh - 4rem);background:var(--bs-body-bg, #fff);color:var(--bs-body-color, inherit);border-radius:12px;box-shadow:0 12px 36px #00000038;display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--bs-border-color, rgba(0,0,0,.1))}.chat-widget-header{padding:.65rem 1rem;background:var(--bs-primary, #0d6efd);color:#fff;display:flex;align-items:center;justify-content:space-between;flex:0 0 auto}.chat-widget-title{font-weight:600;font-size:.95rem}.chat-widget-header-actions{display:flex;align-items:center;gap:.5rem}.chat-widget-close,.chat-widget-refresh{background:none;border:none;color:#fff;line-height:1;cursor:pointer;padding:0 .25rem}.chat-widget-close{font-size:1.4rem}.chat-widget-refresh{font-size:.9rem;opacity:.85}.chat-widget-refresh:hover{opacity:1}.chat-widget-messages{flex:1 1 auto;overflow-y:auto;padding:.75rem;display:flex;flex-direction:column;gap:.5rem}.chat-widget-msg{max-width:80%;padding:.5rem .75rem;border-radius:10px;font-size:.875rem;line-height:1.35;word-break:break-word}.chat-widget-msg-sender{font-size:.7rem;opacity:.7;margin-bottom:.15rem}.chat-msg-you{align-self:flex-end;background:var(--bs-primary, #0d6efd);color:#fff}.chat-msg-you .chat-widget-msg-sender{color:#ffffffd9}.chat-msg-agent{align-self:flex-start;background:var(--bs-secondary-bg, #e9ecef)}.chat-widget-form{flex:0 0 auto;border-top:1px solid var(--bs-border-color, rgba(0,0,0,.1));padding:.5rem;display:flex;gap:.5rem;background:var(--bs-body-bg, #fff)}.chat-widget-form input{flex:1 1 auto}.chat-widget-send{flex:0 0 auto;width:38px;display:flex;align-items:center;justify-content:center}
