#visualbuy-chatbot-root {
  position: relative;
  z-index: 2147483000;
}

.vb-chatbot {
  --vb-bg: #ffffff;
  --vb-text: #18211f;
  --vb-muted: #66736f;
  --vb-border: #d8e1de;
  --vb-accent: #0f6b57;
  --vb-accent-dark: #0a4f40;
  --vb-launcher: var(--vb-accent);
  --vb-offset-x: 22px;
  --vb-offset-y: 22px;
  --vb-circle-size: 58px;
  --vb-circle-icon-size: 42px;
  --vb-avatar-ring: 4px;
  --vb-user: #132f2a;
  --vb-soft: #f3f7f5;
  --vb-shadow-strong: 0 24px 54px rgba(7, 24, 20, 0.32);
  --vb-shadow-soft: 0 10px 24px rgba(7, 24, 20, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--vb-text);
}

.vb-chatbot:not(.vb-chatbot--open) .vb-chatbot__panel,
.vb-chatbot__panel[hidden],
.vb-chatbot__teaser[hidden],
.vb-chatbot__call-start[hidden],
.vb-chatbot-modal[hidden] {
  display: none !important;
}

.vb-chatbot--open .vb-chatbot__panel {
  display: grid !important;
}

.vb-chatbot__launcher {
  position: fixed;
  right: var(--vb-offset-x);
  bottom: var(--vb-offset-y);
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  max-width: min(260px, calc(100vw - 32px));
  padding: 10px 16px 10px 12px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--vb-launcher), var(--vb-accent-dark));
  color: #ffffff;
  box-shadow: var(--vb-shadow-strong), 0 2px 9px rgba(255, 255, 255, 0.18) inset;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  isolation: isolate;
  box-sizing: border-box;
  z-index: 2147483001;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.vb-chatbot__launcher::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: rgba(49, 181, 97, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 0;
}

.vb-chatbot--bottom-left .vb-chatbot__launcher {
  right: auto;
  left: var(--vb-offset-x);
}

.vb-chatbot--bottom-right .vb-chatbot__launcher {
  right: var(--vb-offset-x);
  left: auto;
}

.vb-chatbot__launcher:hover,
.vb-chatbot__launcher:focus-visible {
  filter: brightness(0.92);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 30px 64px rgba(7, 24, 20, 0.38), 0 2px 9px rgba(255, 255, 255, 0.22) inset;
}

.vb-chatbot__launcher:hover::before,
.vb-chatbot__launcher:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.vb-chatbot--open .vb-chatbot__launcher {
  transform: translateY(-1px) scale(0.96);
  box-shadow: 0 16px 36px rgba(7, 24, 20, 0.26), 0 2px 8px rgba(255, 255, 255, 0.18) inset;
}

.vb-chatbot:not(.vb-chatbot--open) .vb-chatbot__launcher:hover,
.vb-chatbot:not(.vb-chatbot--open) .vb-chatbot__launcher:focus-visible {
  animation: none;
}

.vb-chatbot--effect-pulse:not(.vb-chatbot--open) .vb-chatbot__launcher {
  animation: vb-chatbot-pulse 2.4s ease-in-out infinite;
}

.vb-chatbot--effect-bounce:not(.vb-chatbot--open) .vb-chatbot__launcher {
  animation: vb-chatbot-bounce 3.2s ease-in-out infinite;
}

.vb-chatbot--effect-glow:not(.vb-chatbot--open) .vb-chatbot__launcher {
  animation: vb-chatbot-glow 2.8s ease-in-out infinite;
}

.vb-chatbot--effect-float:not(.vb-chatbot--open) .vb-chatbot__launcher {
  animation: vb-chatbot-float 3.4s ease-in-out infinite;
}

.vb-chatbot--effect-wiggle:not(.vb-chatbot--open) .vb-chatbot__launcher {
  animation: vb-chatbot-wiggle 4.2s ease-in-out infinite;
}

