/* Live Chat 1.0.0 — Bigazone premium style. 5px corners; circles stay round. */
.bigazone-chat-root{position:fixed;right:12px;bottom:16px;z-index:99990;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1d1b2e;font-size:14px;line-height:1.5;text-align:left}
.bigazone-chat-root.bzchat-left{left:12px;right:auto}
.bigazone-chat-root *{box-sizing:border-box}
.bigazone-chat-root [hidden]{display:none!important}

/* Chat button */
#bigazone-chat-root .bzchat-launcher{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:60px;height:60px;min-width:60px;min-height:60px;margin:0 0 0 auto;padding:0;border:0;border-radius:50%;background:var(--bzchat-primary,#7047c8);color:#fff;line-height:1;box-shadow:0 10px 26px -8px rgba(30,16,70,.45);cursor:pointer;appearance:none;-webkit-appearance:none}
#bigazone-chat-root.bzchat-left .bzchat-launcher{margin:0 auto 0 0}
#bigazone-chat-root .bzchat-launcher:hover{filter:brightness(1.08);color:#fff}
#bigazone-chat-root .bzchat-launcher svg{display:block;flex:none;width:24px;height:24px;fill:currentColor;pointer-events:none}
#bigazone-chat-root .bzchat-badge{position:absolute;top:-4px;right:-4px;min-width:23px;height:23px;padding:0 5px;border:2px solid #fff;border-radius:12px;background:#ff791a;color:#1d1b2e;font-size:11.5px;font-weight:700;line-height:19px;text-align:center;pointer-events:none}

/* Window */
#bigazone-chat-root .bzchat-panel{position:absolute;z-index:2;bottom:72px;right:0;display:flex;flex-direction:column;width:min(360px,calc(100vw - 24px));height:min(560px,calc(100dvh - 160px));min-height:300px;margin:0;padding:0;overflow:hidden;border:1px solid #e4ddf5;border-radius:5px;background:#fff;box-shadow:0 18px 44px -18px rgba(30,16,70,.4)}
#bigazone-chat-root.bzchat-left .bzchat-panel{right:auto;left:0}

#bigazone-chat-root .bzchat-heading{display:flex;flex-shrink:0;align-items:center;gap:10px;margin:0;padding:16px 12px 16px 14px;background:linear-gradient(115deg,#009c9a 0%,var(--bzchat-primary,#7047c8) 58%);color:#fff}
#bigazone-chat-root .bzchat-heading-icon{display:flex;flex:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.18)}
#bigazone-chat-root .bzchat-panel svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#bigazone-chat-root .bzchat-heading-text{flex:1;min-width:0}
#bigazone-chat-root .bzchat-title{margin:0;color:#fff;font-size:17px;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
#bigazone-chat-root .bzchat-availability{display:flex;align-items:center;gap:6px;color:#fff;font-size:11.5px;font-weight:500}
#bigazone-chat-root .bzchat-availability::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:#5ee6a8}
#bigazone-chat-root .bzchat-is-away .bzchat-availability::before{background:#ff791a;box-shadow:0 0 0 1px #fff}
#bigazone-chat-root .bzchat-close,#bigazone-chat-root .bzchat-more{display:flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.16);color:#fff;box-shadow:none;cursor:pointer}
#bigazone-chat-root .bzchat-close:hover,#bigazone-chat-root .bzchat-more:hover,#bigazone-chat-root .bzchat-more[aria-expanded=true]{background:rgba(255,255,255,.28);color:#fff}
#bigazone-chat-root .bzchat-close svg{width:18px;height:18px}

