.ef-chatbot,
.ef-chatbot * {
  box-sizing: border-box;
}

.ef-chatbot {
  --ef-ink: #f8fafc;
  --ef-muted: #b8c4d4;
  --ef-soft: rgba(232, 240, 248, 0.72);
  --ef-line: rgba(255, 255, 255, 0.18);
  --ef-line-strong: rgba(255, 255, 255, 0.28);
  --ef-panel: rgba(7, 22, 38, 0.7);
  --ef-panel-deep: rgba(4, 16, 29, 0.78);
  --ef-glass: rgba(255, 255, 255, 0.1);
  --ef-glass-strong: rgba(255, 255, 255, 0.16);
  --ef-brand-blue: #003570;
  --ef-brand-cyan: #0090D8;
  --ef-brand-green: #0FA05C;
  --ef-brand-green-dark: #087a45;
  --ef-focus: rgba(15, 160, 92, 0.28);
  --ef-font: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  color: var(--ef-ink);
  font-family: var(--ef-font);
}

.ef-chatbot__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ef-chatbot__launcher,
.ef-chatbot__send,
.ef-chatbot__close,
.ef-chatbot__chips button {
  font: inherit;
}

.ef-chatbot__launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.34), transparent 24%),
    linear-gradient(145deg, #0FA05C 0%, #0b8f51 58%, #087a45 100%);
  color: #fff;
  box-shadow:
    0 18px 44px rgba(4, 22, 34, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.ef-chatbot__launcher::after {
  position: absolute;
  right: -3px;
  top: -4px;
  width: 21px;
  height: 21px;
  border: 3px solid rgba(0, 53, 112, 0.72);
  border-radius: 999px;
  background: #0090D8;
  box-shadow: 0 8px 18px rgba(0, 144, 216, 0.26);
  content: "";
}

.ef-chatbot__launcher:hover,
.ef-chatbot__launcher:focus-visible {
  filter: saturate(1.08);
  outline: none;
  transform: translateY(-2px);
  box-shadow:
    0 24px 58px rgba(4, 22, 34, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.ef-chatbot__launcher.is-hidden {
  display: none;
}

.ef-chatbot__launcher-icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ef-chatbot__panel {
  display: none;
  width: min(430px, calc(100vw - 28px));
  height: min(660px, calc(100vh - 28px));
  border: 1px solid var(--ef-line);
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 38%, rgba(255, 255, 255, 0.08)),
    var(--ef-panel);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(26px) saturate(1.24);
  -webkit-backdrop-filter: blur(26px) saturate(1.24);
}

.ef-chatbot__panel.is-open {
  display: flex;
  flex-direction: column;
  animation: ef-chatbot-panel-in 320ms ease both;
}

.ef-chatbot__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 42px;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 16, 29, 0.36);
  color: rgba(248, 250, 252, 0.86);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.ef-chatbot__close {
  position: relative;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(248, 250, 252, 0.74);
  cursor: pointer;
}

.ef-chatbot__close::before,
.ef-chatbot__close::after {
  position: absolute;
  left: 10px;
  top: 16px;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.ef-chatbot__close::before {
  transform: rotate(45deg);
}

.ef-chatbot__close::after {
  transform: rotate(-45deg);
}

.ef-chatbot__close:hover,
.ef-chatbot__close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: none;
}

.ef-chatbot .ef-chatbot__hero {
  flex: 0 0 auto;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 84% 20%, rgba(0, 144, 216, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent);
}

.ef-chatbot__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.ef-chatbot__brand-icon,
.ef-chatbot__bot-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
}

.ef-chatbot__brand-icon {
  width: 42px;
  height: 42px;
  border: 1px solid var(--ef-line-strong);
  border-radius: 14px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ef-chatbot__brand-icon::before {
  position: absolute;
  left: 11px;
  top: 13px;
  width: 19px;
  height: 14px;
  border-top: 3px solid var(--ef-brand-green);
  border-bottom: 3px solid var(--ef-brand-green);
  content: "";
}

.ef-chatbot__brand-icon::after {
  position: absolute;
  left: 11px;
  top: 19px;
  width: 14px;
  border-top: 3px solid var(--ef-brand-green);
  content: "";
}

.ef-chatbot__brand-row strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.1;
}

.ef-chatbot__brand-row small {
  display: block;
  margin-top: 4px;
  color: var(--ef-muted);
  font-size: 11px;
  font-weight: 500;
}

.ef-chatbot .ef-chatbot__hero h2 {
  margin: 0;
  max-width: 340px;
  color: #fff !important;
  font-family: var(--ef-font) !important;
  font-size: 24px !important;
  font-weight: 650 !important;
  line-height: 1.08 !important;
  letter-spacing: 0 !important;
}

.ef-chatbot .ef-chatbot__hero p {
  margin: 7px 0 0;
  color: rgba(232, 240, 248, 0.82) !important;
  font-family: var(--ef-font) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.42 !important;
  letter-spacing: 0 !important;
}

.ef-chatbot__messages {
  flex: 1;
  min-height: 220px;
  overflow-y: auto;
  padding: 18px 18px 12px;
  background: rgba(4, 16, 29, 0.26);
}

.ef-chatbot__messages::-webkit-scrollbar {
  width: 10px;
}

.ef-chatbot__messages::-webkit-scrollbar-thumb {
  border: 3px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  background-clip: content-box;
}

.ef-chatbot__message-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
  animation: ef-chatbot-message-in 220ms ease both;
}

