.ugo-livechat-root { position: fixed; right: 20px; bottom: 20px; z-index: 2147483000; font-family: Arial, sans-serif; }
.ugo-livechat-trigger-bubble { position: absolute; right: 0; bottom: 62px; display: flex; align-items: flex-start; gap: 8px; width: 270px; border: 1px solid rgba(29,94,83,.14); border-radius: 14px; background: #fff; color: #202020; padding: 5px 5px 5px 14px; box-shadow: 0 10px 28px rgba(0,0,0,.22); animation: ugo-livechat-bubble-in .22s ease-out; }
.ugo-livechat-trigger-bubble::after { content: ''; position: absolute; right: 20px; bottom: -8px; border: 8px solid transparent; border-top-color: #fff; border-bottom: 0; }
.ugo-livechat-trigger-bubble__copy { flex: 1; border: 0; background: transparent; color: inherit; padding: 8px 0; text-align: left; font: inherit; font-size: 14px; line-height: 1.35; cursor: pointer; }
.ugo-livechat-trigger-bubble__close { width: 30px; height: 30px; border: 0; border-radius: 999px; background: #edf4f2; color: #1d5e53; font: 24px/1 Arial, sans-serif; cursor: pointer; }
.ugo-livechat-trigger-bubble__close:hover { background: #d9ebe6; }
@keyframes ugo-livechat-bubble-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.ugo-livechat-launcher { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 999px; background: var(--ugo-livechat-launcher-color, #1d5e53); color: #fff; padding: 12px 17px 12px 13px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 7px 25px rgba(0,0,0,.22); transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.ugo-livechat-launcher:hover { box-shadow: 0 10px 28px rgba(0,0,0,.25); filter: brightness(.88); transform: translateY(-1px); }
.ugo-livechat-launcher-icon { display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.16); }
.ugo-livechat-launcher-icon svg { width: 18px; height: 18px; fill: currentColor; }
.ugo-livechat-panel { position: absolute; right: 0; bottom: 60px; width: min(360px, calc(100vw - 28px)); overflow: hidden; border-radius: 14px; background: #fff; color: #202020; box-shadow: 0 14px 42px rgba(0,0,0,.28); }
.ugo-livechat-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #1d5e53; color: #fff; }
.ugo-livechat-header strong, .ugo-livechat-header small { display: block; }.ugo-livechat-header small { margin-top: 2px; opacity: .86; font-size: 12px; }.ugo-livechat-minimize { border: 0; background: transparent; color: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.ugo-livechat-messages { display: flex; flex-direction: column; gap: 8px; height: 270px; overflow-y: auto; padding: 16px; background: #fafafa; }.ugo-livechat-message { max-width: 85%; padding: 9px 11px; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.35; }.ugo-livechat-message--agent { align-self: flex-start; background: #e8eeec; }.ugo-livechat-message--visitor { align-self: flex-end; background: #1d5e53; color: #fff; }
.ugo-livechat-privacy { margin: 0; padding: 8px 13px; color: #606060; font-size: 11px; line-height: 1.3; }.ugo-livechat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #e6e6e6; }.ugo-livechat-input { min-width: 0; flex: 1; resize: none; border: 1px solid #c5c5c5; border-radius: 8px; padding: 8px; font: inherit; font-size: 14px; }.ugo-livechat-send { border: 0; border-radius: 8px; background: #1d5e53; color: #fff; padding: 0 12px; font: inherit; cursor: pointer; }.ugo-livechat-send:disabled { opacity: .6; cursor: wait; }.ugo-livechat-status[data-state="error"] { color: #ffd1d1; }.ugo-livechat-status[data-state="outside-hours"] { color: #ffe1a6; }.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 480px) { .ugo-livechat-root { right: 14px; bottom: 14px; }.ugo-livechat-panel { position: fixed; right: 14px; bottom: 72px; }.ugo-livechat-messages { height: min(48vh, 350px); }.ugo-livechat-launcher-label { display: none; } }