#bigazone-chat-root .bzchat-body{display:flex;flex:1;flex-direction:column;gap:10px;min-width:0;min-height:0;overflow:auto;padding:16px;background:#fff}
#bigazone-chat-root .bzchat-welcome{flex:none;margin:0;padding:12px 14px;border:1px solid #ece8f6;border-radius:5px;background:#f8f6fe;color:#1d1b2e;font-size:14px;overflow-wrap:anywhere}
#bigazone-chat-root .bzchat-offline-note{flex:none;margin:0;padding:10px 14px;border:1px solid #ffd9bb;border-radius:5px;background:#fff6ef;color:#5c2a00;font-size:13px}
#bigazone-chat-root .bzchat-messages{display:flex;flex:none;flex-direction:column;gap:10px;max-height:none}
#bigazone-chat-root .bzchat-body:has(.bzchat-intro[hidden]) .bzchat-messages{flex:1 1 0;min-height:130px;overflow:auto;overscroll-behavior:contain}
#bigazone-chat-root .bzchat-body:has(.bzchat-again) :is(.bzchat-welcome,.bzchat-offline-note){display:none}
#bigazone-chat-root .bzchat-bubble{position:relative;flex:none;width:fit-content;max-width:85%;padding:10px 14px;border-radius:5px;overflow-wrap:anywhere;white-space:pre-wrap}
#bigazone-chat-root .bzchat-agent{align-self:flex-start;background:#f1eff8;color:#1d1b2e}
#bigazone-chat-root .bzchat-customer{align-self:flex-end;margin-bottom:16px;background:var(--bzchat-primary,#7047c8);color:#fff}
#bigazone-chat-root .bzchat-receipt{position:absolute;right:0;bottom:-17px;color:#625e78;font-size:11px;line-height:1.4;white-space:nowrap}
#bigazone-chat-root .bzchat-typing{flex:none;margin:0;color:#625e78;font-size:12px}
#bigazone-chat-root .bzchat-older,#bigazone-chat-root .bzchat-latest{flex:none;align-self:center;min-height:32px;margin:0;padding:5px 14px;border:1px solid #e4ddf5;border-radius:5px;background:#fff;color:#563499;box-shadow:none;font:600 12px/1.4 inherit;font-family:inherit;cursor:pointer}

#bigazone-chat-root .bzchat-intro{display:flex;flex:none;flex-direction:column;gap:10px;margin:0;padding:0}
#bigazone-chat-root .bzchat-intro input,#bigazone-chat-root .bzchat-compose textarea{width:100%;min-width:0;max-width:100%;height:46px;min-height:46px;margin:0;padding:0 14px;border:1px solid #e4ddf5;border-radius:5px;background:#fbfaff;color:#1d1b2e;box-shadow:none;font-family:inherit;font-size:14px;line-height:1.5}
#bigazone-chat-root .bzchat-intro input:focus,#bigazone-chat-root .bzchat-compose textarea:focus{border-color:var(--bzchat-primary,#7047c8);background:#fff}
#bigazone-chat-root .bzchat-privacy-hint{color:#625e78;font-size:11.5px;line-height:1.5}
#bigazone-chat-root .bzchat-start,#bigazone-chat-root .bzchat-send{display:flex;align-items:center;justify-content:center;min-height:46px;margin:0;padding:0 20px;border:0;border-radius:5px;background:var(--bzchat-primary,#7047c8);color:#fff;box-shadow:none;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4;text-transform:none;cursor:pointer}
#bigazone-chat-root .bzchat-start:hover,#bigazone-chat-root .bzchat-send:hover{filter:brightness(1.08);color:#fff}
#bigazone-chat-root .bzchat-start:disabled,#bigazone-chat-root .bzchat-send:disabled{opacity:.5;cursor:default}

#bigazone-chat-root .bzchat-again{display:flex;flex:none;flex-direction:column;gap:10px}
#bigazone-chat-root .bzchat-closed{margin:0;padding:12px 14px;border-radius:5px;background:#f1eff8;text-align:center}

#bigazone-chat-root .bzchat-compose{display:flex;flex-shrink:0;align-items:flex-end;gap:8px;margin:0;padding:12px;border-top:1px solid #ece8f6;background:#fff}
#bigazone-chat-root .bzchat-compose textarea{flex:1;padding:11px 14px;line-height:22px;resize:none;max-height:110px;overflow:auto}
#bigazone-chat-root .bzchat-send{flex:none;width:46px;min-width:46px;height:46px;padding:0}
#bigazone-chat-root .bzchat-send svg{width:19px;height:19px}