.ef-chatbot__message-row--user {
  justify-content: flex-end;
}

.ef-chatbot__bot-icon {
  width: 34px;
  height: 34px;
  margin-top: 2px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 13px;
  background:
    linear-gradient(145deg, rgba(15, 160, 92, 0.92), rgba(8, 122, 69, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ef-chatbot__bot-icon::before {
  position: absolute;
  left: 9px;
  top: 10px;
  width: 16px;
  height: 12px;
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  content: "";
}

.ef-chatbot__bot-icon::after {
  position: absolute;
  left: 9px;
  top: 15px;
  width: 12px;
  border-top: 2px solid #fff;
  content: "";
}

.ef-chatbot__message {
  min-width: 0;
  max-width: calc(100% - 44px);
  border-radius: 17px;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  white-space: pre-wrap;
}

.ef-chatbot__message--bot {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)),
    rgba(8, 32, 55, 0.72);
  color: #f3f7fb;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.ef-chatbot__message--user {
  max-width: 84%;
  border: 1px solid rgba(15, 160, 92, 0.34);
  background:
    linear-gradient(145deg, rgba(15, 160, 92, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(9, 34, 52, 0.74);
  color: #fff;
}

.ef-chatbot__message--error {
  border: 1px solid rgba(248, 113, 113, 0.55);
  background: rgba(69, 22, 34, 0.82);
  color: #fecaca;
}

.ef-chatbot__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.ef-chatbot__chips button {
  min-height: 35px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #f6fbff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.ef-chatbot__chips button:hover,
.ef-chatbot__chips button:focus-visible {
  border-color: rgba(15, 160, 92, 0.48);
  background: rgba(15, 160, 92, 0.22);
  outline: none;
  transform: translateY(-1px);
}

.ef-chatbot__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 12px 0 0;
  padding: 11px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(232, 240, 248, 0.82);
  font-size: 12px;
  font-weight: 650;
  list-style: none;
  white-space: normal;
}

.ef-chatbot__sources li {
  min-width: 0;
  margin: 0;
}

.ef-chatbot .ef-chatbot__sources a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  min-height: 30px;
  border: 1px solid rgba(15, 160, 92, 0.45);
  border-radius: 8px;
  padding: 6px 9px;
  background: rgba(15, 160, 92, 0.17);
  color: #f4fff8 !important;
  font-family: var(--ef-font) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  overflow-wrap: anywhere;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.ef-chatbot .ef-chatbot__sources a::before {
  display: inline-block;
  flex: 0 0 auto;
  width: 13px;
  height: 16px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  opacity: 0.9;
  content: "";
}

.ef-chatbot .ef-chatbot__sources a:hover,
.ef-chatbot .ef-chatbot__sources a:focus-visible {
  border-color: rgba(15, 160, 92, 0.78);
  background: rgba(15, 160, 92, 0.28);
  color: #fff !important;
  outline: none;
}

.ef-chatbot__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  flex: 0 0 auto;
  padding: 14px 18px 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(4, 16, 29, 0.46);
}

.ef-chatbot__input {
  min-width: 0;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 15px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #0b1724;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.ef-chatbot__input::placeholder {
  color: rgba(28, 43, 58, 0.62);
}

.ef-chatbot__input:focus {
  border-color: rgba(15, 160, 92, 0.72);
  outline: 4px solid var(--ef-focus);
}

.ef-chatbot__send {
  min-width: 72px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 15px;
  background: linear-gradient(145deg, #0FA05C, #087a45);
  color: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 14px 26px rgba(4, 22, 34, 0.22);
  transition: transform 180ms ease, filter 180ms ease;
}

.ef-chatbot__send:hover,
.ef-chatbot__send:focus-visible {
  filter: saturate(1.08);
  outline: none;
  transform: translateY(-1px);
}

.ef-chatbot__footer {
  flex: 0 0 auto;
  padding: 0 18px 14px;
  background: rgba(4, 16, 29, 0.46);
  color: rgba(232, 240, 248, 0.4);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 1px;
  text-align: center;
  text-transform: uppercase;
}

@keyframes ef-chatbot-panel-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ef-chatbot-message-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ef-chatbot__panel.is-open,
  .ef-chatbot__message-row,
  .ef-chatbot__launcher,
  .ef-chatbot__chips button,
  .ef-chatbot__send {
    animation: none;
    transition: none;
  }
}

@media (max-width: 720px) {
  .ef-chatbot {
    right: 12px;
    bottom: 12px;
  }

  .ef-chatbot__panel {
    width: calc(100vw - 24px);
    height: calc(100vh - 24px);
    border-radius: 20px;
  }

  .ef-chatbot__launcher {
    width: 56px;
    height: 56px;
  }

  .ef-chatbot__topbar {
    min-height: 40px;
    padding-left: 14px;
  }

  .ef-chatbot__hero,
  .ef-chatbot__messages,
  .ef-chatbot__form {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ef-chatbot__hero h2 {
    font-size: 21px;
  }

  .ef-chatbot__hero p,
  .ef-chatbot__message {
    font-size: 13px;
  }

  .ef-chatbot__form {
    grid-template-columns: 1fr;
  }

  .ef-chatbot__input,
  .ef-chatbot__send {
    height: 44px;
  }
}

/* EuroFiltri AI / Privacy disclosure */
.ef-chatbot__privacy-note {
  margin: 2px 16px 6px;
  padding: 0;
  border: 0;
  font-size: 10px;
  line-height: 1.3;
  text-align: center;
  opacity: 0.72;
}

.ef-chatbot__privacy-note span {
  display: inline;
}

.ef-chatbot__privacy-note a {
  display: inline;
  text-decoration: underline;
  font-weight: 600;
}

.ef-chatbot__privacy-note a {
  color: #ffffff;
  opacity: 1;
}

.ef-chatbot .ef-chatbot__privacy-note a,
.ef-chatbot .ef-chatbot__privacy-note a:visited,
.ef-chatbot .ef-chatbot__privacy-note a:hover,
.ef-chatbot .ef-chatbot__privacy-note a:active {
  color: #ffffff !important;
  opacity: 1 !important;
}


/* ===== EuroFiltri lead form ===== */

.ef-chatbot__lead-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px 14px 2px;
}

.ef-chatbot__lead-actions button {
  appearance: none;
  border: 1px solid rgba(15, 65, 86, 0.22);
  border-radius: 10px;
  padding: 9px 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.ef-chatbot__lead-actions button:first-child {
  background: #0f5a78;
  color: #ffffff;
}

.ef-chatbot__lead-actions button:last-child {
  background: #ffffff;
  color: #153849;
}

.ef-chatbot__lead-panel[hidden] {
  display: none !important;
}

.ef-chatbot__lead-panel {
  padding: 10px 14px 4px;
  max-height: 46vh;
  overflow-y: auto;
}

.ef-chatbot__lead-form,
.ef-chatbot__lead-success {
  background: #ffffff;
  border: 1px solid rgba(15, 65, 86, 0.16);
  border-radius: 12px;
  padding: 12px;
}

.ef-chatbot__lead-form-head {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}

.ef-chatbot__lead-form-head strong {
  font-size: 14px;
}

.ef-chatbot__lead-form-head span,
.ef-chatbot__lead-hint {
  font-size: 11px;
  line-height: 1.35;
  opacity: 0.72;
}

.ef-chatbot__lead-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 9px;
  font-size: 11px;
  font-weight: 600;
}

.ef-chatbot__lead-field input,
.ef-chatbot__lead-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(15, 65, 86, 0.22);
  border-radius: 8px;
  padding: 8px 9px;
  background: #ffffff;
  color: #17252d;
  font: inherit;
  font-size: 12px;
  outline: none;
}

.ef-chatbot__lead-field textarea {
  resize: vertical;
  min-height: 68px;
}

.ef-chatbot__lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ef-chatbot__lead-hint {
  margin: -4px 0 9px;
}

.ef-chatbot__lead-consent {
  display: flex;
  gap: 7px;
  align-items: flex-start;
  margin: 3px 0 10px;
  font-size: 10px;
  line-height: 1.4;
}

.ef-chatbot__lead-consent input {
  margin-top: 2px;
  flex: 0 0 auto;
}

.ef-chatbot__lead-consent a {
  font-weight: 700;
  text-decoration: underline;
}

.ef-chatbot__lead-status {
  min-height: 16px;
  margin: 4px 0 7px;
  font-size: 11px;
  line-height: 1.35;
}

.ef-chatbot__lead-status.is-error {
  font-weight: 700;
}

.ef-chatbot__lead-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.ef-chatbot__lead-form-actions button,
.ef-chatbot__lead-success button {
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.ef-chatbot__lead-cancel {
  border: 1px solid rgba(15, 65, 86, 0.22);
  background: #ffffff;
}

.ef-chatbot__lead-submit,
.ef-chatbot__lead-success button {
  border: 1px solid #0f5a78;
  background: #0f5a78;
  color: #ffffff;
}

.ef-chatbot__lead-submit:disabled {
  opacity: 0.55;
  cursor: wait;
}

.ef-chatbot__lead-success {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  line-height: 1.4;
}

.ef-chatbot__lead-success button {
  align-self: flex-start;
  margin-top: 3px;
}

@media (max-width: 520px) {
  .ef-chatbot__lead-actions,
  .ef-chatbot__lead-grid {
    grid-template-columns: 1fr;
  }

  .ef-chatbot__lead-panel {
    max-height: 50vh;
  }
}

.ef-chatbot__lead-actions[hidden] {
  display: none !important;
}


/* ===== LEAD FORM UX FIX ===== */

.ef-chatbot__lead-panel[hidden] {
  display: none !important;
}

.ef-chatbot.is-lead-open .ef-chatbot__hero,
.ef-chatbot.is-lead-open .ef-chatbot__messages,
.ef-chatbot.is-lead-open .ef-chatbot__lead-actions,
.ef-chatbot.is-lead-open .ef-chatbot__form,
.ef-chatbot.is-lead-open .ef-chatbot__footer {
  display: none !important;
}

.ef-chatbot.is-lead-open .ef-chatbot__panel {
  min-height: 640px;
}

.ef-chatbot__lead-panel {
  margin: 14px;
  padding: 18px;
  border-radius: 16px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
  overflow-y: auto;
}

.ef-chatbot__lead-form,
.ef-chatbot__lead-panel form {
  display: grid;
  gap: 12px;
}

.ef-chatbot__lead-form-head {
  display: grid;
  gap: 4px;
}

.ef-chatbot__lead-form-head strong {
  font-size: 18px;
  line-height: 1.25;
  color: #0f172a;
}

.ef-chatbot__lead-form-head span {
  font-size: 13px;
  color: #475569;
}

.ef-chatbot__lead-panel label {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.ef-chatbot__lead-panel input,
.ef-chatbot__lead-panel textarea,
.ef-chatbot__lead-panel select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.4;
}

.ef-chatbot__lead-panel input::placeholder,
.ef-chatbot__lead-panel textarea::placeholder {
  color: #94a3b8;
}

.ef-chatbot__lead-panel textarea {
  min-height: 110px;
  resize: vertical;
}

.ef-chatbot__lead-form-grid,
.ef-chatbot__lead-grid,
.ef-chatbot__lead-panel .is-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.ef-chatbot__lead-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #475569;
}

.ef-chatbot__lead-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 16px;
}

