/* ============================================================
   BIARide Banda AI Chat — Premium UI Stylesheet
   Version 1.2.3  (clean contact step + duplicate estimate guardrails)
   Brand: Deep green #022B1B | Electric green #19C83A | Lime #8CFF66
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --banda-green-deep:   #022B1B;
  --banda-green-dark:   #031F15;
  --banda-green-elec:   #19C83A;
  --banda-lime:         #8CFF66;
  --banda-mint:         #EAF8E8;
  --banda-card-white:   #F8FFF7;
  --banda-grey-green:   #78907D;
  --banda-text-dark:    #061D13;
  --banda-white:        #ffffff;

  --banda-shadow-sm:    0 2px 8px rgba(2,43,27,.10);
  --banda-shadow-md:    0 6px 24px rgba(2,43,27,.15);
  --banda-shadow-lg:    0 16px 48px rgba(2,43,27,.22);
  --banda-radius-sm:    10px;
  --banda-radius-md:    18px;
  --banda-radius-lg:    24px;

  --banda-font-head:    'Bricolage Grotesque', 'Inter', system-ui, -apple-system, sans-serif;
  --banda-font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --banda-z-widget:     99990;
  --banda-z-popup:      99995;
}

/* ═══════════════════════════════════════════════════════════
   CSS ISOLATION — Neutralise Elementor / theme global resets
   All rules below use .banda-widget scope for high specificity
   ═══════════════════════════════════════════════════════════ */

/* Reset all buttons inside our widget — beats Elementor's:
   button { color:#c36; border:1px solid #c36; } (spec 0,0,1)
   [type=button] { ... } (spec 0,1,0)
   Our .banda-widget button = spec 0,1,1 — wins on both        */
.banda-widget button,
.banda-popup  button {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-family: var(--banda-font-body);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
  user-select: none;
  -webkit-user-select: none;
  white-space: normal;
  width: auto;
}
/* Beat Elementor's button:hover { background:#c36; color:#fff } (spec 0,1,1) */
.banda-widget button:hover,
.banda-popup  button:hover {
  background-color: transparent;
  color: inherit;
  text-decoration: none;
}
.banda-widget button:focus:not(:focus-visible),
.banda-popup  button:focus:not(:focus-visible) { outline: none; }

/* Reset anchor colors — beats Elementor's a { color:#c36 } (spec 0,0,1) */
.banda-widget a,
.banda-popup  a {
  color: inherit;
  text-decoration: none;
}
.banda-widget a:hover,
.banda-widget a:active,
.banda-popup  a:hover,
.banda-popup  a:active {
  color: inherit;
  text-decoration: none;
}

/* Reset p margin — Elementor: p { margin-block-end:.9rem } (spec 0,0,1) */
.banda-widget p,
.banda-popup  p {
  margin-block-start: 0;
  margin-block-end:   0;
}

/* Reset input/textarea — beats Elementor's input[type=text] (spec 0,1,1) */
.banda-widget input,
.banda-widget textarea,
.banda-popup  input,
.banda-popup  textarea {
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  font-family: var(--banda-font-body);
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  transition: none;
  width: auto;
}
.banda-widget input:focus,
.banda-widget textarea:focus,
.banda-popup  input:focus,
.banda-popup  textarea:focus {
  border-color: inherit;
}

/* Reset ul/li — Elementor clears margins */
.banda-widget ul,
.banda-widget li,
.banda-popup  ul,
.banda-popup  li {
  list-style: disc;
  margin-block-start: 0;
  margin-block-end:   0;
}

/* ── Widget container ──────────────────────────────────────── */
.banda-widget {
  position: fixed;
  bottom: calc(28px + env(safe-area-inset-bottom));
  right: 28px;
  z-index: var(--banda-z-widget);
  font-family: var(--banda-font-body);
}