@keyframes vb-chatbot-pulse {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(10, 35, 30, 0.22), 0 0 0 0 rgba(15, 107, 87, 0.32);
  }

  55% {
    box-shadow: 0 14px 34px rgba(10, 35, 30, 0.22), 0 0 0 12px rgba(15, 107, 87, 0);
  }
}

@keyframes vb-chatbot-bounce {
  0%,
  76%,
  100% {
    transform: translateY(0);
  }

  84% {
    transform: translateY(-7px);
  }

  92% {
    transform: translateY(0);
  }
}

@keyframes vb-chatbot-glow {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(10, 35, 30, 0.22), 0 0 0 rgba(49, 181, 97, 0);
  }

  50% {
    box-shadow: 0 14px 34px rgba(10, 35, 30, 0.22), 0 0 18px rgba(49, 181, 97, 0.34);
  }
}

@keyframes vb-chatbot-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes vb-chatbot-wiggle {
  0%,
  78%,
  100% {
    transform: rotate(0deg);
  }

  83% {
    transform: rotate(-4deg);
  }

  88% {
    transform: rotate(4deg);
  }

  93% {
    transform: rotate(0deg);
  }
}

.vb-chatbot__launcher-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 800;
  line-height: 1;
  z-index: 1;
}

.vb-chatbot__launcher-text {
  position: relative;
  z-index: 1;
}

.vb-chatbot__unread-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #f04f3a;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(7, 24, 20, 0.26);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  z-index: 3;
}

.vb-chatbot__unread-badge[hidden] {
  display: none !important;
}

.vb-chatbot__launcher--has-unread {
  animation: vb-chatbot-unread 2.1s ease-in-out infinite;
}

.vb-chatbot__launcher--has-unread:hover,
.vb-chatbot__launcher--has-unread:focus-visible {
  animation: none;
}

@keyframes vb-chatbot-unread {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-3px) scale(1.025);
  }
}

.vb-chatbot--circle .vb-chatbot__launcher {
  width: var(--vb-circle-size);
  height: var(--vb-circle-size);
  min-height: var(--vb-circle-size);
  padding: 0;
  justify-content: center;
  border-radius: 999px;
}

.vb-chatbot--size-small {
  --vb-circle-size: 48px;
  --vb-circle-icon-size: 34px;
}

.vb-chatbot--size-medium {
  --vb-circle-size: 58px;
  --vb-circle-icon-size: 42px;
}

.vb-chatbot--size-large {
  --vb-circle-size: 72px;
  --vb-circle-icon-size: 54px;
}

.vb-chatbot--circle .vb-chatbot__launcher-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.vb-chatbot--circle .vb-chatbot__launcher-icon {
  width: var(--vb-circle-icon-size);
  height: var(--vb-circle-icon-size);
  font-size: 18px;
}

.vb-chatbot--circle.vb-chatbot--has-avatar .vb-chatbot__launcher {
  overflow: visible;
  padding: var(--vb-avatar-ring);
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: linear-gradient(145deg, #ffffff 0%, #e9fff4 34%, var(--vb-launcher) 100%);
  box-shadow: 0 24px 54px rgba(7, 24, 20, 0.34), 0 9px 18px rgba(7, 24, 20, 0.16), 0 2px 8px rgba(255, 255, 255, 0.92) inset;
}

.vb-chatbot--circle.vb-chatbot--has-avatar .vb-chatbot__launcher:hover,
.vb-chatbot--circle.vb-chatbot--has-avatar .vb-chatbot__launcher:focus-visible {
  filter: none;
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 34px 70px rgba(7, 24, 20, 0.42), 0 12px 22px rgba(7, 24, 20, 0.18), 0 2px 8px rgba(255, 255, 255, 0.95) inset;
}

.vb-chatbot--circle.vb-chatbot--has-avatar .vb-chatbot__launcher::before {
  inset: -9px;
  background: rgba(49, 181, 97, 0.16);
}

.vb-chatbot--circle.vb-chatbot--has-avatar .vb-chatbot__launcher::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 12px;
  height: 12px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #31b561;
  box-shadow: 0 3px 10px rgba(7, 24, 20, 0.28);
  z-index: 2;
}