#bigazone-chat-root .bzchat-menu{position:absolute;top:68px;right:12px;z-index:5;display:flex;flex-direction:column;gap:2px;min-width:190px;margin:0;padding:6px;border:1px solid #e4ddf5;border-radius:5px;background:#fff;box-shadow:0 16px 36px -14px rgba(30,16,70,.35)}
#bigazone-chat-root .bzchat-privacy-action{display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:42px;margin:0;padding:8px 12px;border:0;border-radius:5px;background:transparent;color:#1d1b2e;box-shadow:none;font-family:inherit;font-size:13.5px;font-weight:500;line-height:1.4;text-align:left;text-transform:none;cursor:pointer}
#bigazone-chat-root .bzchat-privacy-action:hover{background:#f1eff8;color:#1d1b2e}
#bigazone-chat-root .bzchat-danger,#bigazone-chat-root .bzchat-danger:hover{color:#a21d2f}
#bigazone-chat-root .bzchat-intro input[aria-invalid=true]{border-color:#a21d2f}
#bigazone-chat-root .bzchat-privacy-action:disabled{opacity:.55;cursor:wait}

#bigazone-chat-root .bzchat-feedback{flex-shrink:0;max-height:60px;overflow:auto;padding:8px 14px;border-top:1px solid #ece8f6;background:#f8f6fe;color:#4a4663;font-size:12px}
#bigazone-chat-root .bzchat-feedback:empty{display:none}
#bigazone-chat-root :is(button,input,textarea):focus-visible{outline:3px solid #20b879;outline-offset:2px}

/* Desktop and tablet: same height as the theme's scroll-to-top button, 5px above the copyright border. */
@media(min-width:768px){
html:root body .bigazone-chat-root{bottom:calc(var(--bzchat-bar,var(--bz-copyright-height,54px)) + 5px + env(safe-area-inset-bottom,0px))}
html:root body .bigazone-chat-root.bzchat-left{left:calc(50px + env(safe-area-inset-left,0px));right:auto}
html:root body .bigazone-chat-root.bzchat-right{right:calc(50px + env(safe-area-inset-right,0px));left:auto}
/* Chat on the right takes the scroll-to-top spot, so that button moves just above it. */
html:root body:has(.bigazone-chat-root.bzchat-right) .bz-scroll-top:not(#_):not(#__):not(#___){right:calc(58px + env(safe-area-inset-right,0px));bottom:calc(var(--bz-copyright-height,54px) + 77px + env(safe-area-inset-bottom,0px))}
}

/* Short windows: keep both optional fields in view; the header already shows that the team is away. */
@media(max-height:640px){
#bigazone-chat-root .bzchat-body:has(.bzchat-intro:not([hidden])){gap:8px;padding:12px}
#bigazone-chat-root .bzchat-body:has(.bzchat-intro:not([hidden])) .bzchat-offline-note{display:none}
#bigazone-chat-root .bzchat-intro{gap:8px}
}

/* Phones: a full-screen chat window. */
@media(max-width:767px){
#bigazone-chat-root.bzchat-open{z-index:100005}
#bigazone-chat-root .bzchat-panel{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;min-height:0;max-height:100dvh;border:0;border-radius:0}
#bigazone-chat-root .bzchat-heading{padding-top:max(16px,env(safe-area-inset-top))}
#bigazone-chat-root .bzchat-compose{padding-bottom:max(12px,env(safe-area-inset-bottom))}
#bigazone-chat-root .bzchat-intro input,#bigazone-chat-root .bzchat-compose textarea{font-size:16px}
}
@media(prefers-reduced-motion:reduce){.bigazone-chat-root *{scroll-behavior:auto!important;transition:none!important}}