/* ── Launcher button ───────────────────────────────────────── */
/* Uses .banda-widget .banda-launcher (spec 0,2,0) > isolation reset (0,1,1) */
.banda-widget .banda-launcher {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 14px;
  background: rgba(2, 43, 27, 0.92);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(25, 200, 58, 0.28);
  border-radius: 9999px;
  box-shadow: 0 4px 20px rgba(2,43,27,.35), 0 0 0 1px rgba(25,200,58,.12);
  cursor: pointer;
  color: var(--banda-white);
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.banda-widget .banda-launcher:hover {
  background: rgba(3, 31, 21, 0.98);
  box-shadow: 0 6px 28px rgba(2,43,27,.45), 0 0 0 1px rgba(25,200,58,.25);
  transform: translateY(-1px);
  color: var(--banda-white);
}
.banda-widget .banda-launcher:focus-visible {
  outline: 2px solid var(--banda-green-elec);
  outline-offset: 3px;
}
.banda-launcher__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  max-width: none;   /* override Elementor img { max-width:100% } */
}
.banda-launcher__text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}
.banda-launcher__title {
  font-family: var(--banda-font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--banda-white);
  line-height: 1.2;
}
.banda-launcher__sub {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  line-height: 1.3;
}
.banda-launcher__chevron {
  margin-left: 2px;
  color: var(--banda-lime);
  transition: transform .25s ease;
}
.banda-widget .banda-launcher[aria-expanded="true"] .banda-launcher__chevron {
  transform: rotate(180deg);
}

@media (max-width: 480px) {
  .banda-widget .banda-launcher {
    padding: 10px;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    justify-content: center;
  }
  .banda-launcher__text,
  .banda-launcher__chevron { display: none; }
  .banda-launcher__icon { width: 36px; height: 36px; }
}

/* ── Chat popup ────────────────────────────────────────────── */
.banda-popup {
  position: fixed;
  bottom: calc(88px + env(safe-area-inset-bottom));
  right: 20px;
  width: min(420px, calc(100vw - 40px));
  height: min(82dvh, 680px);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-radius: var(--banda-radius-lg);
  border: 1px solid rgba(25,200,58,.15);
  box-shadow: var(--banda-shadow-lg), 0 0 0 1px rgba(2,43,27,.06);
  display: flex;
  flex-direction: column;
  z-index: var(--banda-z-popup);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(.97);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.banda-popup.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

@media (max-width: 520px) {
  .banda-popup {
    bottom: 0; right: 0; left: 0;
    width: 100%;
    border-radius: var(--banda-radius-lg) var(--banda-radius-lg) 0 0;
    height: calc(92dvh - env(safe-area-inset-bottom));
    max-height: none;
  }
}

/* ── Header ────────────────────────────────────────────────── */
.banda-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 16px;
  background: var(--banda-green-deep);
  flex-shrink: 0;
  transition: padding .3s ease;
}
.banda-header.is-compact { padding: 12px 16px; }
.banda-header__avatar-wrap { position: relative; flex-shrink: 0; }
.banda-header__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(140,255,102,.4);
  object-fit: cover;
  box-shadow: 0 0 12px rgba(25,200,58,.35);
  transition: width .3s, height .3s;
  max-width: none;   /* override Elementor */
}
.banda-header.is-compact .banda-header__avatar { width: 36px; height: 36px; }
.banda-header__online {
  position: absolute; bottom: 2px; right: 2px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--banda-green-elec);
  border: 2px solid var(--banda-green-deep);
}
.banda-header__info { flex: 1; min-width: 0; }
.banda-header__greeting {
  font-family: var(--banda-font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--banda-white);
  margin: 0;
  transition: font-size .3s;
}
.banda-header.is-compact .banda-header__greeting { font-size: 14px; }
.banda-header__question {
  font-size: 13px;
  color: var(--banda-lime);
  margin: 1px 0 0;
  font-weight: 500;
}
.banda-header.is-compact .banda-header__question { display: none; }
.banda-header__sub {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  margin: 2px 0 0;
}
.banda-header.is-compact .banda-header__sub { display: none; }

.banda-widget .banda-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,.55);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: color .15s, background .15s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banda-widget .banda-close:hover {
  color: var(--banda-white);
  background: rgba(255,255,255,.08);
}

/* ── Messages area ─────────────────────────────────────────── */
.banda-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
  /* Gradient mesh inspired by premium AI chat UIs */
  background:
    radial-gradient(ellipse at 15% 10%, rgba(25,200,58,.09) 0%, transparent 52%),
    radial-gradient(ellipse at 85% 90%, rgba(140,255,102,.07) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 15%, rgba(2,43,27,.04) 0%, transparent 45%),
    #f2f9f2;
}
.banda-messages::-webkit-scrollbar { width: 4px; }
.banda-messages::-webkit-scrollbar-track { background: transparent; }
.banda-messages::-webkit-scrollbar-thumb {
  background: rgba(2,43,27,.15);
  border-radius: 4px;
}