.ef-chatbot__lead-consent a {
  color: #0f766e;
  font-weight: 600;
  text-decoration: underline;
}

.ef-chatbot__lead-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 8px;
  position: sticky;
  bottom: 0;
  background: #ffffff;
}

.ef-chatbot__lead-form-actions button,
.ef-chatbot__lead-panel button {
  min-height: 44px;
  border-radius: 12px;
}

.ef-chatbot__lead-form-actions button:last-child {
  padding: 0 16px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .ef-chatbot__lead-form-grid,
  .ef-chatbot__lead-grid,
  .ef-chatbot__lead-panel .is-two-columns {
    grid-template-columns: 1fr;
  }

  .ef-chatbot.is-lead-open .ef-chatbot__panel {
    min-height: 100dvh;
    border-radius: 0;
  }

  .ef-chatbot__lead-panel {
    margin: 10px;
    padding: 14px;
  }
}


.ef-chatbot__lead-offer {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px 2px 6px;
}

.ef-chatbot__lead-offer strong {
  font-size: 13px;
}

.ef-chatbot__lead-offer span {
  font-size: 11px;
  line-height: 1.4;
  opacity: 0.78;
}


.ef-chatbot__call-now {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  box-sizing: border-box;
}

.ef-chatbot__call-now:hover,
.ef-chatbot__call-now:visited,
.ef-chatbot__call-now:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

