/* The entire widget is scoped to avoid conflicts with Elementor, Felan and WooCommerce. */
#anlc-root, #anlc-root * { box-sizing: border-box; }
#anlc-root { --anlc-brand:#dc287e; --anlc-ink:#171b35; --anlc-grey:#74798d; font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; position:fixed; right:24px; bottom:24px; z-index:2147482000; color:var(--anlc-ink); line-height:1.45; font-size:14px; }
#anlc-root [hidden] { display:none!important; }
#anlc-root button, #anlc-root textarea, #anlc-root input { font:inherit; }
#anlc-root button { cursor:pointer; transition:transform .16s ease,background .16s ease,box-shadow .16s ease; }
#anlc-root button:disabled { cursor:not-allowed; opacity:.55; }
#anlc-root button:focus-visible, #anlc-root input:focus-visible, #anlc-root textarea:focus-visible { outline:3px solid #eab4d8; outline-offset:2px; }
#anlc-root .anlc-visually-hidden { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
#anlc-root .anlc-launcher { border:0; background:var(--anlc-brand); color:#fff; border-radius:50px; box-shadow:0 8px 30px rgba(28,18,49,.24); min-height:58px; display:flex; gap:10px; align-items:center; padding:8px 18px 8px 15px; font-weight:800; }
#anlc-root .anlc-launcher svg { width:27px; height:27px; flex:none; }
#anlc-root .anlc-launcher:hover { transform:translateY(-3px); box-shadow:0 12px 35px rgba(28,18,49,.29); }
#anlc-root .anlc-launcher-dot { width:8px; height:8px; border-radius:50%; background:#74f3bc; border:2px solid #fff; box-sizing:content-box; }
#anlc-root.is-open .anlc-launcher { display:none; }
#anlc-root .anlc-panel { background:#fff; width:min(390px,calc(100vw - 32px)); height:min(630px,calc(100dvh - 36px)); max-height:calc(100dvh - 32px); display:flex; flex-direction:column; border:1px solid #f1e9f1; border-radius:22px; overflow:hidden; box-shadow:0 16px 65px rgba(22,22,45,.25); }
#anlc-root .anlc-header { background:linear-gradient(125deg,#242442 0%,#302146 70%,#442349 100%); color:#fff; padding:19px 17px; display:flex; align-items:center; gap:12px; flex:none; }
#anlc-root .anlc-avatar { display:flex; align-items:center; justify-content:center; background:linear-gradient(145deg,#ff9fc4,var(--anlc-brand)); width:43px; height:43px; border-radius:16px; font-size:23px; font-weight:900; position:relative; box-shadow:0 3px 11px rgba(0,0,0,.18); }
#anlc-root .anlc-avatar span { position:absolute; font-size:11px; right:-3px; top:-4px; color:#ffd979; }
#anlc-root .anlc-header-info { min-width:0; flex:1; }
#anlc-root .anlc-heading { font-size:16px!important; font-weight:800!important; line-height:1.3!important; margin:0!important; padding:0!important; color:#fff!important; }
#anlc-root .anlc-subheading { font-size:11px!important; color:#d8d2df!important; margin:4px 0 0!important; padding:0!important; }
#anlc-root .anlc-close { border:0; background:rgba(255,255,255,.15); color:#fff; width:32px; height:32px; border-radius:10px; font-size:24px; line-height:1; display:flex; align-items:center; justify-content:center; }
#anlc-root .anlc-service-strip { padding:9px 15px; background:#fcf7fa; border-bottom:1px solid #f1eaf0; display:flex; align-items:center; justify-content:space-between; gap:4px; font-size:11px; flex:none; }
#anlc-root .anlc-service-status { color:#137f5b; font-weight:750; }
#anlc-root .anlc-strip-tail { color:#8b8190; font-size:10px; }
#anlc-root .anlc-messages { flex:1; min-height:80px; padding:17px 15px; overflow-y:auto; overscroll-behavior:contain; background:linear-gradient(180deg,#fff 0%,#fcfbff 100%); }
#anlc-root .anlc-msg { margin-bottom:16px; max-width:88%; display:flex; flex-direction:column; align-items:flex-start; gap:5px; }
#anlc-root .anlc-msg-visitor { margin-left:auto; align-items:flex-end; }
#anlc-root .anlc-bubble { padding:11px 13px; background:#f2f0f7; color:var(--anlc-ink); border-radius:15px 15px 15px 4px; font-size:13px; white-space:pre-wrap; overflow-wrap:anywhere; }
#anlc-root .anlc-msg-visitor .anlc-bubble { background:var(--anlc-brand); color:#fff; border-radius:15px 15px 4px 15px; }
#anlc-root .anlc-msg-agent .anlc-bubble { background:#e6f8f0; border:1px solid #c9e9d9; }
#anlc-root .anlc-sender { font-size:10px; color:#9b9aad; padding:0 4px; }
#anlc-root .anlc-msg-system { background:#fff7e7; color:#77531d; border:1px solid #f7e3bd; border-radius:11px; padding:9px 11px; font-size:11px; max-width:100%; text-align:left; white-space:pre-wrap; }
#anlc-root .anlc-bubble a { color:#b61e75; text-decoration:underline; font-weight:700; overflow-wrap:anywhere; }
#anlc-root .anlc-msg-visitor .anlc-bubble a { color:#fff; }
#anlc-root .anlc-compose-tools { padding:8px 11px 3px; flex:none; border-top:1px solid #f6f3f8; }
#anlc-root .anlc-chips { display:flex; gap:6px; overflow-x:auto; scrollbar-width:thin; }
#anlc-root .anlc-chips button { background:#fff; border:1px solid #ebddea; color:#5a4564; padding:8px 9px; font-size:11px; font-weight:650; border-radius:20px; white-space:nowrap; flex:none; }
#anlc-root .anlc-chips button:hover { background:#fff1f8; border-color:#f1b3d2; }
#anlc-root .anlc-compose { display:flex; align-items:flex-end; gap:8px; padding:10px 11px 6px; background:#fff; flex:none; }
#anlc-root .anlc-compose textarea { min-width:0; flex:1; border:1px solid #eae4ec; border-radius:15px; background:#f8f7fb; color:#27233a; padding:12px; resize:none; height:46px; min-height:46px; max-height:110px; line-height:1.3; font-size:13px; box-shadow:none; }
#anlc-root .anlc-send { background:var(--anlc-brand); border:0; border-radius:14px; width:46px; height:46px; color:#fff; display:grid; place-items:center; }
#anlc-root .anlc-send svg { width:20px; height:20px; }
#anlc-root .anlc-footer { display:flex; flex-direction:column; gap:3px; align-items:center; padding:2px 10px 12px; background:#fff; color:#a1a1b0; text-align:center; font-size:9px; flex:none; }
#anlc-root .anlc-human-link { background:none; color:var(--anlc-brand); padding:2px 9px 4px; border:0; font-size:11px; font-weight:800; }
#anlc-root .anlc-human-box { background:#fff7fb; border-top:1px solid #f3d9e8; padding:10px 15px; font-size:11px; flex:none; }
#anlc-root .anlc-human-heading { color:#7c2554; font-weight:800; font-size:12px; }
#anlc-root .anlc-human-box p { margin:3px 0 8px; font-size:11px; line-height:1.35; }
#anlc-root .anlc-contact-form { display:flex; gap:6px; flex-wrap:wrap; }
#anlc-root .anlc-contact-form input { min-width:90px; flex:1 1 120px; border:1px solid #e4cdda; border-radius:9px; background:#fff; padding:7px 9px; font-size:11px; height:32px; }
#anlc-root .anlc-contact-form button { border:0; color:#fff; background:var(--anlc-brand); border-radius:9px; font-size:11px; padding:7px 12px; }
#anlc-root .anlc-contact-feedback { color:#8d3053; padding-top:4px; }
@media (max-width:540px) {
  #anlc-root { right:12px; bottom:calc(12px + env(safe-area-inset-bottom, 0px)); }
  #anlc-root .anlc-launcher { min-height:54px; }
  #anlc-root .anlc-panel { width:calc(100vw - 24px); height:min(680px,calc(100dvh - 28px - env(safe-area-inset-bottom, 0px))); border-radius:17px; }
  #anlc-root .anlc-strip-tail { display:none; }
}
@media (prefers-reduced-motion:reduce) { #anlc-root *,#anlc-root *::before,#anlc-root *::after { transition:none!important; } }

/* v1.1 customer journey: sales guidance, multilingual reply preference and order cards. */
#anlc-root .anlc-language { color:#fff; background:rgba(255,255,255,.13); border:1px solid rgba(255,255,255,.28); border-radius:10px; padding:5px 4px; max-width:112px; font-size:10px; min-height:31px; }
#anlc-root .anlc-language option { color:#222; }
#anlc-root .anlc-tabs { display:flex; align-items:stretch; flex:none; padding:7px 9px 6px; gap:5px; background:#fff; border-bottom:1px solid #f0eaf0; }
#anlc-root .anlc-tabs button { flex:1; border:0; background:#f7f4fa; border-radius:10px; padding:10px 4px; font-size:11px; font-weight:700; color:#61546a; }
#anlc-root .anlc-tabs button.is-active { background:#fff0f7; color:var(--anlc-brand); box-shadow:inset 0 0 0 1px #f5c8dc; }
#anlc-root .anlc-chat-view { display:flex; flex-direction:column; flex:1; min-height:0; }
#anlc-root .anlc-extra-view { min-height:0; flex:1; padding:16px 16px 22px; overflow:auto; background:linear-gradient(180deg,#fff,#fcfaff); }
#anlc-root .anlc-view-heading h3 { margin:0 0 6px!important; font-size:16px!important; font-weight:800!important; color:#29213c!important; }
#anlc-root .anlc-view-heading p { margin:0 0 15px!important; font-size:12px!important; color:#746a7e!important; line-height:1.5; }
#anlc-root .anlc-sales-types { display:flex; gap:8px; margin-bottom:15px; }
#anlc-root .anlc-sales-types button { flex:1; border:1px solid #f0dbe8; background:#fff; color:#594966; padding:13px 8px; border-radius:14px; font-weight:750; font-size:12px; }
#anlc-root .anlc-sales-types button.is-active { color:var(--anlc-brand); border-color:#efaccc; background:#fff0f7; }
#anlc-root .anlc-sales-hint { color:#777087; background:#f7f5f9; padding:12px; border-radius:12px; line-height:1.5; font-size:12px; }
#anlc-root .anlc-results-heading { font-size:11px; letter-spacing:.06em; text-transform:uppercase; font-weight:800; color:#847389; margin:15px 0 8px; }
#anlc-root .anlc-service-card,#anlc-root .anlc-order-card { background:#fff; border:1px solid #eee7f0; border-radius:15px; padding:12px; box-shadow:0 4px 12px rgba(48,34,53,.035); margin-bottom:9px; }
#anlc-root .anlc-service-card strong,#anlc-root .anlc-order-card strong { color:#26203a; font-size:13px; font-weight:800; }
#anlc-root .anlc-service-card p { font-size:11px; color:#7d7683; margin:6px 0 11px; }
#anlc-root .anlc-service-actions { display:flex; gap:9px; align-items:center; flex-wrap:wrap; }
#anlc-root .anlc-service-link { display:inline-block; text-decoration:none; background:var(--anlc-brand); color:#fff!important; border-radius:9px; padding:8px 10px; font-weight:750; font-size:11px; }
#anlc-root .anlc-service-actions button, #anlc-root .anlc-order-help { border:1px solid #e9deea; background:#fff; border-radius:9px; padding:8px 10px; font-size:11px; color:#684c6b; font-weight:700; }
#anlc-root .anlc-order-meta { font-size:11px; color:#716a7d; padding:7px 0; }
#anlc-root .anlc-order-paid { background:#effaf4; color:#137851; border:1px solid #ceebd9; }
#anlc-root .anlc-order-unpaid { background:#fff5ec; color:#9b5821; border:1px solid #f5dcc2; }
#anlc-root .anlc-order-paid, #anlc-root .anlc-order-unpaid { border-radius:8px; padding:8px; font-weight:800; font-size:11px; margin-bottom:9px; }
#anlc-root .anlc-order-card .anlc-service-link { margin:1px 8px 5px 0; }
#anlc-root .anlc-order-help { margin:1px 0 5px; }
#anlc-root .anlc-refresh-orders { border:1px solid #eac8dc; background:#fff2f8; color:#9f1f62; font-size:12px; font-weight:800; border-radius:9px; padding:9px 11px; margin-bottom:10px; }
#anlc-root .anlc-order-error { padding:10px; background:#fff5ec; color:#87521d; border-radius:9px; font-size:12px; white-space:pre-wrap; }
#anlc-root .anlc-small-note { font-size:10px; color:#8b8190; line-height:1.5; padding-top:10px; margin:0; }
#anlc-root .anlc-footer-actions { display:flex; align-items:center; justify-content:center; gap:8px; }
#anlc-root .anlc-whatsapp-link { background:#edfff4; color:#168a4d; border-radius:9px; padding:5px 9px; text-decoration:none; font-weight:800; font-size:11px; }
#anlc-root .anlc-whatsapp-link:hover { background:#d6f8e3; color:#0b6f3c; }
@media(max-width:380px) {
 #anlc-root .anlc-header { padding:15px 10px; gap:7px; }
 #anlc-root .anlc-avatar { width:37px; height:37px; }
 #anlc-root .anlc-language { max-width:88px; font-size:9px; }
 #anlc-root .anlc-tabs button { font-size:10px; }
}
#anlc-root .anlc-new-chat { border:0; background:none; color:#817283; padding:2px 6px 4px; font-size:11px; font-weight:700; }
#anlc-root .anlc-new-chat:hover { color:var(--anlc-brand); }

/* v1.3 message alerts and live typing */
#anlc-root .anlc-visitor-typing {color:#c12379;background:#fff5f9;display:flex;align-items:center;gap:7px;padding:6px 13px;font-size:11px;font-weight:650;flex:none;}
#anlc-root .anlc-visitor-typing[hidden]{display:none!important;}
#anlc-root .anlc-typing-dots{display:inline-flex;gap:3px;align-items:center;}
#anlc-root .anlc-typing-dots i{display:block;width:5px;height:5px;border-radius:50%;background:currentColor;animation:anlc-widget-typing 1.1s infinite ease-in-out;}
#anlc-root .anlc-typing-dots i:nth-child(2){animation-delay:.15s;}
#anlc-root .anlc-typing-dots i:nth-child(3){animation-delay:.3s;}
#anlc-root .anlc-sound-toggle{border:0;background:none;color:#7e5271;cursor:pointer;font-size:11px;padding:4px;}
@keyframes anlc-widget-typing {0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}
@media(prefers-reduced-motion:reduce){#anlc-root .anlc-typing-dots i{animation:none;}}