/* ── Session timestamp chip ────────────────────────────────── */
.banda-timestamp {
  text-align: center;
  font-size: 11px;
  color: var(--banda-grey-green);
  letter-spacing: .02em;
  opacity: .65;
  padding: 2px 0 4px;
  user-select: none;
}

/* ── Message bubbles ───────────────────────────────────────── */
.banda-msg {
  display: flex;
  flex-direction: column;
  max-width: 84%;
  animation: bandaMsgIn .2s ease both;
}
.banda-msg--user {
  align-self: flex-end;
  align-items: flex-end;
  max-width: 76%;
}
.banda-msg--banda {
  align-self: flex-start;
  align-items: flex-start;
}
@keyframes bandaMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Avatar row (Banda text bubbles only) ──────────────────── */
.banda-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
}
.banda-msg__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1.5px solid rgba(25,200,58,.28);
  box-shadow: 0 0 6px rgba(25,200,58,.18);
  max-width: none;   /* override Elementor img { max-width:100% } */
}
.banda-msg-row .banda-bubble { max-width: calc(100% - 34px); }

.banda-bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
}
.banda-msg--user .banda-bubble {
  background: linear-gradient(135deg, #19C83A 0%, #0fac2f 100%);
  color: var(--banda-green-deep);
  border-bottom-right-radius: 4px;
  font-weight: 500;
  box-shadow: 0 4px 14px rgba(25,200,58,.32);
}
.banda-msg--banda .banda-bubble {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--banda-text-dark);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 2px 16px rgba(2,43,27,.10);
  border-bottom-left-radius: 4px;
}
.banda-bubble strong { font-weight: 700; }
.banda-bubble em     { font-style: italic; }

/* Markdown list inside bubble */
.banda-bubble ul {
  margin: 6px 0 2px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  list-style: disc;
}
.banda-bubble li { font-size: 14px; line-height: 1.55; }

/* ── Typing indicator (3-dot bounce) ─────────────────────────
   Universally understood "someone is typing" pattern.         */
.banda-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  background: var(--banda-white);
  border: 1px solid rgba(2,43,27,.08);
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  box-shadow: var(--banda-shadow-sm);
  width: fit-content;
}
.banda-typing__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--banda-green-elec);
  animation: bandaDot 1.4s ease-in-out infinite;
}
.banda-typing__dot:nth-child(2) { animation-delay: 0.18s; background: #55E060; }
.banda-typing__dot:nth-child(3) { animation-delay: 0.36s; background: var(--banda-lime); }
@keyframes bandaDot {
  0%, 60%, 100% { transform: translateY(0);    opacity: .45; }
  30%            { transform: translateY(-7px); opacity: 1; }
}

/* ── Scroll-to-bottom button ───────────────────────────────── */
.banda-widget .banda-scroll-down {
  position: absolute;
  bottom: 76px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--banda-green-elec);
  color: var(--banda-green-deep);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(25,200,58,.50);
  transition: opacity .2s ease, transform .2s ease, background .15s;
  z-index: 5;
}
.banda-scroll-down.is-hidden { opacity: 0; pointer-events: none; transform: translateY(8px); }
.banda-widget .banda-scroll-down:hover { background: var(--banda-lime); color: var(--banda-green-deep); }

/* ── Quick reply chips (trip type, etc.) ─────────────────────
   Shown after AI asks a multiple-choice question              */
.banda-quick-replies {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
  width: 100%;
  max-width: 320px;
}
.banda-widget .banda-quick-reply-btn {
  background: var(--banda-white);
  border: 1.5px solid rgba(25,200,58,.28);
  border-radius: var(--banda-radius-md);
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  font-family: var(--banda-font-body);
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: border-color .15s, background .15s, transform .12s, box-shadow .12s;
  box-shadow: var(--banda-shadow-sm);
  width: 100%;
  animation: bandaMsgIn .2s ease both;
}
.banda-widget .banda-quick-reply-btn:nth-child(2) { animation-delay: .07s; }
.banda-widget .banda-quick-reply-btn:hover {
  border-color: var(--banda-green-elec);
  background: rgba(25,200,58,.05);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(25,200,58,.15);
}
.banda-quick-reply-btn__icon {
  font-size: 20px;
  line-height: 1;
  margin-bottom: 4px;
}
.banda-quick-reply-btn__main {
  font-size: 14px;
  font-weight: 600;
  color: var(--banda-green-deep);
  line-height: 1.3;
}
.banda-quick-reply-btn__desc {
  font-size: 12px;
  color: var(--banda-grey-green);
  line-height: 1.4;
}

