/* Chat card and request-a-call form of barikweb.com (barikweb-chat.js). Everything lives under #bwc. */
#bwc { --bwc-ink: #151a3a; --bwc-mute: #5f6275; --bwc-line: #e3e8f5; --bwc-blue: #3b4fd0; --bwc-wa: #25D366; font-family: 'Manrope', system-ui, sans-serif; color: var(--bwc-ink); }
#bwc, #bwc * { box-sizing: border-box; }
#bwc button, #bwc input, #bwc a { font-family: inherit; }
#bwc [hidden] { display: none !important; }

#bwc .bwc-fab { position: fixed; right: 20px; bottom: 20px; z-index: 78; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--bwc-wa); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 8px 22px rgba(37, 211, 102, .42); transition: transform .2s ease, box-shadow .2s ease; }
#bwc .bwc-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(37, 211, 102, .5); }
#bwc .bwc-fab:focus-visible, #bwc .bwc-q:focus-visible, #bwc .bwc-cr:focus-visible, #bwc .bwc-go:focus-visible, #bwc .bwc-x:focus-visible, #bwc .bwc-back:focus-visible, #bwc .bwc-in:focus-visible { outline: 2px solid #9fb0ff; outline-offset: 1px; }
#bwc .bwc-fab svg { width: 27px; height: 27px; fill: #fff; }

#bwc .bwc-card { position: fixed; right: 20px; bottom: 84px; z-index: 79; width: 316px; max-width: calc(100vw - 32px); max-height: calc(100vh - 100px); overflow: auto; border-radius: 18px; background: #fff; box-shadow: 0 18px 48px rgba(21, 26, 58, .28); animation: bwcIn .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes bwcIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

#bwc .bwc-h { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; background: var(--bwc-ink); color: #fff; }
#bwc .bwc-av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #fff; color: var(--bwc-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px; }
#bwc .bwc-ht { flex: 1; min-width: 0; }
#bwc .bwc-ht b { display: block; font-size: 14.5px; line-height: 1.2; font-weight: 800; }
#bwc .bwc-ht span { display: flex; align-items: center; gap: 6px; margin-top: 1px; font-size: 12px; color: #dfe5ff; }
#bwc .bwc-ht span:before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
#bwc .bwc-ht.plain span:before { display: none; }
#bwc .bwc-x, #bwc .bwc-back { flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
#bwc .bwc-x:hover, #bwc .bwc-back:hover { background: rgba(255, 255, 255, .14); }
#bwc .bwc-x svg, #bwc .bwc-back svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

#bwc .bwc-b { padding: 10px 12px; background: #e9e4dc; }
#bwc .bwc-bub { padding: 9px 12px; border-radius: 12px; background: #fff; font-size: 13.5px; line-height: 1.45; }
#bwc .bwc-bub em { display: block; margin-top: 3px; text-align: right; font-style: normal; font-size: 11px; color: var(--bwc-mute); }

#bwc .bwc-qs { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px 10px; }
#bwc .bwc-q { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 10px; border: 1px solid var(--bwc-line); border-radius: 12px; background: #fff; color: var(--bwc-ink); font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
#bwc .bwc-q:hover { border-color: #b9c4f2; background: #f7f9ff; }
#bwc .bwc-q i { flex: none; width: 26px; height: 26px; border-radius: 8px; background: #eceffd; display: flex; align-items: center; justify-content: center; }
#bwc .bwc-q i svg { width: 14px; height: 14px; stroke: var(--bwc-blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#bwc .bwc-q span { flex: 1; }
#bwc .bwc-q:after { content: "\203A"; color: var(--bwc-mute); font-size: 18px; line-height: 1; }
#bwc .bwc-sep { height: 1px; margin: 2px 0; background: var(--bwc-line); }
#bwc .bwc-cr { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 12px; background: linear-gradient(90deg, #ff7a59, #f0485f); color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 14px rgba(240, 72, 95, .22); }
#bwc .bwc-cr svg { width: 15px; height: 15px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#bwc .bwc-note { text-align: center; font-size: 11px; margin-top: 2px; color: var(--bwc-mute); }

#bwc form.bwc-f { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 12px 12px 12px; }
#bwc .bwc-fl { display: flex; flex-direction: column; gap: 4px; }
#bwc .bwc-fl label { font-size: 12.5px; font-weight: 700; }
#bwc .bwc-in { width: 100%; height: 40px; padding: 0 12px; border: 1px solid #cfd7ee; border-radius: 10px; background: #fff; color: var(--bwc-ink); font-size: 14px; outline: 0; }
#bwc .bwc-in:focus { border-color: var(--bwc-blue); box-shadow: 0 0 0 4px #e6eafc; }
#bwc .bwc-ph { display: flex; align-items: center; height: 40px; border: 1px solid #cfd7ee; border-radius: 10px; background: #fff; }
#bwc .bwc-ph:focus-within { border-color: var(--bwc-blue); box-shadow: 0 0 0 4px #e6eafc; }
#bwc .bwc-ph span { padding: 0 10px; height: 100%; display: flex; align-items: center; border-right: 1px solid var(--bwc-line); font-size: 14px; font-weight: 600; color: var(--bwc-mute); }
#bwc .bwc-ph .bwc-in { border: 0; box-shadow: none; height: 100%; border-radius: 0 10px 10px 0; }
#bwc .bwc-hint { font-size: 11.5px; color: var(--bwc-mute); }
#bwc .bwc-err { font-size: 12px; color: #c2321f; }
#bwc .bwc-go { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: linear-gradient(90deg, #ff7a59, #f0485f); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
#bwc .bwc-go[disabled] { opacity: .65; cursor: default; }
#bwc .bwc-go svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
#bwc .bwc-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

#bwc .bwc-ok { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 16px 16px; text-align: center; }
#bwc .bwc-tick { width: 52px; height: 52px; border-radius: 50%; background: #e3f4ea; display: flex; align-items: center; justify-content: center; }
#bwc .bwc-tick svg { width: 25px; height: 25px; stroke: #1f7a50; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
#bwc .bwc-ok b { font-size: 16px; font-weight: 800; }
#bwc .bwc-ok p { margin: 0; font-size: 13.5px; line-height: 1.5; color: #4a4f6b; }
#bwc .bwc-ok small { font-size: 12.5px; color: var(--bwc-mute); }
#bwc .bwc-ok .bwc-close { height: 38px; margin-top: 4px; padding: 0 18px; border: 1px solid #cfd7ee; border-radius: 10px; background: #fff; color: var(--bwc-ink); font-size: 13px; font-weight: 700; cursor: pointer; }

@media (max-width: 767px) {
  #bwc .bwc-fab { bottom: calc(98px + env(safe-area-inset-bottom)); right: 14px; width: 48px; height: 48px; }
  #bwc .bwc-fab svg { width: 27px; height: 27px; }
  #bwc .bwc-card { right: 12px; bottom: calc(154px + env(safe-area-inset-bottom)); width: calc(100vw - 24px); max-width: 330px; max-height: calc(100vh - 180px - env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { #bwc .bwc-card { animation: none; } #bwc .bwc-fab { transition: none; } }