.vb-chatbot--circle.vb-chatbot--has-avatar .vb-chatbot__launcher-icon {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(7, 24, 20, 0.16);
}

.vb-chatbot__avatar {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

.vb-chatbot__teaser {
  position: fixed;
  right: var(--vb-offset-x);
  bottom: calc(var(--vb-offset-y) + 60px);
  display: flex;
  align-items: center;
  max-width: min(300px, calc(100vw - 32px));
  padding: 10px 13px;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(7, 24, 20, 0.2), 0 1px 0 rgba(255, 255, 255, 0.85) inset;
  z-index: 2147483001;
}

.vb-chatbot--bottom-left .vb-chatbot__teaser {
  right: auto;
  left: var(--vb-offset-x);
}

.vb-chatbot--bottom-right .vb-chatbot__teaser {
  right: var(--vb-offset-x);
  left: auto;
}

.vb-chatbot__teaser::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
  border-right: 1px solid var(--vb-border);
  border-bottom: 1px solid var(--vb-border);
  background: #ffffff;
}

.vb-chatbot--bottom-left .vb-chatbot__teaser::after {
  right: auto;
  left: 22px;
}

.vb-chatbot__teaser-text {
  border: 0;
  background: transparent;
  color: var(--vb-text);
  cursor: pointer;
  font: inherit;
}

.vb-chatbot__teaser-text {
  padding: 0;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.vb-chatbot__panel {
  position: fixed;
  right: var(--vb-offset-x);
  bottom: calc(var(--vb-offset-y) + 60px);
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(390px, calc(100vw - 32px));
  height: min(620px, calc(100vh - 108px));
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  background: var(--vb-bg);
  box-shadow: 0 34px 86px rgba(7, 24, 20, 0.34), 0 14px 32px rgba(7, 24, 20, 0.16);
  z-index: 2147483002;
}

.vb-chatbot__footer {
  display: grid;
  grid-template-rows: auto;
  min-width: 0;
  border-top: 1px solid var(--vb-border);
  background: #ffffff;
}

.vb-chatbot--voice-mode .vb-chatbot__panel {
  grid-template-rows: auto auto auto minmax(0, 1fr);
}

.vb-chatbot--voice-disabled .vb-chatbot__panel {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.vb-chatbot--starter-actions-enabled:not(.vb-chatbot--starter-actions-hidden) .vb-chatbot__footer {
  grid-template-rows: auto auto;
}

.vb-chatbot__quick-actions[hidden] {
  display: none !important;
}

.vb-chatbot--bottom-left .vb-chatbot__panel {
  right: auto;
  left: var(--vb-offset-x);
}

.vb-chatbot--bottom-right .vb-chatbot__panel {
  right: var(--vb-offset-x);
  left: auto;
}

.vb-chatbot__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--vb-border);
  background: #f9fbfa;
}

.vb-chatbot__identity {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.vb-chatbot__header-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--vb-accent);
  color: #ffffff;
  font-weight: 800;
}

.vb-chatbot__identity .vb-chatbot__avatar {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
}

.vb-chatbot__header strong,
.vb-chatbot__header span {
  display: block;
  line-height: 1.25;
}

.vb-chatbot__header strong {
  max-width: 240px;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vb-chatbot__header span {
  color: var(--vb-muted);
  font-size: 12px;
}

.vb-chatbot__close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  background: #ffffff;
  color: var(--vb-text);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.vb-chatbot__close:hover,
.vb-chatbot__close:focus-visible {
  border-color: var(--vb-accent);
}

.vb-chatbot__modebar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--vb-border);
  background: #ffffff;
}