/* Primary variant (Yes / confirm action) */
.banda-widget .banda-quick-reply-btn--primary {
  background: linear-gradient(135deg, #19C83A 0%, #0fac2f 100%);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(25,200,58,.35);
}
.banda-widget .banda-quick-reply-btn--primary .banda-quick-reply-btn__main {
  color: var(--banda-green-deep);
}
.banda-widget .banda-quick-reply-btn--primary .banda-quick-reply-btn__desc {
  color: rgba(2,43,27,.6);
}
.banda-widget .banda-quick-reply-btn--primary:hover {
  background: linear-gradient(135deg, #22d445 0%, #12ba35 100%);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(25,200,58,.45);
  color: var(--banda-green-deep);
}

/* Vehicle confirmation — two chips side by side */
.banda-vehicle-confirm {
  flex-direction: row;
  max-width: 340px;
}
.banda-vehicle-confirm .banda-quick-reply-btn {
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px 10px;
  gap: 4px;
}
.banda-vehicle-confirm .banda-quick-reply-btn__icon { margin-bottom: 2px; }

/* ── Option cards (initial home state) ─────────────────────── */
.banda-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}
.banda-widget .banda-option-card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255,255,255,.65);
  border-radius: var(--banda-radius-md);
  padding: 15px 14px;
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s, transform .15s, background .15s;
  text-align: left;
  font-family: var(--banda-font-body);
  color: var(--banda-text-dark);
  box-shadow: 0 2px 14px rgba(2,43,27,.09), 0 0 0 1px rgba(25,200,58,.05);
  animation: bandaCardIn .25s ease both;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.banda-widget .banda-option-card:nth-child(2) { animation-delay: .05s; }
.banda-widget .banda-option-card:nth-child(3) { animation-delay: .10s; }
.banda-widget .banda-option-card:nth-child(4) { animation-delay: .15s; }
@keyframes bandaCardIn {
  from { opacity:0; transform: translateY(10px); }
  to   { opacity:1; transform: translateY(0); }
}
.banda-widget .banda-option-card:hover {
  border-color: rgba(25,200,58,.45);
  box-shadow: 0 6px 22px rgba(25,200,58,.18);
  transform: translateY(-2px);
  background: rgba(255,255,255,.96);
  color: var(--banda-text-dark);
}
.banda-widget .banda-option-card:focus-visible {
  outline: 2px solid var(--banda-green-elec);
}
.banda-option-card__icon {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 36px;
  height: 36px;
  margin-bottom: 8px;
  background: var(--banda-mint);
  border-radius: 10px;
  padding: 7px;
  box-sizing: border-box;
  flex-shrink: 0;
}
.banda-option-card__icon svg { width: 22px; height: 22px; flex-shrink: 0; }
.banda-option-card__title {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--banda-green-deep);
  line-height: 1.3;
}
.banda-option-card__sub {
  display: block;
  font-size: 11px;
  color: var(--banda-grey-green);
  margin-top: 2px;
  line-height: 1.4;
}

/* ── Route preview card ────────────────────────────────────── */
.banda-route-preview {
  background: var(--banda-white);
  border: 1px solid rgba(2,43,27,.1);
  border-radius: var(--banda-radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--banda-shadow-sm);
  margin-top: 4px;
  animation: bandaMsgIn .2s ease both;
  max-width: 100%;
  overflow: hidden;
}
.banda-route-pill {
  background: var(--banda-green-deep);
  color: var(--banda-white);
  border-radius: 9999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  max-width: 44%;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  flex-shrink: 0;
}
.banda-route-car {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--banda-green-elec);
  flex-shrink: 0;
}
.banda-route-car svg { width: 36px; height: 22px; }

