/**
 * WISECP · Web Hosting Billing and Digital Services Platform
 *
 * Copyright (c) WISECP LLC — All rights reserved.
 * Unlicensed copying, distribution or use is prohibited.
 *
 * Terms of service: https://wisecp.com/terms-of-service
 */
.wchat{--wc1: #003b58;--wc2: #009595;--wc-bg: #ffffff;--wc-surface: #f4f6f8;--wc-text: #21303a;--wc-muted: #7b8a94;--wc-radius: 16px;position:fixed;right:24px;bottom:24px;z-index:99990;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14.5px;line-height:1.45;color:var(--wc-text);display:flex;flex-direction:column;align-items:flex-end;gap:14px}.wchat *,.wchat *:before,.wchat *:after{box-sizing:border-box}.wchat button{font:inherit}body.modal-open .wchat{right:calc(24px + var(--wcom-scrollbar-w, var(--basic-scrollbar-w, var(--wstyle-scrollbar-w, var(--wcp-scrollbar-w, 0px)))))}.wchat-launcher{width:58px;height:58px;border:none;border-radius:50%;background:var(--wc1);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 28px #00000047;transition:transform .2s ease,box-shadow .2s ease}.wchat-launcher:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 14px 32px #00000052}.wchat:not(.is-open) .wchat-launcher{animation:wchat-nudge 3.2s ease-in-out infinite}@keyframes wchat-nudge{0%,78%,to{transform:translateY(0)}84%{transform:translateY(-7px)}90%{transform:translateY(0)}96%{transform:translateY(-3px)}}.wchat-panel{width:384px;max-width:calc(100vw - 32px);height:min(640px,calc(100vh - 130px));max-height:calc(100vh - 130px);background:var(--wc-bg);border-radius:var(--wc-radius);box-shadow:0 24px 64px #0000004d;display:none;flex-direction:column;overflow:hidden;opacity:0;transform:translateY(14px) scale(.98);transition:opacity .22s ease,transform .22s ease}.wchat.is-open .wchat-panel{display:flex;opacity:1;transform:none}.wchat.is-expanded .wchat-panel{width:660px}.wchat.is-pip{position:static;display:block;width:100%;height:100%}.wchat.is-pip .wchat-panel{display:flex!important;opacity:1!important;transform:none!important;width:100%!important;max-width:none;height:100%!important;max-height:none;border-radius:0;box-shadow:none}.wchat.is-pip .wchat-launcher,.wchat.is-pip .wchat-mi-size{display:none!important}.wchat.is-pip .wchat-composer{padding-bottom:12px}.wchat.is-pip .wchat-head{padding-top:20px}.wchat-head{background-color:var(--wc1);background-size:cover;background-position:center;color:#fff;padding:18px 18px 16px;display:flex;align-items:flex-start;gap:12px;flex-shrink:0}.wchat-head-main{display:flex;gap:12px;align-items:flex-start;flex:1;min-width:0}.wchat-head-icon{width:40px;height:40px;border-radius:12px;background:#ffffff29;display:flex;align-items:center;justify-content:center;flex-shrink:0}.wchat-head-title{font-size:16.5px;font-weight:700}.wchat-head-sub{font-size:12.8px;opacity:.85;margin-top:3px}.wchat-head-actions{display:flex;align-items:center;gap:2px;flex-shrink:0}.wchat-head-actions .wchat-icon-btn{color:#fff;opacity:.85}.wchat-head-actions .wchat-icon-btn:hover{color:#fff;opacity:1;background:#ffffff24}.wchat-pip-btn.is-on{opacity:1;background:#ffffff2e}.wchat-menu-wrap{position:relative;flex-shrink:0}.wchat-menu{position:absolute;top:calc(100% + 6px);right:0;min-width:210px;background:var(--wc-bg);color:var(--wc-text);border-radius:12px;box-shadow:0 14px 40px #00000038;padding:6px;display:none;z-index:5}.wchat-menu.is-open{display:block}.wchat-menu-item{display:flex;align-items:center;gap:9px;width:100%;border:none;background:none;text-align:left;padding:9px 11px;border-radius:8px;font-size:13.5px;color:var(--wc-text);cursor:pointer}.wchat-menu-item:hover{background:var(--wc-surface)}.wchat-menu-item svg{color:var(--wc-muted);flex-shrink:0}.wchat-body{flex:1;position:relative;display:flex;flex-direction:column;min-height:0;background:var(--wc-surface)}.wchat-intro{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;gap:14px}.wchat-intro-icon{width:52px;height:52px;border-radius:50%;background:#e3f0f0;color:var(--wc2);display:flex;align-items:center;justify-content:center}.wchat-intro-text{margin:0;color:var(--wc-muted);font-size:13.8px}.wchat-messages{flex:1;overflow-y:auto;padding:16px 14px 10px;display:none;flex-direction:column;gap:12px;scrollbar-width:thin}.wchat-messages::-webkit-scrollbar{width:6px}.wchat-messages::-webkit-scrollbar-thumb{background:#00000029;border-radius:3px}.wchat-msg{max-width:86%;display:flex;flex-direction:column;gap:3px;animation:wchat-in .25s ease}@keyframes wchat-in{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}.wchat-msg.is-own{align-self:flex-end;align-items:flex-end}.wchat-msg.is-staff{align-self:flex-start;align-items:flex-start}.wchat-msg-bubble{position:relative;padding:10px 14px;border-radius:14px;word-wrap:break-word;overflow-wrap:break-word;white-space:pre-wrap}.wchat-msg.is-own .wchat-msg-bubble{background:var(--wc2);color:#fff;border-bottom-right-radius:4px}.wchat-msg.is-staff .wchat-msg-bubble{background:var(--wc-bg);color:var(--wc-text);border-bottom-left-radius:4px;box-shadow:0 1px 2px #00000012}.wchat-msg-bubble-content p{margin:0 0 8px;white-space:normal}.wchat-msg-bubble-content p:last-child{margin-bottom:0}.wchat-msg-bubble-content a{color:inherit;text-decoration:underline}.wchat-msg-bubble-content ul,.wchat-msg-bubble-content ol{margin:0;padding-left:18px;white-space:normal}.wchat-msg-bubble-content img{max-width:100%;border-radius:8px}.wchat-msg-lock{position:absolute;top:-6px;right:-4px;background:var(--wc-bg);color:var(--wc2);border-radius:50%;padding:3px;box-shadow:0 1px 4px #0000002e;display:flex}.wchat-msg.is-staff .wchat-msg-lock{right:auto;left:-4px}.wchat-msg-meta{font-size:11px;color:var(--wc-muted);padding:0 4px}.wchat-msg-files{border-top:1px solid rgba(0,0,0,.12);margin-top:8px;padding-top:7px;display:flex;flex-direction:column;gap:4px}.wchat-msg.is-own .wchat-msg-files{border-top-color:#ffffff59}.wchat-msg-file{display:flex;align-items:center;gap:6px;background:none;border:none;padding:2px 0;font-size:12.5px;color:inherit;cursor:pointer;text-decoration:underline;text-align:left;word-break:break-all;white-space:normal}.wchat-msg-file:hover{opacity:.8}.wchat-typing{display:inline-flex;gap:4px;padding:3px 2px}.wchat-typing span{width:7px;height:7px;border-radius:50%;background:var(--wc-muted);animation:wchat-typing 1.2s infinite ease-in-out}.wchat-typing span:nth-child(2){animation-delay:.15s}.wchat-typing span:nth-child(3){animation-delay:.3s}@keyframes wchat-typing{0%,60%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}.wchat-overlay{position:absolute;inset:0;background:var(--wc-surface);display:none;align-items:center;justify-content:center;padding:22px;overflow-y:auto;z-index:2}.wchat-overlay.is-visible{display:flex}.wchat-overlay-card{width:100%;max-width:300px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:14px}.wchat-overlay-icon{width:52px;height:52px;border-radius:50%;background:#e5ebef;color:var(--wc1);display:flex;align-items:center;justify-content:center}.wchat-overlay-text{margin:0;color:var(--wc-muted);font-size:13.6px}.wchat-rate-stars{display:flex;justify-content:center;gap:6px}.wchat-rate-star{background:none;border:0;padding:4px;cursor:pointer;line-height:0;color:#c7ced6;transition:transform .15s ease,color .15s ease}.wchat-rate-star:hover{transform:scale(1.15)}.wchat-rate-star.is-on{color:#f6b73c}.wchat-rate-star.is-on svg{fill:currentColor}.wchat-contact-form{width:100%;display:flex;flex-direction:column;gap:10px}.wchat-field{width:100%;border:1.5px solid #d8dee3;border-radius:10px;padding:10px 13px;font:inherit;font-size:13.8px;background:var(--wc-bg);color:var(--wc-text);outline:none;transition:border-color .15s ease}.wchat-field:focus{border-color:var(--wc2)}.wchat-field.is-invalid{border-color:#e5484d}.wchat-field.is-invalid::placeholder{color:#e5484d}.wchat-btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:none;border-radius:10px;padding:10px 18px;font-size:13.8px;font-weight:600;cursor:pointer;text-decoration:none;transition:filter .15s ease}.wchat-btn:hover{filter:brightness(.94)}.wchat-btn-primary{background:var(--wc2);color:#fff}.wchat-btn-danger{background:#e5484d;color:#fff}.wchat-btn-ghost{background:#e6eaee;color:var(--wc-text)}.wchat-btn-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}.wchat-link{background:none;border:none;color:var(--wc-muted);font-size:12.8px;text-decoration:underline;cursor:pointer}.wchat-account-hint{border-top:1px solid #e0e5e9;padding-top:14px;width:100%}.wchat-account-hint p{margin:0 0 10px;font-size:13px;color:var(--wc-muted)}.wchat-error{display:none;background:#fdecec;color:#c22f35;font-size:13px;padding:10px 16px;flex-shrink:0}.wchat-error.is-visible{display:block}.wchat-composer{display:flex;align-items:flex-end;gap:6px;padding:10px 12px;background:var(--wc-bg);border-top:1px solid #e8ecef;flex-shrink:0}.wchat-composer.is-hidden{display:none}.wchat-composer.is-locked{opacity:.55;pointer-events:none}.wchat-input{flex:1;border:none;resize:none;font:inherit;font-size:14px;line-height:1.45;color:var(--wc-text);background:none;outline:none;padding:9px 4px;overflow-y:hidden;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.22) transparent}.wchat-input::placeholder{color:var(--wc-muted)}.wchat-input::-webkit-scrollbar{width:5px}.wchat-input::-webkit-scrollbar-track{background:transparent}.wchat-input::-webkit-scrollbar-thumb{background:#00000038;border-radius:4px}.wchat-input::-webkit-scrollbar-thumb:hover{background:#00000059}.wchat-actions{display:flex;align-items:center;gap:2px;padding-bottom:4px}.wchat-icon-btn{position:relative;border:none;background:none;color:var(--wc-muted);width:34px;height:34px;border-radius:9px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:color .15s ease,background .15s ease}.wchat-icon-btn:hover{color:var(--wc-text);background:var(--wc-surface)}.wchat-icon-btn.is-on{color:#2f9e44}.wchat-attach-count{position:absolute;top:-3px;right:-3px;background:var(--wc2);color:#fff;font-size:10px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:none;align-items:center;justify-content:center;padding:0 4px}.wchat-icon-btn.has-files .wchat-attach-count{display:flex}.wchat-send-btn{border:none;width:38px;height:38px;border-radius:11px;background:var(--wc-surface);color:var(--wc-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s ease,color .15s ease,transform .15s ease}.wchat-send-btn.is-ready{background:var(--wc2);color:#fff}.wchat-send-btn.is-ready:hover{transform:scale(1.06)}.wchat-send-btn.is-sending{opacity:.6;pointer-events:none;animation:wchat-pulse 1s infinite}@keyframes wchat-pulse{50%{opacity:.35}}@media(max-width:640px){.wchat{right:16px;bottom:16px}.wchat.is-open{left:16px;align-items:stretch}.wchat:not(.is-pip) .wchat-panel{width:100%!important;height:min(600px,calc(100dvh - 110px))!important}.wchat.is-expanded .wchat-panel{width:100%!important}.wchat-launcher{width:52px;height:52px;align-self:flex-end}}@media(prefers-reduced-motion:reduce){.wchat:not(.is-open) .wchat-launcher{animation:none}.wchat-msg{animation:none}}
