/* Barbil Taxi chat assistant — self-contained, safe to load on any theme. */
.btsbot { --b-ink: #0E1726; --b-amber: #FFB400; --b-amber2: #F29E00; --b-sand: #F5EFE3; --b-line: #E6DECF; --b-muted: #5A6475; --b-wa: #1FA855;
	position: fixed; right: 16px; bottom: 16px; z-index: 9999;
	font: 400 15px/1.5 "Plus Jakarta Sans", "Noto Sans Devanagari", "Noto Sans Oriya", "Noto Sans Gurmukhi", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", sans-serif; color: #1A2332; }
.btsbot *, .btsbot *::before, .btsbot *::after { box-sizing: border-box; }
.btsbot [hidden] { display: none !important; }
/* On our pages the phone action bar carries the Chat button, so no floating bubble there. */
@media (max-width: 899px) { body.bts .btsbot-launch { display: none; } }
/* Third-party floating WhatsApp buttons (e.g. NinjaTeam WhatsApp Chat) duplicate our own WhatsApp actions. */
body.bts .wa__btn_popup, body.bts .wa__popup_chat_box, body.bts .nta_wa_button, body.bts #wa { display: none !important; }
/* Elsewhere, sit above any floating WhatsApp button instead of on top of it. */
.btsbot.is-stacked { bottom: 92px; }

.btsbot-launch { display: flex; align-items: center; gap: 10px; border: 0; cursor: pointer; background: var(--b-ink); color: #fff; padding: 8px 18px 8px 8px; border-radius: 999px; box-shadow: 0 14px 34px -12px rgba(14, 23, 38, .6); font: inherit; transition: transform .2s; }
.btsbot-launch:hover { transform: translateY(-2px); }
.btsbot-launch:focus-visible, .btsbot button:focus-visible, .btsbot a:focus-visible, .btsbot input:focus-visible { outline: 3px solid var(--b-amber); outline-offset: 2px; }
.btsbot-launch__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--b-amber); color: var(--b-ink); }
.btsbot-launch__ic svg { width: 24px; height: 24px; }
.btsbot-launch__txt { display: flex; flex-direction: column; align-items: flex-start; font-weight: 700; line-height: 1.15; }
.btsbot-launch__txt small { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .74rem; opacity: .75; }
.btsbot-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); }
.btsbot[data-state="open"] .btsbot-launch { display: none; }

.btsbot-panel { position: fixed; inset: auto 0 0 0; height: min(86vh, 680px); height: min(86dvh, 680px); display: flex; flex-direction: column; background: #FFFDF8; border-radius: 22px 22px 0 0; box-shadow: 0 -20px 60px -20px rgba(14, 23, 38, .55); overflow: hidden; animation: btsbot-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes btsbot-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }

.btsbot-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--b-ink); color: #fff; }
.btsbot-av { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--b-amber); color: var(--b-ink); font: 800 1.1rem/1 "Bricolage Grotesque", sans-serif; }
.btsbot-head__t { display: flex; flex-direction: column; flex: 1; line-height: 1.2; }
.btsbot-head__t strong { font-size: 1rem; }
.btsbot-head__t small { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; opacity: .75; }
.btsbot-x { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.btsbot-x svg { width: 20px; height: 20px; }

.btsbot-log { flex: 1; overflow-y: auto; padding: 16px 14px 6px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; overscroll-behavior: contain; }
.btsbot-msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; word-wrap: break-word; }
.btsbot-msg p { margin: 0 0 8px; }
.btsbot-msg p:last-child { margin: 0; }
.btsbot-msg--bot { align-self: flex-start; background: #fff; border: 1px solid var(--b-line); border-bottom-left-radius: 5px; }
.btsbot-msg--me { align-self: flex-end; background: var(--b-ink); color: #fff; border-bottom-right-radius: 5px; }
.btsbot-small { font-size: .78rem; color: var(--b-muted); }
.btsbot-prices, .btsbot-contact { list-style: none; margin: 6px 0; padding: 0; display: grid; gap: 6px; }
.btsbot-prices li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; background: var(--b-sand); font-size: .9rem; }
.btsbot-prices li.is-best { background: #FFF3D1; box-shadow: inset 0 0 0 1.5px var(--b-amber); }
.btsbot-prices b { font-weight: 800; white-space: nowrap; }
.btsbot-contact a { color: var(--b-ink); font-weight: 700; text-decoration: none; }
.btsbot-contact a:hover { color: var(--b-amber2); }
.btsbot-sum { margin: 6px 0 0; display: grid; gap: 4px; }
.btsbot-sum div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; border-bottom: 1px dashed var(--b-line); padding: 4px 0; }
.btsbot-sum dt { color: var(--b-muted); }
.btsbot-sum dd { margin: 0; font-weight: 700; text-align: right; }

.btsbot-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.btsbot-typing i { width: 7px; height: 7px; border-radius: 50%; background: #B9AE97; animation: btsbot-b 1s infinite ease-in-out; }
.btsbot-typing i:nth-child(2) { animation-delay: .15s; }
.btsbot-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes btsbot-b { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }

.btsbot-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 14px 4px; max-height: 40%; overflow-y: auto; }
.btsbot-chips:empty { display: none; }
.btsbot-chip { display: inline-flex; align-items: center; border: 1.5px solid var(--b-line); background: #fff; color: var(--b-ink); font: 600 .88rem/1.2 inherit; font-family: inherit; padding: 9px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; transition: border-color .15s, background .15s; }
.btsbot-chip:hover { border-color: var(--b-amber2); background: #FFFBEF; }
.btsbot-chip.is-primary { background: var(--b-amber); border-color: var(--b-amber); }
.btsbot-chip.is-primary:hover { background: #FFC12E; }
.btsbot-date { display: flex; gap: 8px; width: 100%; }
.btsbot-date input { flex: 1; min-width: 0; border: 1.5px solid var(--b-line); border-radius: 12px; padding: 8px 10px; font: inherit; }

.btsbot-input { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--b-line); background: #fff; }
.btsbot-input input { flex: 1; min-width: 0; border: 1.5px solid var(--b-line); border-radius: 999px; padding: 12px 16px; font: inherit; font-size: 16px; background: #FFFDF8; color: inherit; }
.btsbot-input input:focus { outline: none; border-color: var(--b-amber2); }
.btsbot-input button { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--b-amber); color: var(--b-ink); cursor: pointer; }
.btsbot-input button svg { width: 20px; height: 20px; }
.btsbot-foot { margin: 0; padding: 0 14px calc(8px + env(safe-area-inset-bottom)); background: #fff; font-size: .7rem; color: var(--b-muted); text-align: center; }

@media (max-width: 479px) {
	.btsbot-launch__txt { display: none; }
	.btsbot-launch { padding: 6px; }
	.btsbot-launch__ic { width: 52px; height: 52px; }
}
@media (min-width: 640px) {
	.btsbot { right: 22px; bottom: 22px; }
	.btsbot.is-stacked { bottom: 100px; }
	.btsbot-panel { inset: auto 22px 22px auto; width: 390px; height: min(640px, calc(100vh - 44px)); border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(14, 23, 38, .55); }
}
@media (prefers-reduced-motion: reduce) {
	.btsbot-panel, .btsbot-typing i { animation: none; }
}