/* ── Vehicle card ──────────────────────────────────────────── */
.banda-vehicle-card {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255,255,255,.7);
  border-radius: var(--banda-radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(2,43,27,.10), 0 0 0 1px rgba(25,200,58,.06);
  margin-top: 4px;
  animation: bandaMsgIn .2s ease both;
}
.banda-vehicle-card__img {
  width: 72px;
  height: 48px;
  max-height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  max-width: none;   /* override Elementor */
}
.banda-vehicle-card__info { flex: 1; min-width: 0; }
.banda-vehicle-card__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--banda-grey-green);
  font-weight: 600;
}
.banda-vehicle-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--banda-green-deep);
  font-family: var(--banda-font-head);
}
.banda-vehicle-card__cap { font-size: 12px; color: var(--banda-grey-green); margin-top: 2px; }
.banda-vehicle-card__note { font-size: 12px; color: var(--banda-text-dark); margin-top: 4px; line-height: 1.4; }

/* ── Price card ────────────────────────────────────────────── */
.banda-price-card {
  background: var(--banda-green-deep);
  border-radius: var(--banda-radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  animation: bandaMsgIn .2s ease both;
}
.banda-price-card__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255,255,255,.5);
  font-weight: 600;
}
.banda-price-card__usd {
  font-size: 28px;
  font-weight: 700;
  color: var(--banda-white);
  font-family: var(--banda-font-head);
  line-height: 1;
}
.banda-price-card__lkr { font-size: 14px; color: var(--banda-lime); font-weight: 500; margin-top: 4px; }
.banda-price-card__note { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 6px; font-style: italic; }
.banda-price-card__vehicle-wrap { text-align: right; flex-shrink: 0; }
.banda-price-card__vehicle-img {
  width: 64px;
  height: 40px;
  max-height: 40px;
  object-fit: contain;
  opacity: .85;
  max-width: none;  /* override Elementor */
}
.banda-price-card__vehicle-name { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 4px; text-align: center; }

/* ── Location suggestion pills ─────────────────────────────── */
.banda-location-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}
.banda-widget .banda-location-pill {
  background: var(--banda-mint);
  border: 1px solid rgba(25,200,58,.25);
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--banda-green-deep);
  cursor: pointer;
  transition: background .15s, border-color .15s, transform .12s;
  font-family: var(--banda-font-body);
}
.banda-widget .banda-location-pill:hover {
  background: rgba(25,200,58,.12);
  border-color: var(--banda-green-elec);
  transform: translateY(-1px);
  color: var(--banda-green-deep);
}
.banda-widget .banda-location-pill:focus-visible { outline: 2px solid var(--banda-green-elec); }
.banda-location-pill__dist { font-size: 11px; color: var(--banda-grey-green); margin-left: 4px; }

/* ── WhatsApp card — contrast fix ──────────────────────────── */
/* #25d366 with white text = 2.2:1 (fails WCAG AA).
   Using #075E54 (WhatsApp dark teal) = ~10:1 with white.     */
.banda-widget .banda-whatsapp-card {
  background: #075E54;
  border-radius: var(--banda-radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  animation: bandaMsgIn .2s ease both;
  text-decoration: none;
  color: #fff;
  transition: transform .15s, box-shadow .15s, background .15s;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--banda-font-body);
}
.banda-widget .banda-whatsapp-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(7,94,84,.4);
  background: #0A7068;
  color: #fff;
}
.banda-whatsapp-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #25d366;   /* WhatsApp brand green — on dark bg this reads clearly */
  border-radius: 50%;
}
.banda-whatsapp-card__icon svg { width: 22px; height: 22px; }
.banda-whatsapp-card__body { flex: 1; min-width: 0; }
.banda-whatsapp-card__title {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  line-height: 1.3;
}
.banda-whatsapp-card__num {
  font-size: 12px;
  color: rgba(255,255,255,.8);
  margin-top: 3px;
}
.banda-whatsapp-card__arrow {
  color: rgba(255,255,255,.5);
  flex-shrink: 0;
}

/* ── Confirmation card (post-submission dark) ──────────────── */
.banda-confirm-card {
  background: linear-gradient(135deg, var(--banda-green-deep) 0%, #044030 100%);
  border-radius: var(--banda-radius-md);
  padding: 18px;
  color: var(--banda-white);
  margin-top: 4px;
  animation: bandaMsgIn .25s ease both;
  border: 1px solid rgba(140,255,102,.2);
}
.banda-confirm-card__title {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--banda-font-head);
  color: var(--banda-lime);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.banda-confirm-card__ref {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
/* Used inside DARK confirmation card only */
.banda-confirm-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 8px;
}
.banda-confirm-row:last-of-type { border-bottom: none; }
.banda-confirm-row__label { color: rgba(255,255,255,.5); flex-shrink: 0; }
.banda-confirm-row__value { color: var(--banda-white); font-weight: 500; text-align: right; word-break: break-word; }
.banda-confirm-card__note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--banda-lime);
  opacity: .75;
  font-style: italic;
}

