/* LanTech Chat: floating button and contact panel */
.lt-chat{position:fixed;z-index:100000;display:flex;flex-direction:column;gap:10px;font-family:'DM Sans',system-ui,sans-serif;--ltc:#1F6F5C}
.lt-chat-right{align-items:flex-end}
.lt-chat-left{align-items:flex-start}
.lt-chat-btn{width:100%;height:100%;border-radius:50%;border:0;padding:0;background:var(--ltc);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 14px rgba(0,0,0,.25);transition:transform .15s;position:relative}
.lt-chat-btn:hover{transform:scale(1.06)}
.lt-chat-btn:focus-visible{outline:3px solid #fff;outline-offset:-6px}
.lt-chat-btn svg{width:26px;height:26px}
.lt-chat-ic{position:absolute;display:flex;transition:opacity .15s,transform .2s}
.lt-chat-ic-x{opacity:0;transform:rotate(-60deg)}
.lt-chat.lt-open .lt-chat-ic-open{opacity:0;transform:rotate(60deg)}
.lt-chat.lt-open .lt-chat-ic-x{opacity:1;transform:none}
.lt-chat-panel{width:260px;max-width:calc(100vw - 32px);background:#fff;border-radius:16px;box-shadow:0 8px 28px rgba(0,0,0,.22);overflow:hidden}
.lt-chat-panel[hidden]{display:none}
.lt-chat-head{background:var(--ltc);color:#fff;padding:14px 16px;display:flex;flex-direction:column;gap:2px}
.lt-chat-head b{font-size:16px}
.lt-chat-head span{font-size:12.5px;opacity:.9}
.lt-chat-panel ul{list-style:none;margin:0;padding:8px;max-height:calc(100vh - 170px);overflow-y:auto}
.lt-chat-panel li{margin:0;padding:0}
.lt-chat-opt{display:flex;align-items:center;gap:12px;width:100%;box-sizing:border-box;padding:11px 12px;border:0;border-radius:12px;background:transparent;color:#1B1B1B;font-family:inherit;font-weight:600;font-size:15px;line-height:1.2;text-decoration:none;cursor:pointer;text-align:left}
.lt-chat-opt:hover,.lt-chat-opt:focus-visible{background:#F4EFE6;color:#1B1B1B}
.lt-chat-opt svg{flex:none;width:30px;height:30px;padding:6px;box-sizing:border-box;border-radius:50%;color:#fff}
.lt-chat-whatsapp svg{background:#25D366}
.lt-chat-messenger svg{background:#0084FF}
.lt-chat-live svg{background:#1F6F5C}
.lt-chat-email svg{background:#E8710A}
.lt-chat-phone svg{background:#5B574F}
@media(max-width:480px){.lt-chat-panel{width:240px}}
@media print{.lt-chat{display:none}}

/* Drag and hide */
.lt-chat-btnwrap{position:relative;display:block;width:56px;height:56px;flex:none}
.lt-chat-btn{touch-action:none;user-select:none;-webkit-user-select:none;cursor:grab}
.lt-chat.lt-dragging .lt-chat-btn{cursor:grabbing;transform:scale(1.08);transition:none}
.lt-chat.lt-dragging{transition:none}
.lt-chat-dismiss{position:absolute;top:-5px;left:-5px;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#fff;color:#1B1B1B;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.35);z-index:2}
.lt-chat-dismiss:hover{background:#F4EFE6}
.lt-chat-close{position:absolute;top:-5px;right:-5px;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:#1B1B1B;color:#fff;font:700 14px/20px system-ui,sans-serif;text-align:center;cursor:pointer;box-shadow:0 1px 4px rgba(0,0,0,.35);z-index:2}
.lt-chat-close:hover{background:#B3402A}
.lt-chat-close:focus-visible{outline:2px solid var(--ltc);outline-offset:1px}
.lt-chat.lt-mini .lt-chat-close{top:-8px;right:-8px;width:18px;height:18px;line-height:18px;font-size:12px}
.lt-chat.lt-open .lt-chat-close{display:none}
.lt-chat-dismiss:focus-visible{outline:2px solid var(--ltc);outline-offset:1px}
.lt-chat.lt-below{flex-direction:column-reverse}
@media(max-width:480px){.lt-chat-btnwrap{width:52px;height:52px}}

/* Small faded dot after the cross is pressed */
.lt-chat.lt-mini .lt-chat-btnwrap{width:34px;height:34px}
.lt-chat.lt-mini .lt-chat-dismiss{display:none}
.lt-chat.lt-mini .lt-chat-btn{opacity:.7;box-shadow:0 2px 8px rgba(0,0,0,.25)}
.lt-chat.lt-mini .lt-chat-btn:hover{opacity:1}
.lt-chat.lt-mini .lt-chat-btn svg{width:16px;height:16px}
.lt-chat.lt-mini .lt-chat-panel{display:none}

/* Built-in live chat window (inside the panel) */
.lt-chat-panel.lt-cl-on{width:320px}
.lt-chat-panel.lt-cl-on .lt-chat-head,.lt-chat-panel.lt-cl-on ul{display:none}
.lt-chat-own svg{background:#1F6F5C}
.lt-cl{display:flex;flex-direction:column;height:400px;background:#fff}
.lt-cl[hidden]{display:none}
.lt-cl-head{background:var(--ltc);color:#fff;padding:12px 14px;display:flex;align-items:center;gap:8px}
.lt-cl-head div{display:flex;flex-direction:column;gap:1px;min-width:0}
.lt-cl-head b{font-size:16px}
.lt-cl-state{font-size:12.5px;opacity:.92}
.lt-cl-back{border:0;background:rgba(255,255,255,.18);color:#fff;width:28px;height:28px;border-radius:50%;font-size:20px;line-height:1;cursor:pointer;flex:none;padding:0}
.lt-cl-msgs{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:8px;background:#FAF7F1}
.lt-cl-m{max-width:82%;padding:8px 11px;border-radius:14px;font-size:14.5px;line-height:1.4;word-wrap:break-word;overflow-wrap:anywhere;white-space:pre-wrap}
.lt-cl-m i{display:block;font-style:normal;font-size:10.5px;opacity:.6;margin-top:2px;text-align:right}
.lt-cl-a{align-self:flex-start;background:#fff;color:#1B1B1B;border:1px solid #E8E1D4;border-bottom-left-radius:4px}
.lt-cl-v{align-self:flex-end;background:var(--ltc);color:#fff;border-bottom-right-radius:4px}
.lt-cl-err{align-self:center;font-size:12.5px;color:#B3261E}
.lt-cl-form{padding:8px;border-top:1px solid #EEE7D9;background:#fff;margin:0}
.lt-cl-who{display:flex;flex-direction:column;gap:6px;margin-bottom:8px}
.lt-cl-who input,.lt-cl-row textarea{width:100%;box-sizing:border-box;border:1px solid #DDD5C5;border-radius:10px;padding:8px 10px;font:inherit;font-size:14px;background:#fff;color:#1B1B1B}
.lt-cl-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.lt-cl-row{display:flex;gap:6px;align-items:flex-end}
.lt-cl-row textarea{resize:none;max-height:150px;min-height:38px;overflow-y:auto}
.lt-cl-row button{flex:none;width:38px;height:38px;border:0;border-radius:50%;background:var(--ltc);color:#fff;font-size:16px;cursor:pointer;padding:0}
.lt-cl-badge{position:absolute;top:-2px;right:-2px;width:14px;height:14px;border-radius:50%;background:#E53935;border:2px solid #fff;display:none}
@media(max-width:480px){.lt-chat-panel.lt-cl-on{width:min(320px,calc(100vw - 24px))}}

/* Greeting bubble */
.lt-cl-bubble{position:absolute;bottom:calc(100% + 10px);width:210px;background:#fff;color:#1B1B1B;border-radius:14px;padding:10px 28px 10px 12px;font-size:14px;line-height:1.35;box-shadow:0 6px 22px rgba(0,0,0,.2);cursor:pointer;z-index:3}
.lt-chat-right .lt-cl-bubble{right:0}.lt-chat-left .lt-cl-bubble{left:0}
.lt-cl-bubble-dn{bottom:auto;top:calc(100% + 10px)}
.lt-cl-bubble button{position:absolute;top:4px;right:6px;border:0;background:none;font-size:18px;line-height:1;color:#777;cursor:pointer;padding:2px 4px}

/* Online state and message marks */
.lt-cl-state::before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;background:#9aa;vertical-align:middle}
.lt-cl-state.lt-cl-on::before{background:#3ddc84;box-shadow:0 0 0 2px rgba(61,220,132,.35)}
.lt-cl-state.lt-cl-off::before{background:#c9c4b8}
.lt-cl-st{align-self:flex-end;display:flex;align-items:center;gap:5px;font-size:11px;color:#8a8478;margin-top:-4px}
.lt-cl-ck{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;border-radius:50%;border:1.5px solid #9a9488;font-size:9px;line-height:1;color:#9a9488;box-sizing:border-box}
.lt-cl-seen{color:var(--ltc)}
.lt-cl-seen .lt-cl-ck{background:var(--ltc);border-color:var(--ltc);color:#fff}
.lt-cl-sending .lt-cl-ck{border-style:dashed}

/* Typing dots */
.lt-cl-typ{display:flex;gap:4px;padding:11px 13px}
.lt-cl-typ .d{width:7px;height:7px;border-radius:50%;background:#9a9488;display:block;animation:ltcl 1.2s infinite ease-in-out}
.lt-cl-typ .d:nth-child(2){animation-delay:.18s}.lt-cl-typ .d:nth-child(3){animation-delay:.36s}
@keyframes ltcl{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}

.lt-chat-fiverr svg{background:#1DBF73}
.lt-chat-opt .lt-chat-img{flex:none;width:30px;height:30px;border-radius:50%;object-fit:cover;display:block}

.lt-cl-failed{color:#B3261E;cursor:pointer}.lt-cl-failed .lt-cl-ck{border-color:#B3261E;color:#B3261E}

/* edit a message, blocked visitor */
.lt-cl-editbox{display:flex;flex-wrap:wrap;gap:6px;min-width:200px}
.lt-cl-editbox textarea{flex:1 1 100%;border:1px solid rgba(255,255,255,.5);border-radius:8px;padding:6px 8px;font:inherit;font-size:14px;resize:none;max-height:150px}
.lt-cl-editbox button{border:0;border-radius:14px;padding:5px 14px;font:inherit;font-size:12.5px;cursor:pointer;background:#fff;color:#1B1B1B}
.lt-cl-editbox .lt-cl-edno{background:rgba(255,255,255,.25);color:#fff}
.lt-cl-blocked .lt-cl-row,.lt-cl-blocked .lt-cl-who{display:none}

.lt-cl-m{position:relative}
.lt-cl-dot{position:absolute;top:2px;right:2px;width:22px;height:22px;border:0;border-radius:50%;background:rgba(255,255,255,.2);color:inherit;font-size:16px;line-height:1;cursor:pointer;padding:0;opacity:.85}
.lt-cl-mine{padding-right:28px}
.lt-cl-menu{position:absolute;z-index:5;top:26px;right:4px;min-width:140px;background:#fff;color:#1B1B1B;border-radius:10px;box-shadow:0 6px 22px rgba(0,0,0,.25);padding:4px}
.lt-cl-menu button{display:block;width:100%;text-align:left;border:0;background:none;font:inherit;font-size:14px;padding:9px 12px;border-radius:8px;cursor:pointer;color:inherit}
.lt-cl-menu button:active{background:#F1EEE7}
.lt-cl-menu .lt-cl-menu-del{color:#B3261E}
.lt-cl-gone{opacity:.6;font-style:italic}

.lt-cl-why{display:block;font-size:12px;font-weight:400;color:#6B6B6B;margin-top:2px;cursor:default}

/* Sent: a plain tick; Seen: a filled round mark (like other chat apps) */
.lt-cl-sent .lt-cl-ck{border:0;width:auto;height:auto;font-size:13px;font-weight:700;color:#8a8478;border-radius:0}
.lt-cl-seen .lt-cl-ck{width:16px;height:16px;font-size:10px}

/* E-mail check line and the code box (visitor form) */
.lt-cl-mst{font-size:12.5px;line-height:1.3;margin:-2px 2px 0;color:#6B6B6B}
.lt-cl-mst.ok{color:#1F6F5C;font-weight:600}
.lt-cl-mst.bad{color:#B3261E}
.lt-cl-code{background:#F4EFE6;border:1px solid #DDD5C5;border-radius:10px;padding:8px 10px;font-size:13px;color:#1B1B1B}
.lt-cl-code>span{display:block;margin-bottom:6px;line-height:1.35}
.lt-cl-code>div{display:flex;gap:6px}
.lt-cl-code input{flex:1;min-width:0;border:1px solid #DDD5C5;border-radius:8px;padding:8px 10px;font:inherit;font-size:16px;letter-spacing:.2em;background:#fff;color:#1B1B1B}
.lt-cl-code .lt-cl-codeok{border:0;border-radius:8px;background:#1F6F5C;color:#fff;font:inherit;font-weight:700;padding:0 14px;cursor:pointer}
.lt-cl-code .lt-cl-codesend{border:0;background:none;color:#1F6F5C;font:inherit;font-size:12.5px;text-decoration:underline;padding:6px 0 0;cursor:pointer}
.lt-cl-resume{border:0;background:none;color:#1F6F5C;font:inherit;font-size:12.5px;text-decoration:underline;text-align:left;padding:2px 2px 0;cursor:pointer}

/* 2.0.0: softer, more polished chat button */
.lt-chat-btn{background:var(--ltc);background:linear-gradient(145deg,color-mix(in srgb,var(--ltc) 82%,#fff),var(--ltc) 55%,color-mix(in srgb,var(--ltc) 88%,#000));box-shadow:0 6px 18px rgba(0,0,0,.22),0 0 0 3px rgba(255,255,255,.9)}
.lt-chat-btn svg{width:30px;height:30px}
.lt-chat-btn .lt-chat-ic-x svg{width:24px;height:24px}
