.support-chat-widget{position:fixed;right:20px;bottom:20px;z-index:220;pointer-events:none;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.support-chat-widget>*{pointer-events:auto}.support-chat-trigger{height:58px;border:0;border-radius:999px;padding:7px 18px 7px 8px;background:linear-gradient(135deg,#0cbd88,#078f6d);color:#fff;box-shadow:0 18px 45px rgba(4,111,85,.34);display:flex;align-items:center;gap:10px;position:relative;cursor:pointer;transition:.22s ease}.support-chat-trigger:hover{transform:translateY(-2px);box-shadow:0 22px 52px rgba(4,111,85,.4)}.support-chat-trigger-icon{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.17);display:grid;place-items:center;font-size:23px}.support-chat-trigger em{font-style:normal;font-size:12px;font-weight:800}.support-chat-trigger>i{position:absolute;width:10px;height:10px;border-radius:50%;background:#ff5b63;border:2px solid #fff;left:38px;top:4px}.support-chat-trigger>b{position:absolute;right:-3px;top:-7px;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#ff4d59;color:#fff;border:2px solid #fff;display:grid;place-items:center;font-size:10px}.support-chat-window{width:370px;height:min(600px,calc(100vh - 105px));background:#fff;border:1px solid #dce8e8;border-radius:24px;box-shadow:0 30px 80px rgba(4,47,51,.27);margin-bottom:12px;overflow:hidden;animation:supportChatIn .24s ease;display:flex;flex-direction:column}.support-chat-window[hidden]{display:none}@keyframes supportChatIn{from{opacity:0;transform:translateY(13px) scale(.97)}to{opacity:1;transform:none}}.support-chat-header{height:78px;flex:0 0 78px;padding:14px 16px;background:linear-gradient(135deg,#075257,#087d66);color:#fff;display:flex;align-items:center;gap:11px}.support-chat-avatar{width:46px;height:46px;border-radius:15px;background:#fff;color:#078064;display:grid;place-items:center;font-weight:900;box-shadow:0 7px 20px rgba(0,0,0,.12)}.support-chat-header>div{display:flex;flex-direction:column;min-width:0}.support-chat-header strong{font-size:14px}.support-chat-header small{font-size:10px;color:#bdebdc}.support-chat-header small i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#64e7ad;margin-right:4px}.support-chat-header button{margin-left:auto;width:36px;height:36px;border:0;border-radius:11px;background:rgba(255,255,255,.12);color:#fff;font-size:24px;line-height:1;cursor:pointer}.support-chat-start{padding:22px;background:linear-gradient(180deg,#f1faf7,#fff);overflow:auto;flex:1}.support-chat-welcome{background:#fff;border:1px solid #e1eceb;border-radius:18px;padding:18px;box-shadow:0 12px 30px rgba(7,62,65,.07);margin-bottom:17px}.support-chat-welcome>span{font-size:26px;display:block;margin-bottom:6px}.support-chat-welcome strong{display:block;font-size:14px;line-height:1.5;color:#173744}.support-chat-welcome p{font-size:11px;line-height:1.6;color:#71828b;margin:6px 0 0}.support-chat-start form{display:grid;gap:13px}.support-chat-start label{font-size:11px;font-weight:800;color:#294955}.support-chat-start label small{font-weight:500;color:#84939a}.support-chat-start input{display:block;width:100%;margin-top:6px;border:1px solid #d8e5e5;border-radius:12px;padding:12px 13px;outline:0;background:#fff;font-size:12px;color:#183842;transition:.2s}.support-chat-start input:focus{border-color:#18ad84;box-shadow:0 0 0 4px rgba(13,173,125,.1)}.support-chat-start form button{border:0;border-radius:13px;padding:13px 15px;background:linear-gradient(135deg,#0bb985,#079d75);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:space-between;cursor:pointer;box-shadow:0 12px 27px rgba(7,157,117,.23)}.support-chat-start form button:disabled,.support-chat-send:disabled{opacity:.65;cursor:not-allowed}.support-chat-conversation{display:flex;flex-direction:column;min-height:0;flex:1;background:#eef7f5}.support-chat-conversation[hidden]{display:none}.support-chat-messages{flex:1;overflow:auto;padding:17px 14px;display:flex;flex-direction:column;gap:9px;overscroll-behavior:contain}.support-chat-loading{margin:auto;display:flex;align-items:center;gap:8px;color:#70838b;font-size:11px}.support-chat-loading i{width:18px;height:18px;border-radius:50%;border:2px solid #cfe4df;border-top-color:#0aac7d;animation:chatSpin .8s linear infinite}@keyframes chatSpin{to{transform:rotate(360deg)}}.support-chat-system{align-self:center;background:rgba(255,255,255,.75);color:#73868e;border-radius:999px;padding:6px 10px;font-size:9px;text-align:center}.support-chat-message{max-width:82%;display:flex;flex-direction:column;gap:4px}.support-chat-message.visitor{align-self:flex-end;align-items:flex-end}.support-chat-message.admin{align-self:flex-start;align-items:flex-start}.support-chat-bubble-message{padding:10px 12px;border-radius:16px;font-size:11px;line-height:1.55;word-break:break-word;white-space:pre-wrap;box-shadow:0 5px 14px rgba(5,54,57,.06)}.support-chat-message.visitor .support-chat-bubble-message{background:linear-gradient(135deg,#0ab783,#079c74);color:#fff;border-bottom-right-radius:5px}.support-chat-message.admin .support-chat-bubble-message{background:#fff;color:#294852;border:1px solid #e0e9e9;border-bottom-left-radius:5px}.support-chat-message time{font-size:8px;color:#829198;padding:0 3px}.support-chat-image{display:block;max-width:230px;width:100%;border-radius:13px;object-fit:cover;max-height:260px;background:#dfeae8;cursor:pointer}.support-chat-image-wrap{padding:4px;border-radius:15px}.support-chat-message.visitor .support-chat-image-wrap{background:#089f75}.support-chat-message.admin .support-chat-image-wrap{background:#fff;border:1px solid #dfe9e8}.support-chat-image-caption{padding:6px 8px 4px;font-size:10px;white-space:pre-wrap;word-break:break-word}.support-chat-message.visitor .support-chat-image-caption{color:#fff}.support-chat-message.admin .support-chat-image-caption{color:#294852}.support-chat-file-preview{display:flex;align-items:center;gap:10px;padding:9px 12px;background:#fff;border-top:1px solid #dfe9e8}.support-chat-file-preview[hidden]{display:none}.support-chat-file-preview img{width:43px;height:43px;border-radius:9px;object-fit:cover}.support-chat-file-preview>div{display:flex;flex-direction:column;min-width:0}.support-chat-file-preview strong{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:230px}.support-chat-file-preview small{font-size:8px;color:#819099}.support-chat-file-preview button{margin-left:auto;width:28px;height:28px;border:0;border-radius:8px;background:#eff4f4;color:#5c7079;font-size:18px}.support-chat-compose{display:flex;align-items:flex-end;gap:8px;padding:11px;background:#fff;border-top:1px solid #dce7e7}.support-chat-attach,.support-chat-send{flex:0 0 40px;width:40px;height:40px;border:0;border-radius:12px;cursor:pointer}.support-chat-attach{background:#ecf6f3;color:#078064;font-size:23px}.support-chat-send{background:linear-gradient(135deg,#0bb985,#078f6b);color:#fff;font-size:16px;box-shadow:0 8px 18px rgba(7,143,107,.2)}.support-chat-compose textarea{resize:none;min-height:40px;max-height:100px;flex:1;border:1px solid #d8e5e4;border-radius:13px;padding:10px 12px;outline:0;font-size:11px;line-height:1.5}.support-chat-compose textarea:focus{border-color:#15ae83;box-shadow:0 0 0 3px rgba(13,173,125,.08)}.support-chat-note{text-align:center;background:#fff;color:#93a0a5;font-size:8px;padding:0 10px 8px}.support-chat-widget.is-open .support-chat-trigger em{display:none}.support-chat-widget.is-open .support-chat-trigger{width:58px;padding:7px}.support-chat-widget.is-open .support-chat-trigger-icon{width:44px}
@media(max-width:640px){.support-chat-widget{right:12px;bottom:12px}.support-chat-window{position:fixed;inset:12px 12px 82px;width:auto;height:auto;margin:0;border-radius:21px}.support-chat-trigger{height:54px;padding:6px}.support-chat-trigger-icon{width:42px;height:42px}.support-chat-trigger em{display:none}.support-chat-header{height:70px;flex-basis:70px}.support-chat-messages{padding:14px 11px}.support-chat-message{max-width:88%}}

/* Teknorilis red live chat theme */
.support-chat-trigger,.support-chat-start form button,.support-chat-message.visitor .support-chat-bubble-message,.support-chat-send{background:linear-gradient(135deg,#ef4444,#b91c1c)!important}
.support-chat-header{background:linear-gradient(135deg,#450a0a,#991b1b)}
.support-chat-avatar,.support-chat-attach{color:#b91c1c}.support-chat-start input:focus,.support-chat-compose textarea:focus{border-color:#ef4444;box-shadow:0 0 0 4px rgba(220,38,38,.09)}
.support-chat-loading i{border-top-color:#dc2626}.support-chat-message.visitor .support-chat-image-wrap{background:#b91c1c}