/* ── Booking summary card (white bg) ───────────────────────── */
/* NOTE: does NOT reuse .banda-confirm-row which has white text */
.banda-summary-card {
  background: var(--banda-white);
  border: 1px solid rgba(2,43,27,.1);
  border-radius: var(--banda-radius-md);
  padding: 16px;
  box-shadow: var(--banda-shadow-sm);
}
.banda-summary-card__title {
  font-weight: 800;
  font-size: 15px;
  color: var(--banda-green-deep);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.banda-summary-card__title svg { color: var(--banda-green-elec); flex-shrink: 0; }

/* Summary rows — dark text on white background */
.banda-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(2,43,27,.06);
  gap: 8px;
}
.banda-summary-row:last-of-type { border-bottom: none; }
.banda-summary-row__label {
  color: var(--banda-grey-green);
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 500;
}
.banda-summary-row__value {
  color: var(--banda-text-dark);
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

/* ── Summary / booking action buttons ─────────────────────── */
.banda-summary-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: 10px;
  margin-top: 14px;
}
.banda-widget .banda-btn {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border-radius: 16px;
  font-family: var(--banda-font-body);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform .12s, box-shadow .12s, opacity .15s, background .15s;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}
.banda-widget .banda-btn:disabled { opacity: .5; cursor: not-allowed; }
.banda-widget .banda-btn--primary {
  background: var(--banda-green-elec);
  color: var(--banda-green-deep);
}
.banda-widget .banda-btn--primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(25,200,58,.4);
  background: var(--banda-green-elec);
  color: var(--banda-green-deep);
}
.banda-widget .banda-btn--secondary {
  background: rgba(2,43,27,.06);
  color: var(--banda-green-deep);
  border: 1px solid rgba(2,43,27,.12);
}
.banda-widget .banda-btn--secondary:hover:not(:disabled) {
  background: rgba(2,43,27,.1);
  color: var(--banda-green-deep);
}

@media (max-width: 360px) {
  .banda-summary-actions {
    grid-template-columns: 1fr;
  }
  .banda-widget .banda-btn {
    min-height: 48px;
  }
}

/* ── Input area ────────────────────────────────────────────── */
.banda-input-area {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  background: var(--banda-white);
  border-top: 1px solid rgba(2,43,27,.07);
  flex-shrink: 0;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
/* .banda-widget .banda-input → spec 0,2,0 beats Elementor's textarea (0,0,1)
   and input[type=text] (0,1,1)                                               */
.banda-widget .banda-input {
  flex: 1;
  min-height: 40px;
  max-height: 110px;
  border: 1.5px solid rgba(2,43,27,.12);
  border-radius: var(--banda-radius-sm);
  padding: 9px 13px;
  font-family: var(--banda-font-body);
  font-size: 14px;
  color: var(--banda-text-dark);
  resize: none;
  outline: none;
  line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
  background: var(--banda-card-white);
  width: auto;
}
.banda-widget .banda-input:focus {
  border-color: var(--banda-green-elec);
  box-shadow: 0 0 0 3px rgba(25,200,58,.12);
}
.banda-widget .banda-input::placeholder { color: rgba(6,29,19,.35); }

.banda-widget .banda-send-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--banda-green-elec);
  color: var(--banda-green-deep);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .12s, box-shadow .12s, opacity .15s;
}
.banda-widget .banda-send-btn:hover:not(:disabled) {
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(25,200,58,.4);
  background: var(--banda-green-elec);
  color: var(--banda-green-deep);
}
.banda-widget .banda-send-btn:disabled { opacity: .35; cursor: not-allowed; }