.vb-chatbot__mode-button {
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  background: #f8fbfa;
  color: var(--vb-text);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.vb-chatbot__mode-button--active {
  border-color: rgba(49, 181, 97, 0.54);
  background: rgba(49, 181, 97, 0.11);
  color: var(--vb-accent-dark);
  box-shadow: 0 8px 18px rgba(7, 24, 20, 0.08);
}

.vb-chatbot__call-start {
  padding: 18px 14px;
  border-bottom: 1px solid var(--vb-border);
  background: linear-gradient(180deg, #ffffff, #f7fbf9);
}

.vb-chatbot__call-start-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: 310px;
  margin: 0 auto;
  padding: 18px 16px;
  text-align: center;
}

.vb-chatbot__call-avatar {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  overflow: hidden;
  border-radius: 999px;
  background: #f2f7f4;
  box-shadow: 0 14px 34px rgba(7, 24, 20, 0.14), 0 0 0 6px rgba(49, 181, 97, 0.1);
}

.vb-chatbot__call-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vb-chatbot__call-start-card strong {
  color: var(--vb-text);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.vb-chatbot__call-start-card > span:not(.vb-chatbot__call-avatar) {
  color: var(--vb-muted);
  font-size: 12px;
  font-weight: 800;
}

.vb-chatbot__call-start-card p {
  max-width: 300px;
  margin: 4px 0 6px;
  color: #3b4944;
  font-size: 13px;
  line-height: 1.42;
}

.vb-chatbot__call-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.vb-chatbot__call-action {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(49, 181, 97, 0.45);
  border-radius: 8px;
  background: #ffffff;
  color: var(--vb-accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.vb-chatbot__call-action--primary {
  background: var(--vb-accent);
  color: #ffffff;
  border-color: var(--vb-accent);
  box-shadow: 0 10px 24px rgba(15, 107, 87, 0.22);
}

.vb-chatbot__call-action:hover,
.vb-chatbot__call-action:focus-visible {
  border-color: var(--vb-accent);
  transform: translateY(-1px);
}

.vb-chatbot__voice-panel {
  display: grid;
  gap: 9px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--vb-border);
  background: linear-gradient(135deg, #f3faf7, #ffffff);
}

.vb-chatbot__voice-panel[hidden] {
  display: none !important;
}

.vb-chatbot__voice-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(49, 181, 97, 0.24);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 24, 20, 0.08);
}

.vb-chatbot__voice-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--vb-accent);
  color: #ffffff;
  font-weight: 900;
}

.vb-chatbot__voice-card strong,
.vb-chatbot__voice-card span {
  display: block;
}

.vb-chatbot__voice-timer {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f1f6f4;
  color: var(--vb-accent-dark);
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.vb-chatbot__voice-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.vb-chatbot__voice-start,
.vb-chatbot__voice-stop {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid rgba(49, 181, 97, 0.45);
  border-radius: 8px;
  background: #ffffff;
  color: var(--vb-accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.vb-chatbot__voice-start {
  background: var(--vb-accent);
  color: #ffffff;
}

.vb-chatbot__voice-start--active {
  background: #132f2a;
  color: #ffffff;
}

.vb-chatbot__voice-start--listening {
  position: relative;
  padding-left: 32px;
  animation: vb-chatbot-listening-pulse 1.35s ease-in-out infinite;
}

.vb-chatbot__voice-start--listening::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.58);
}

.vb-chatbot__voice-start--speaking {
  background: #b84718;
  border-color: rgba(184, 71, 24, 0.72);
  color: #ffffff;
}

.vb-chatbot--voice-speaking .vb-chatbot__voice-card {
  border-color: rgba(184, 71, 24, 0.26);
}

.vb-chatbot--voice-realtime-ready .vb-chatbot__voice-card {
  border-color: rgba(49, 181, 97, 0.42);
  box-shadow: 0 12px 26px rgba(49, 181, 97, 0.13);
}

.vb-chatbot--voice-realtime-ready .vb-chatbot__voice-timer {
  background: rgba(49, 181, 97, 0.13);
}

.vb-chatbot__message--realtime .vb-chatbot__message-body {
  border-style: dashed;
  opacity: 0.9;
}

@keyframes vb-chatbot-listening-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(19, 47, 42, 0);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(19, 47, 42, 0.12);
  }
}

.vb-chatbot__voice-status {
  min-width: 0;
  color: var(--vb-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
}

.vb-chatbot__smart-actions .vb-chatbot__message-body {
  display: grid;
  gap: 8px;
  background: linear-gradient(135deg, #f5fbf8, #ffffff);
}

.vb-chatbot__smart-actions .vb-chatbot__message-body strong {
  font-size: 12px;
  color: var(--vb-accent-dark);
}

.vb-chatbot__smart-actions-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.vb-chatbot__smart-actions-buttons button {
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(49, 181, 97, 0.4);
  border-radius: 999px;
  background: #ffffff;
  color: var(--vb-accent-dark);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.vb-chatbot__smart-actions-buttons button:hover,
.vb-chatbot__smart-actions-buttons button:focus-visible {
  border-color: var(--vb-accent);
  background: rgba(49, 181, 97, 0.1);
}

.vb-chatbot--voice-mode .vb-chatbot__composer {
  display: none;
}

.vb-chatbot--voice-mode .vb-chatbot__footer {
  display: none;
}

.vb-chatbot__messages {
  min-height: 0;
  overflow-y: auto;
  padding: 14px;
  background: #ffffff;
}

.vb-chatbot__message {
  display: flex;
  flex-direction: column;
  max-width: 88%;
  margin: 0 0 10px;
}

.vb-chatbot__message--assistant {
  align-items: flex-start;
}

.vb-chatbot__message--user {
  align-items: flex-end;
  margin-left: auto;
}

.vb-chatbot__message-body,
.vb-chatbot__lead {
  width: fit-content;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.45;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.vb-chatbot__message--assistant .vb-chatbot__message-body,
.vb-chatbot__lead {
  border: 1px solid var(--vb-border);
  background: var(--vb-soft);
}

.vb-chatbot__message--user .vb-chatbot__message-body {
  background: var(--vb-user);
  color: #ffffff;
}

.vb-chatbot__message a {
  color: var(--vb-accent-dark);
  font-weight: 700;
}

.vb-chatbot__quick-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  min-height: 52px;
  padding: 9px 12px;
  border-top: 0;
  border-bottom: 1px solid var(--vb-border);
  background: #ffffff;
  scrollbar-width: thin;
  box-sizing: border-box;
}

.vb-chatbot__quick-actions button {
  flex: 0 0 auto;
  align-self: center;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 6px 10px;
  border: 1px solid var(--vb-border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--vb-text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

.vb-chatbot__quick-actions button:hover,
.vb-chatbot__quick-actions button:focus-visible {
  border-color: var(--vb-accent);
  color: var(--vb-accent-dark);
}

.vb-chatbot__quick-actions .vb-chatbot__contact-action {
  position: sticky;
  left: 0;
  z-index: 1;
  padding-left: 29px;
  border-color: rgba(49, 181, 97, 0.45);
  background: #ffffff;
  color: var(--vb-text);
  box-shadow: 10px 0 16px rgba(255, 255, 255, 0.88);
}

.vb-chatbot__quick-actions .vb-chatbot__contact-action::before {
  content: "→";
  position: absolute;
  left: 11px;
  color: var(--vb-accent);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.vb-chatbot__quick-actions .vb-chatbot__contact-action:hover,
.vb-chatbot__quick-actions .vb-chatbot__contact-action:focus-visible {
  border-color: var(--vb-accent);
  color: var(--vb-accent-dark);
  filter: none;
}

.vb-chatbot__quick-actions .vb-chatbot__booking-action {
  border-color: rgba(19, 47, 42, 0.22);
  background: #132f2a;
  color: #ffffff;
}

.vb-chatbot__quick-actions .vb-chatbot__booking-action:hover,
.vb-chatbot__quick-actions .vb-chatbot__booking-action:focus-visible {
  border-color: #132f2a;
  color: #ffffff;
  filter: brightness(1.06);
}

.vb-chatbot__composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  padding: 12px;
  border-top: 0;
  background: #f9fbfa;
  box-sizing: border-box;
}

.vb-chatbot__composer textarea {
  width: 100%;
  min-width: 0;
  height: 42px;
  min-height: 42px;
  overflow: hidden;
  max-height: 120px;
  resize: none;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  padding: 10px 11px;
  background: #ffffff !important;
  color: var(--vb-text) !important;
  font: inherit;
  line-height: 1.35;
  opacity: 1 !important;
  box-shadow: none !important;
  box-sizing: border-box;
}

.vb-chatbot__composer textarea::placeholder {
  color: #6f7d79 !important;
  opacity: 1 !important;
}

.vb-chatbot__composer button,
.vb-chatbot__lead button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: var(--vb-accent);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.vb-chatbot__composer button {
  align-self: end;
  height: 42px;
  padding: 0 15px;
}

.vb-chatbot__composer button:disabled,
.vb-chatbot__lead button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.vb-chatbot__typing {
  width: fit-content;
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  background: var(--vb-soft);
  color: var(--vb-muted);
  font-size: 13px;
}

.vb-chatbot__lead {
  width: min(100%, 330px);
}

.vb-chatbot__lead p {
  margin: 0 0 10px;
}

.vb-chatbot__lead form {
  display: grid;
  gap: 9px;
}

.vb-chatbot__lead label {
  display: grid;
  gap: 4px;
  color: var(--vb-muted);
  font-size: 12px;
  font-weight: 700;
}

.vb-chatbot__lead input,
.vb-chatbot__lead textarea {
  width: 100%;
  border: 1px solid var(--vb-border);
  border-radius: 8px;
  padding: 9px 10px;
  background: #ffffff !important;
  color: var(--vb-text) !important;
  font: inherit;
  font-size: 14px;
}

.vb-chatbot__lead a {
  justify-self: start;
  font-size: 13px;
}

.vb-chatbot-modal-lock {
  overflow: hidden !important;
}

.vb-chatbot-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  z-index: 2147483100;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.vb-chatbot-modal--open {
  display: flex !important;
}

.vb-chatbot-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
}

.vb-chatbot-modal__dialog {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(720px, calc(100vw - 32px));
  max-height: min(760px, calc(100dvh - 32px));
  overflow: hidden;
  border: 1px solid rgba(49, 181, 97, 0.32);
  border-radius: 8px;
  background: linear-gradient(135deg, #10271c 0%, #17231e 46%, #18201d 100%);
  color: #ffffff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.vb-chatbot-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vb-chatbot-modal__header strong,
.vb-chatbot-modal__header span {
  display: block;
}

.vb-chatbot-modal__eyebrow {
  margin: 0 0 8px !important;
  color: var(--vb-accent) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.vb-chatbot-modal__header strong {
  font-size: 24px;
  line-height: 1.15;
}

.vb-chatbot-modal__header span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.vb-chatbot-modal__close {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.vb-chatbot-modal__close:hover,
.vb-chatbot-modal__close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.vb-chatbot-modal__body {
  min-height: 0;
  overflow: auto;
  padding: 22px;
  --bs-primary: var(--vb-accent);
  --bs-btn-bg: var(--vb-accent);
  --bs-btn-border-color: var(--vb-accent);
  --bs-btn-active-bg: var(--vb-accent);
  --bs-btn-active-border-color: var(--vb-accent);
  --ff-primary-color: var(--vb-accent);
}

.vb-chatbot-modal__body .fluentform,
.vb-chatbot-modal__body .fluent_form,
.vb-chatbot-modal__body form {
  max-width: none;
}

.vb-chatbot-modal__body .fluentform,
.vb-chatbot-modal__body .ff_form_instance,
.vb-chatbot-modal__body .frm-fluent-form {
  color: #ffffff;
}

.vb-chatbot-modal__body .ff-el-group,
.vb-chatbot-modal__body .ff-el-input--label,
.vb-chatbot-modal__body .ff-el-input--content {
  color: rgba(255, 255, 255, 0.9);
}

.vb-chatbot-modal__body label,
.vb-chatbot-modal__body .ff-el-input--label label {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 700;
}

.vb-chatbot-modal__body input,
.vb-chatbot-modal__body textarea,
.vb-chatbot-modal__body select {
  max-width: 100%;
}

.vb-chatbot-modal__body input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]),
.vb-chatbot-modal__body textarea,
.vb-chatbot-modal__body select {
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  border-radius: 8px !important;
  background: #17231e !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.vb-chatbot-modal__body input::placeholder,
.vb-chatbot-modal__body textarea::placeholder {
  color: rgba(255, 255, 255, 0.74) !important;
  opacity: 1 !important;
}

.vb-chatbot-modal__body input:focus,
.vb-chatbot-modal__body textarea:focus,
.vb-chatbot-modal__body select:focus {
  border-color: var(--vb-accent) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--vb-accent) 26%, transparent) !important;
}

.vb-chatbot-modal__body button,
.vb-chatbot-modal__body input[type="submit"],
.vb-chatbot-modal__body .ff-btn-submit {
  border: 0 !important;
  border-radius: 8px !important;
  background: var(--vb-accent) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  font-weight: 800 !important;
}

.vb-chatbot-modal__body button:hover,
.vb-chatbot-modal__body input[type="submit"]:hover,
.vb-chatbot-modal__body .ff-btn-submit:hover {
  filter: brightness(0.95);
}

.vb-chatbot-modal__body .ff-el-form-check,
.vb-chatbot-modal__body .ff-el-form-check-label,
.vb-chatbot-modal__body .ff-btn-group button,
.vb-chatbot-modal__body .ff-el-ratings label,
.vb-chatbot-modal__body .ff-el-form-check label {
  color: rgba(255, 255, 255, 0.88) !important;
}

.vb-chatbot-modal__body .ff-btn-group button,
.vb-chatbot-modal__body .ff-el-form-check label,
.vb-chatbot-modal__body .ff-el-form-check-label {
  border-color: rgba(49, 181, 97, 0.18) !important;
  background: rgba(49, 181, 97, 0.18) !important;
  color: #ffffff !important;
}

.vb-chatbot-modal__body .ff-btn-group button.active,
.vb-chatbot-modal__body .ff-btn-group button.ff-active,
.vb-chatbot-modal__body .ff-btn-group .active,
.vb-chatbot-modal__body .ff-btn-group .selected,
.vb-chatbot-modal__body .btn-check:checked + .btn,
.vb-chatbot-modal__body .btn.active,
.vb-chatbot-modal__body .btn-primary,
.vb-chatbot-modal__body .ff-el-form-check.ff_item_selected,
.vb-chatbot-modal__body .ff-el-form-check.ff_item_selected label,
.vb-chatbot-modal__body .ff-el-form-check.ff_item_selected .ff-el-form-check-label,
.vb-chatbot-modal__body .ff-el-form-check:has(input:checked),
.vb-chatbot-modal__body .ff-el-form-check:has(input:checked) label,
.vb-chatbot-modal__body .ff-el-form-check:has(input:checked) .ff-el-form-check-label,
.vb-chatbot-modal__body .ff-el-form-check input:checked + label,
.vb-chatbot-modal__body .ff-el-form-check input:checked ~ label,
.vb-chatbot-modal__body .ff-el-form-check input:checked + span,
.vb-chatbot-modal__body .ff-el-form-check input:checked ~ span,
.vb-chatbot-modal__body .ff-el-form-check input:checked + div,
.vb-chatbot-modal__body .ff-el-form-check input:checked ~ div,
.vb-chatbot-modal__body .ff-el-form-check-label.active,
.vb-chatbot-modal__body .ff-el-form-check-label.selected,
.vb-chatbot-modal__body .ff-el-form-check-label.is-selected,
.vb-chatbot-modal__body button[aria-pressed="true"],
.vb-chatbot-modal__body [role="button"][aria-pressed="true"],
.vb-chatbot-modal__body input[type="radio"]:checked + label,
.vb-chatbot-modal__body input[type="checkbox"]:checked + label {
  border-color: var(--vb-accent) !important;
  background: var(--vb-accent) !important;
  color: #ffffff !important;
}

@media (min-width: 641px) {
  .vb-chatbot--device-mobile {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .vb-chatbot--device-desktop {
    display: none !important;
  }
}

@media (max-width: 520px) {
  .vb-chatbot__launcher {
    right: max(12px, var(--vb-offset-x));
    bottom: max(12px, var(--vb-offset-y));
    min-height: 46px;
    max-width: calc(100vw - 24px);
  }

  .vb-chatbot--bottom-left .vb-chatbot__launcher {
    right: auto;
    left: max(12px, var(--vb-offset-x));
  }

  .vb-chatbot--circle .vb-chatbot__launcher {
    width: var(--vb-circle-size);
    height: var(--vb-circle-size);
    min-height: var(--vb-circle-size);
  }

  .vb-chatbot__teaser {
    right: max(12px, var(--vb-offset-x));
    bottom: calc(max(12px, var(--vb-offset-y)) + 64px);
    max-width: calc(100vw - 24px);
  }

  .vb-chatbot--bottom-left .vb-chatbot__teaser {
    right: auto;
    left: max(12px, var(--vb-offset-x));
  }

  .vb-chatbot__panel {
    right: max(12px, var(--vb-offset-x));
    bottom: calc(max(12px, var(--vb-offset-y)) + 56px);
    width: calc(100vw - 24px);
    height: min(560px, calc(100dvh - 86px));
    min-height: 0;
    max-height: calc(100dvh - 86px);
  }

  .vb-chatbot--bottom-left .vb-chatbot__panel {
    right: auto;
    left: max(12px, var(--vb-offset-x));
  }

  .vb-chatbot__header strong {
    max-width: calc(100vw - 150px);
  }

  .vb-chatbot__message {
    max-width: 94%;
  }

  .vb-chatbot__messages {
    padding: 10px;
  }

  .vb-chatbot__voice-card {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .vb-chatbot__voice-avatar {
    width: 36px;
    height: 36px;
  }

  .vb-chatbot__voice-timer {
    grid-column: 2;
    justify-self: start;
  }

  .vb-chatbot__quick-actions {
    padding: 8px 10px;
    min-height: 50px;
  }

  .vb-chatbot__quick-actions button {
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .vb-chatbot__composer {
    padding: 10px;
    grid-template-columns: minmax(0, 1fr) 70px;
  }

  .vb-chatbot__composer button {
    padding: 0 10px;
  }

  .vb-chatbot-modal {
    align-items: stretch;
    justify-content: stretch;
    padding: 0;
  }

  .vb-chatbot-modal__dialog {
    width: 100vw;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .vb-chatbot-modal__header {
    padding: 16px 16px 14px;
  }

  .vb-chatbot-modal__header strong {
    font-size: 21px;
  }

  .vb-chatbot-modal__body {
    padding: 16px;
  }
}