.banda-widget .banda-restart-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 9999px;
  background: var(--banda-mint);
  border: 1.5px solid rgba(25,200,58,.3);
  color: var(--banda-green-deep);
  cursor: pointer;
  font-family: var(--banda-font-body);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color .15s, background .15s, transform .12s;
}
.banda-widget .banda-restart-btn:hover {
  border-color: var(--banda-green-elec);
  background: rgba(25,200,58,.15);
  transform: translateY(-1px);
  color: var(--banda-green-deep);
}
.banda-widget .banda-restart-btn svg { flex-shrink: 0; }

/* ── Date / Time / Stepper picker widgets ─────────────────── */
.banda-picker-widget {
  background: var(--banda-white);
  border: 1px solid rgba(2,43,27,.1);
  border-radius: var(--banda-radius-md);
  padding: 14px 16px;
  box-shadow: var(--banda-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 100%;
  animation: bandaMsgIn .2s ease both;
}
.banda-picker-widget__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--banda-green-deep);
}

/* Date/time native input — spec 0,2,0 beats Elementor input[type=date] (0,1,1) */
.banda-widget .banda-picker-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 12px;
  border: 1.5px solid rgba(2,43,27,.15);
  border-radius: var(--banda-radius-sm);
  font-family: var(--banda-font-body);
  font-size: 14px;
  color: var(--banda-text-dark);
  background: var(--banda-card-white);
  cursor: pointer;
  outline: none;
  transition: border-color .15s;
}
.banda-widget .banda-picker-input:focus { border-color: var(--banda-green-elec); }

/* Time quick-slots grid */
.banda-time-slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.banda-widget .banda-time-slot {
  padding: 7px 4px;
  border-radius: 8px;
  background: var(--banda-mint);
  border: 1.5px solid transparent;
  color: var(--banda-green-deep);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  font-family: var(--banda-font-body);
  transition: border-color .12s, background .12s;
  justify-content: center;
}
.banda-widget .banda-time-slot:hover,
.banda-widget .banda-time-slot.is-selected {
  border-color: var(--banda-green-elec);
  background: rgba(25,200,58,.14);
  color: var(--banda-green-deep);
}
.banda-picker-divider {
  font-size: 11px;
  color: var(--banda-grey-green);
  text-align: center;
  position: relative;
}
.banda-picker-divider::before,
.banda-picker-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30%;
  height: 1px;
  background: rgba(2,43,27,.08);
}
.banda-picker-divider::before { left: 0; }
.banda-picker-divider::after  { right: 0; }

/* Number stepper (passengers / bags) */
.banda-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(2,43,27,.06);
}
.banda-stepper:last-of-type { border-bottom: none; }
.banda-stepper__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--banda-text-dark);
}
.banda-stepper__row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.banda-widget .banda-stepper__btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--banda-mint);
  border: 1.5px solid rgba(25,200,58,.3);
  color: var(--banda-green-deep);
  font-size: 20px;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .12s, border-color .12s;
  line-height: 1;
  font-family: var(--banda-font-body);
}
.banda-widget .banda-stepper__btn:hover {
  background: rgba(25,200,58,.2);
  border-color: var(--banda-green-elec);
  color: var(--banda-green-deep);
}
.banda-stepper__val {
  font-size: 20px;
  font-weight: 700;
  color: var(--banda-green-deep);
  font-family: var(--banda-font-head);
  min-width: 28px;
  text-align: center;
  line-height: 1;
}

/* ── Debug panel ───────────────────────────────────────────── */
.banda-debug {
  background: #f0f5f0;
  border-top: 1px solid rgba(2,43,27,.07);
  font-size: 11px;
  font-family: monospace;
  flex-shrink: 0;
}
.banda-debug summary { padding: 4px 12px; cursor: pointer; color: var(--banda-grey-green); user-select: none; }
.banda-debug pre {
  padding: 8px 12px;
  margin: 0;
  max-height: 160px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
  color: #2a4a30;
}

/* ── Utility ───────────────────────────────────────────────── */
.banda-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* v1.0.7 — post-submit journey actions */
.banda-confirm-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.banda-confirm-card .banda-btn--secondary {
  background: rgba(255,255,255,.08);
  color: var(--banda-white);
  border-color: rgba(255,255,255,.16);
}
.banda-confirm-card .banda-btn--secondary:hover:not(:disabled) {
  background: rgba(255,255,255,.14);
  color: var(--banda-white);
}
@media (max-width: 360px) {
  .banda-confirm-actions { grid-template-columns: 1fr; }
}
