/* ==========================================================================
   Elite Accounting Chatbot — UI v3.2
   Every rule is scoped under #eac-chatbot so theme / Elementor styles for
   button, input, label, a, p, h2 can't leak into the widget.
   ========================================================================== */

:root {
  --eac-primary: #17324d;
  --eac-accent: #d59b3c;
}

#eac-chatbot {
  --eac-blue: #1f6f8b;
  --eac-teal: #2e8aa0;
  --eac-gold-2: #f4cd78;
  --eac-ink: #18303b;
  --eac-muted: #60747e;
  --eac-line: #d5e2e6;
  --eac-ease: cubic-bezier(.2, .8, .2, 1);

  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999999;
  margin: 0;
  padding: 0;
  color: var(--eac-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Isolation / theme reset ---------- */

#eac-chatbot *,
#eac-chatbot *::before,
#eac-chatbot *::after {
  box-sizing: border-box;
}

#eac-chatbot [hidden] {
  display: none !important;
}

#eac-chatbot svg {
  display: block;
  flex: none;
  max-width: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#eac-chatbot .eac-icon {
  width: 18px;
  height: 18px;
}

#eac-chatbot p,
#eac-chatbot h2,
#eac-chatbot strong,
#eac-chatbot small,
#eac-chatbot em {
  letter-spacing: normal;
  text-transform: none;
}

#eac-chatbot button,
#eac-chatbot input,
#eac-chatbot select,
#eac-chatbot a,
#eac-chatbot label {
  font-family: inherit;
  letter-spacing: normal !important;
  text-transform: none !important;
  text-shadow: none !important;
}

#eac-chatbot button {
  -webkit-appearance: none;
  appearance: none;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: none !important;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
  text-decoration: none;
  white-space: normal;
}

#eac-chatbot a {
  text-decoration: none !important;
}

#eac-chatbot button:focus:not(:focus-visible) {
  outline: none;
}

#eac-chatbot button:focus-visible,
#eac-chatbot a:focus-visible {
  outline: 2px solid var(--eac-accent);
  outline-offset: 2px;
}

/* ---------- Launcher (floating button) ---------- */

#eac-chatbot .eac-launcher {
  position: relative;
  isolation: isolate;
  display: grid !important;
  place-items: center;
  width: 76px !important;
  height: 76px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(145deg, var(--eac-primary), var(--eac-teal)) !important;
  color: #fff !important;
  box-shadow: 0 16px 34px rgba(23, 50, 77, .34), inset 0 1px 0 rgba(255, 255, 255, .28);
  transition: transform .35s var(--eac-ease), box-shadow .35s ease;
}

/* one soft ring that breathes out from the launcher */
#eac-chatbot .eac-launcher::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 2px solid var(--eac-accent);
  border-radius: 50%;
  content: "";
  opacity: 0;
  pointer-events: none;
  animation: eac-ring 3.6s ease-out infinite;
}

#eac-chatbot .eac-launcher:hover,
#eac-chatbot .eac-launcher:focus-visible,
#eac-chatbot.is-open .eac-launcher {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 22px 42px rgba(23, 50, 77, .4), inset 0 1px 0 rgba(255, 255, 255, .28);
}

#eac-chatbot.is-open .eac-launcher::before {
  animation: none;
}

#eac-chatbot .eac-launcher-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  color: var(--eac-primary);
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--eac-accent), 0 6px 14px rgba(0, 0, 0, .22);
  animation: eac-icon-float 4s ease-in-out infinite;
}

#eac-chatbot .eac-launcher-icon img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 6px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  object-fit: contain;
}

#eac-chatbot .eac-launcher-icon::after {
  position: absolute;
  inset: -40%;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .8) 50%, transparent 60%);
  content: "";
  pointer-events: none;
  transform: translateX(-80%);
  transition: transform .8s ease;
}

#eac-chatbot .eac-launcher:hover .eac-launcher-icon::after,
#eac-chatbot .eac-launcher:focus-visible .eac-launcher-icon::after {
  transform: translateX(80%);
}

#eac-chatbot .eac-launcher-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Greeting popup ---------- */

#eac-chatbot .eac-greeting-popup {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 94px;
  width: min(310px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid rgba(213, 225, 229, .95);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(23, 50, 77, .22), 0 2px 8px rgba(23, 50, 77, .06);
  color: var(--eac-ink);
  opacity: 0;
  transform: translateY(10px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .3s ease, transform .35s var(--eac-ease);
}

#eac-chatbot .eac-greeting-popup::after {
  position: absolute;
  right: 25px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  border-right: 1px solid rgba(213, 225, 229, .95);
  border-bottom: 1px solid rgba(213, 225, 229, .95);
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

#eac-chatbot .eac-greeting-popup.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#eac-chatbot .eac-greeting-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-right: 34px;
}

#eac-chatbot .eac-greeting-logo {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  color: var(--eac-blue);
  font-size: 15px;
  box-shadow: 0 0 0 2px var(--eac-accent), 0 4px 10px rgba(23, 50, 77, .12);
}

#eac-chatbot .eac-greeting-logo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain;
}

#eac-chatbot .eac-greeting-head strong {
  color: var(--eac-primary);
  font-size: 14px;
  font-weight: 800;
}

#eac-chatbot .eac-greeting-close {
  position: absolute !important;
  top: 12px;
  right: 12px;
  display: grid !important;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid var(--eac-line) !important;
  border-radius: 50% !important;
  background: #f3f7f8 !important;
  color: var(--eac-muted) !important;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .35s var(--eac-ease);
}

#eac-chatbot .eac-greeting-close svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
}

#eac-chatbot .eac-greeting-close:hover,
#eac-chatbot .eac-greeting-close:focus-visible {
  border-color: var(--eac-primary) !important;
  background: var(--eac-primary) !important;
  color: #fff !important;
  transform: rotate(90deg);
}

#eac-chatbot .eac-greeting-popup p {
  margin: 12px 0 14px;
  padding: 0;
  color: var(--eac-ink);
  font-size: 13px;
  line-height: 1.5;
}

#eac-chatbot .eac-greeting-cta {
  position: relative;
  display: flex !important;
  width: 100% !important;
  min-height: 42px !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--eac-primary), var(--eac-teal)) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  box-shadow: 0 10px 22px rgba(23, 50, 77, .26);
  transition: transform .25s var(--eac-ease), box-shadow .25s ease;
}

#eac-chatbot .eac-greeting-cta::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  transition: transform .7s ease;
}

#eac-chatbot .eac-greeting-cta svg {
  width: 16px;
  height: 16px;
  transition: transform .3s var(--eac-ease);
}

#eac-chatbot .eac-greeting-cta:hover,
#eac-chatbot .eac-greeting-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(23, 50, 77, .34);
}

#eac-chatbot .eac-greeting-cta:hover::after,
#eac-chatbot .eac-greeting-cta:focus-visible::after {
  transform: translateX(120%);
}

#eac-chatbot .eac-greeting-cta:hover svg {
  transform: translateX(3px) scale(1.1);
}

#eac-chatbot .eac-greeting-cta:active {
  transform: translateY(0) scale(.98);
}

/* ---------- Side quick actions ---------- */

#eac-chatbot .eac-quick-actions {
  position: absolute;
  right: 16px;
  bottom: 90px;
  display: grid;
  gap: 10px;
  justify-items: end;
}

#eac-chatbot .eac-quick-action {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 15px;
  background: rgba(255, 255, 255, .92);
  color: var(--eac-primary) !important;
  box-shadow: 0 10px 24px rgba(23, 50, 77, .18);
  cursor: pointer;
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.86);
  transition: opacity .25s ease, transform .35s var(--eac-ease), background .25s ease, color .25s ease, box-shadow .25s ease;
}

#eac-chatbot:hover .eac-quick-action,
#eac-chatbot:focus-within .eac-quick-action {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* keep them out of the way of the open chat window */
#eac-chatbot.is-open .eac-quick-action {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.86);
}

#eac-chatbot .eac-quick-action:nth-child(2) { transition-delay: .04s; }
#eac-chatbot .eac-quick-action:nth-child(3) { transition-delay: .08s; }
#eac-chatbot .eac-quick-action:nth-child(4) { transition-delay: .12s; }

#eac-chatbot .eac-quick-action:hover,
#eac-chatbot .eac-quick-action:focus-visible {
  background: linear-gradient(135deg, var(--eac-primary), var(--eac-teal));
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(23, 50, 77, .3);
  transform: translateY(-3px) scale(1.08);
}

#eac-chatbot .eac-quick-action span {
  display: grid;
  place-items: center;
}

#eac-chatbot .eac-quick-action svg {
  width: 19px;
  height: 19px;
}

#eac-chatbot .eac-quick-action em {
  position: absolute;
  right: 54px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--eac-primary);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity .2s ease, transform .25s var(--eac-ease);
}

#eac-chatbot .eac-quick-action:hover em,
#eac-chatbot .eac-quick-action:focus-visible em {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Chat window ---------- */

#eac-chatbot .eac-panel {
  position: absolute;
  z-index: 7;
  right: 0;
  bottom: 94px;
  display: flex;
  width: min(410px, calc(100vw - 32px));
  height: min(680px, calc(100vh - 142px));
  height: min(680px, calc(100dvh - 142px));
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 26px;
  background: linear-gradient(180deg, #f8fbfc 0%, #eef5f7 100%);
  box-shadow: 0 30px 80px rgba(23, 50, 77, .32), 0 4px 14px rgba(23, 50, 77, .1);
  transform-origin: bottom right;
  animation: eac-panel-in .45s var(--eac-ease);
}

#eac-chatbot .eac-panel.is-closing {
  animation: eac-panel-out .2s ease forwards;
}

/* ---------- Header ---------- */

#eac-chatbot .eac-header {
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  margin: 0;
  padding: 16px 18px 14px;
  background: linear-gradient(145deg, var(--eac-primary), var(--eac-teal));
  color: #fff;
}

#eac-chatbot .eac-header::before {
  position: absolute;
  bottom: -60px;
  left: -40px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 68%);
  content: "";
  pointer-events: none;
  animation: eac-drift 9s ease-in-out infinite alternate;
}

#eac-chatbot .eac-header::after {
  position: absolute;
  top: -70px;
  right: -45px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(255, 255, 255, .05), 0 0 0 37px rgba(255, 255, 255, .04);
  content: "";
  pointer-events: none;
}

#eac-chatbot .eac-header-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: 44px;
}

#eac-chatbot .eac-header-logo {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  color: var(--eac-primary);
  font-size: 22px;
  box-shadow: 0 0 0 2px var(--eac-accent), 0 8px 18px rgba(0, 0, 0, .2);
}

#eac-chatbot .eac-header-logo img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  object-fit: contain;
}

#eac-chatbot .eac-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 4px;
  padding: 0;
  color: #d5e9ee;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
}

#eac-chatbot .eac-header h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
}

#eac-chatbot .eac-subtitle {
  position: relative;
  z-index: 1;
  max-width: 300px;
  max-height: 60px;
  margin: 10px 0 0 59px;
  padding: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  line-height: 1.4;
  transition: max-height .4s var(--eac-ease), margin .4s var(--eac-ease), opacity .3s ease;
}

#eac-chatbot .eac-header-actions {
  position: relative;
  z-index: 2;
  display: flex;
  max-height: 44px;
  gap: 8px;
  margin: 11px 0 0 59px;
  transition: max-height .4s var(--eac-ease), margin .4s var(--eac-ease), opacity .3s ease;
}

/* contact box / form: let the card use the space the history was using */
#eac-chatbot .eac-panel.is-card-open .eac-messages {
  min-height: 0;
}

/* when the contact form is open, tuck the intro away to make room */
#eac-chatbot .eac-panel.is-form-open .eac-subtitle,
#eac-chatbot .eac-panel.is-form-open .eac-header-actions {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#eac-chatbot .eac-header-actions button {
  padding: 6px 13px !important;
  border: 1px solid rgba(255, 255, 255, .38) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .13) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  backdrop-filter: blur(6px);
  transition: background .25s ease, color .25s ease, transform .25s var(--eac-ease), box-shadow .25s ease;
}

#eac-chatbot .eac-header-actions button:hover,
#eac-chatbot .eac-header-actions button:focus-visible {
  background: #fff !important;
  color: var(--eac-primary) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
  transform: translateY(-2px);
}

#eac-chatbot .eac-header-actions button:active {
  transform: translateY(0) scale(.96);
}

#eac-chatbot .eac-close {
  position: absolute !important;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  place-items: center;
  padding: 0 !important;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .14) !important;
  color: #fff !important;
  line-height: 1 !important;
  backdrop-filter: blur(6px);
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s var(--eac-ease);
}

#eac-chatbot .eac-close svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
  transition: transform .4s var(--eac-ease);
}

#eac-chatbot .eac-close:hover,
#eac-chatbot .eac-close:focus-visible {
  border-color: #fff !important;
  background: #fff !important;
  color: var(--eac-primary) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
  transform: scale(1.06);
}

#eac-chatbot .eac-close:hover svg,
#eac-chatbot .eac-close:focus-visible svg {
  transform: rotate(90deg);
}

#eac-chatbot .eac-close:active {
  transform: scale(.94);
}

/* ---------- Conversation ---------- */

#eac-chatbot .eac-messages {
  flex: 1 1 0;
  min-height: 84px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 16px 10px;
  background: transparent !important;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 111, 139, .3) transparent;
}

#eac-chatbot .eac-message {
  max-width: 88%;
  margin: 0 0 11px;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
  white-space: pre-wrap;
  animation: eac-message-in .35s var(--eac-ease);
}

#eac-chatbot .eac-message-bot {
  margin-right: auto;
  border: 1px solid rgba(213, 225, 229, .95);
  border-bottom-left-radius: 5px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(23, 50, 77, .06);
}

#eac-chatbot .eac-message-user {
  margin-left: auto;
  border-bottom-right-radius: 5px;
  background: linear-gradient(135deg, var(--eac-blue), #3ca7ac);
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 111, 139, .22);
}

#eac-chatbot .eac-status {
  padding: 0 16px 8px;
  background: transparent !important;
  color: var(--eac-muted);
  font-size: 11px;
}

/* ---------- Composer: transparent so the chat background runs through ---------- */

#eac-chatbot .eac-composer {
  flex: 0 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 6px 16px 12px;
  border: 0 !important;
  background: transparent !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 111, 139, .3) transparent;
}

#eac-chatbot .eac-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  background: transparent !important;
}

/* answer chips — the area behind them is transparent; only the buttons carry a fill */
#eac-chatbot .eac-option,
#eac-chatbot .eac-phone {
  position: relative;
  isolation: isolate;
  display: inline-flex !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  min-height: 0 !important;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
  padding: 8px 14px !important;
  border: 1px solid rgba(31, 111, 139, .35) !important;
  border-radius: 999px !important;
  background: rgba(31, 111, 139, .1) !important;
  box-shadow: none !important;
  color: var(--eac-blue) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-align: center;
  overflow-wrap: anywhere;
  animation: eac-chip-in .45s var(--eac-ease) backwards;
  transition: transform .25s var(--eac-ease), box-shadow .25s ease, border-color .25s ease, color .25s ease;
}

#eac-chatbot .eac-option::before,
#eac-chatbot .eac-phone::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--eac-primary), var(--eac-teal));
  content: "";
  transform: translateX(-102%);
  transition: transform .38s var(--eac-ease);
}

#eac-chatbot .eac-option:hover,
#eac-chatbot .eac-option:focus-visible,
#eac-chatbot .eac-phone:hover,
#eac-chatbot .eac-phone:focus-visible {
  border-color: var(--eac-primary) !important;
  background: rgba(31, 111, 139, .1) !important;
  box-shadow: 0 10px 20px rgba(23, 50, 77, .16) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

#eac-chatbot .eac-option:hover::before,
#eac-chatbot .eac-option:focus-visible::before,
#eac-chatbot .eac-phone:hover::before,
#eac-chatbot .eac-phone:focus-visible::before {
  transform: translateX(0);
}

#eac-chatbot .eac-option:active,
#eac-chatbot .eac-phone:active {
  transform: translateY(0) scale(.96);
}

#eac-chatbot .eac-options > :nth-child(2)  { animation-delay: .04s; }
#eac-chatbot .eac-options > :nth-child(3)  { animation-delay: .08s; }
#eac-chatbot .eac-options > :nth-child(4)  { animation-delay: .12s; }
#eac-chatbot .eac-options > :nth-child(5)  { animation-delay: .16s; }
#eac-chatbot .eac-options > :nth-child(6)  { animation-delay: .20s; }
#eac-chatbot .eac-options > :nth-child(7)  { animation-delay: .24s; }
#eac-chatbot .eac-options > :nth-child(8)  { animation-delay: .28s; }
#eac-chatbot .eac-options > :nth-child(9)  { animation-delay: .32s; }
#eac-chatbot .eac-options > :nth-child(n+10) { animation-delay: .36s; }

/* ---------- Contact options box ---------- */

#eac-chatbot .eac-contact-card {
  position: relative;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 14px 12px 12px;
  border: 1px solid rgba(31, 111, 139, .22);
  border-radius: 20px;
  background: transparent !important;
  box-shadow: none;
  animation: eac-form-in .5s var(--eac-ease) both;
}

#eac-chatbot .eac-contact-card::before,
#eac-chatbot .eac-lead-form::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--eac-accent), var(--eac-gold-2), var(--eac-teal), var(--eac-blue), var(--eac-accent));
  background-size: 200% 100%;
  content: "";
  animation: eac-flow 6s linear infinite;
}

#eac-chatbot .eac-contact-head,
#eac-chatbot .eac-form-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 2px;
}

#eac-chatbot .eac-contact-badge,
#eac-chatbot .eac-form-badge {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--eac-primary), var(--eac-teal));
  color: #fff;
  box-shadow: 0 8px 16px rgba(23, 50, 77, .22);
}

#eac-chatbot .eac-contact-badge svg,
#eac-chatbot .eac-form-badge svg {
  width: 18px;
  height: 18px;
}

#eac-chatbot .eac-contact-head strong,
#eac-chatbot .eac-form-head strong {
  display: block;
  color: var(--eac-primary);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

#eac-chatbot .eac-contact-head small,
#eac-chatbot .eac-form-head small {
  display: block;
  margin-top: 2px;
  color: var(--eac-muted);
  font-size: 11.5px;
  line-height: 1.35;
}

#eac-chatbot .eac-contact-list {
  display: grid;
  gap: 8px;
}

#eac-chatbot .eac-contact-item {
  position: relative;
  display: flex !important;
  width: 100% !important;
  align-items: center;
  gap: 12px;
  padding: 10px 12px !important;
  border: 1px solid rgba(31, 111, 139, .25) !important;
  border-radius: 14px !important;
  background: rgba(31, 111, 139, .08) !important;
  box-shadow: none !important;
  color: var(--eac-ink) !important;
  text-align: left;
  animation: eac-chip-in .45s var(--eac-ease) backwards;
  transition: transform .25s var(--eac-ease), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}

#eac-chatbot .eac-contact-item:nth-child(2) { animation-delay: .06s; }
#eac-chatbot .eac-contact-item:nth-child(3) { animation-delay: .12s; }
#eac-chatbot .eac-contact-item:nth-child(4) { animation-delay: .18s; }

#eac-chatbot .eac-contact-item.is-primary {
  border-color: rgba(213, 155, 60, .6) !important;
  background: linear-gradient(135deg, rgba(213, 155, 60, .12), rgba(244, 205, 120, .06)) !important;
}

#eac-chatbot .eac-contact-item:hover,
#eac-chatbot .eac-contact-item:focus-visible {
  border-color: var(--eac-blue) !important;
  background: rgba(31, 111, 139, .15) !important;
  box-shadow: 0 10px 22px rgba(23, 50, 77, .12) !important;
  transform: translateY(-2px);
}

#eac-chatbot .eac-contact-item.is-primary:hover,
#eac-chatbot .eac-contact-item.is-primary:focus-visible {
  border-color: var(--eac-accent) !important;
  background: linear-gradient(135deg, rgba(213, 155, 60, .2), rgba(244, 205, 120, .1)) !important;
}

#eac-chatbot .eac-contact-item:active {
  transform: translateY(0) scale(.985);
}

#eac-chatbot .eac-contact-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--eac-primary), var(--eac-teal));
  color: #fff;
  transition: transform .35s var(--eac-ease);
}

#eac-chatbot .eac-contact-item.is-primary .eac-contact-icon {
  background: linear-gradient(135deg, var(--eac-accent), var(--eac-gold-2));
  color: var(--eac-primary);
}

#eac-chatbot .eac-contact-item:hover .eac-contact-icon {
  transform: scale(1.1) rotate(-6deg);
}

#eac-chatbot .eac-contact-icon svg {
  width: 17px;
  height: 17px;
}

#eac-chatbot .eac-contact-text {
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 1px;
}

#eac-chatbot .eac-contact-text strong {
  color: var(--eac-primary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

#eac-chatbot .eac-contact-text small {
  overflow: hidden;
  color: var(--eac-muted);
  font-size: 11.5px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#eac-chatbot .eac-contact-chevron {
  display: grid;
  flex: 0 0 auto;
  color: #8aa0a8;
  transition: transform .3s var(--eac-ease), color .25s ease;
}

#eac-chatbot .eac-contact-chevron svg {
  width: 16px;
  height: 16px;
}

#eac-chatbot .eac-contact-item:hover .eac-contact-chevron {
  color: var(--eac-accent);
  transform: translateX(4px);
}

/* ---------- Chat input + send button ---------- */

#eac-chatbot .eac-chat-input-form {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 16px 12px;
  border: 0;
  border-top: 1px solid rgba(31, 111, 139, .12);
  background: transparent !important;
}

#eac-chatbot .eac-chat-input-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

#eac-chatbot .eac-chat-input {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid #c7d8dd !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .7) !important;
  box-shadow: none !important;
  color: var(--eac-ink) !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  outline: none !important;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

#eac-chatbot .eac-chat-input::placeholder,
#eac-chatbot .eac-field input::placeholder {
  color: #87999f;
  opacity: 1;
}

#eac-chatbot .eac-chat-input:focus {
  border-color: var(--eac-blue) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(31, 111, 139, .13) !important;
}

#eac-chatbot .eac-chat-input-form > button {
  position: relative;
  display: grid !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  flex: 0 0 44px;
  place-items: center;
  overflow: hidden;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--eac-accent), var(--eac-gold-2)) !important;
  box-shadow: 0 8px 18px rgba(213, 155, 60, .36), inset 0 1px 0 rgba(255, 255, 255, .5);
  color: var(--eac-primary) !important;
  line-height: 1 !important;
  transition: transform .25s var(--eac-ease), box-shadow .25s ease;
}

#eac-chatbot .eac-chat-input-form > button svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.6;
  transition: transform .3s var(--eac-ease);
}

#eac-chatbot .eac-chat-input-form > button:hover,
#eac-chatbot .eac-chat-input-form > button:focus-visible {
  box-shadow: 0 12px 24px rgba(213, 155, 60, .5), 0 0 0 5px rgba(213, 155, 60, .16);
  transform: translateY(-2px) scale(1.06);
}

#eac-chatbot .eac-chat-input-form > button:hover svg,
#eac-chatbot .eac-chat-input-form > button:focus-visible svg {
  transform: translateY(-2px);
}

#eac-chatbot .eac-chat-input-form > button:active {
  transform: scale(.92);
}

/* ---------- Search suggestions ---------- */

#eac-chatbot .eac-suggestions {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 52px;
  left: 0;
  display: block;
  overflow: hidden;
  padding: 6px;
  border: 1px solid var(--eac-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 18px 36px rgba(23, 50, 77, .18);
  backdrop-filter: blur(14px);
  animation: eac-message-in .25s var(--eac-ease);
}

#eac-chatbot .eac-suggestions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 2px 6px 8px;
  color: var(--eac-muted);
  font-size: 11px;
  font-weight: 700;
}

#eac-chatbot .eac-suggestions-close {
  display: grid !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  flex: 0 0 26px;
  place-items: center;
  padding: 0 !important;
  border: 1px solid var(--eac-line) !important;
  border-radius: 50% !important;
  background: #f3f7f8 !important;
  color: var(--eac-muted) !important;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .35s var(--eac-ease);
}

#eac-chatbot .eac-suggestions-close svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
}

#eac-chatbot .eac-suggestions-close:hover,
#eac-chatbot .eac-suggestions-close:focus-visible {
  border-color: var(--eac-primary) !important;
  background: var(--eac-primary) !important;
  color: #fff !important;
  transform: rotate(90deg);
}

#eac-chatbot .eac-suggestions-list {
  display: grid;
  max-height: 112px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(31, 111, 139, .3) transparent;
}

#eac-chatbot .eac-suggestion {
  display: grid !important;
  width: 100% !important;
  gap: 2px;
  padding: 9px 10px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  color: var(--eac-ink) !important;
  text-align: left;
  transition: background .2s ease, transform .2s var(--eac-ease);
}

#eac-chatbot .eac-suggestion:hover,
#eac-chatbot .eac-suggestion:focus-visible {
  background: #eaf4f7 !important;
  transform: translateX(3px);
}

#eac-chatbot .eac-suggestion strong {
  color: var(--eac-blue);
  font-size: 12px;
}

#eac-chatbot .eac-suggestion span {
  overflow: hidden;
  color: var(--eac-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#eac-chatbot .eac-suggestion-contact {
  color: var(--eac-blue) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

/* ---------- Single-line prompt form ("Ask a question", notes) ---------- */

#eac-chatbot .eac-input-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  animation: eac-chip-in .4s var(--eac-ease) backwards;
}

#eac-chatbot .eac-input-form input {
  display: block !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #c7d8dd !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .75) !important;
  box-shadow: none !important;
  color: var(--eac-ink) !important;
  font-size: 13px !important;
  outline: none !important;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

#eac-chatbot .eac-input-form input:focus {
  border-color: var(--eac-blue) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(31, 111, 139, .13) !important;
}

#eac-chatbot .eac-input-form button[type="submit"] {
  position: relative;
  width: 100% !important;
  min-height: 44px !important;
  overflow: hidden;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--eac-accent), var(--eac-gold-2)) !important;
  box-shadow: 0 10px 20px rgba(213, 155, 60, .34), inset 0 1px 0 rgba(255, 255, 255, .5);
  color: var(--eac-primary) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  transition: transform .25s var(--eac-ease), box-shadow .25s ease;
}

#eac-chatbot .eac-input-form button[type="submit"]:hover,
#eac-chatbot .eac-input-form button[type="submit"]:focus-visible {
  box-shadow: 0 14px 26px rgba(213, 155, 60, .46);
  transform: translateY(-2px);
}

#eac-chatbot .eac-input-form button[type="submit"]:active {
  transform: scale(.97);
}

#eac-chatbot .eac-skip {
  padding: 6px !important;
  color: var(--eac-muted) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  transition: color .2s ease;
}

#eac-chatbot .eac-skip:hover,
#eac-chatbot .eac-skip:focus-visible {
  color: var(--eac-blue) !important;
}

/* ---------- Website search results ---------- */

#eac-chatbot .eac-results {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

#eac-chatbot .eac-results a {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border: 1px solid var(--eac-line);
  border-radius: 14px;
  background: #fff;
  color: var(--eac-ink) !important;
  font-size: 12px;
  line-height: 1.4;
  transition: transform .25s var(--eac-ease), box-shadow .25s ease, border-color .25s ease;
}

#eac-chatbot .eac-results a:hover,
#eac-chatbot .eac-results a:focus-visible {
  border-color: rgba(31, 111, 139, .5);
  box-shadow: 0 12px 22px rgba(23, 50, 77, .12);
  transform: translateY(-2px);
}

#eac-chatbot .eac-results strong { color: var(--eac-blue); }
#eac-chatbot .eac-results span { color: var(--eac-muted); }

/* ---------- Premium contact form ---------- */

#eac-chatbot .eac-lead-form {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 0;
  overflow: hidden;
  padding: 16px 14px 12px;
  border: 1px solid rgba(31, 111, 139, .22);
  border-radius: 20px;
  background: transparent !important;
  box-shadow: none;
  animation: eac-form-in .5s var(--eac-ease) both;
}

#eac-chatbot .eac-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

#eac-chatbot .eac-field {
  display: block;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  animation: eac-chip-in .45s var(--eac-ease) backwards;
}

#eac-chatbot .eac-field.is-half {
  grid-column: auto;
}

#eac-chatbot .eac-form-grid > :nth-child(2) { animation-delay: .05s; }
#eac-chatbot .eac-form-grid > :nth-child(3) { animation-delay: .10s; }
#eac-chatbot .eac-form-grid > :nth-child(4) { animation-delay: .15s; }
#eac-chatbot .eac-form-grid > :nth-child(5) { animation-delay: .20s; }

#eac-chatbot .eac-field-control {
  position: relative;
  display: block;
}

#eac-chatbot .eac-field-icon {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 13px;
  width: 16px;
  height: 16px;
  color: #8aa0a8;
  pointer-events: none;
  transform: translateY(-50%);
  transition: color .25s ease;
}

#eac-chatbot .eac-field-control:focus-within .eac-field-icon {
  color: var(--eac-blue);
}

#eac-chatbot .eac-field input {
  -webkit-appearance: none;
  appearance: none;
  display: block !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 19px 12px 5px 38px !important;
  border: 1px solid #cddbdf !important;
  border-radius: 14px !important;
  background-color: #fbfdfd !important;
  box-shadow: none !important;
  color: var(--eac-ink) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  outline: none !important;
  transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

#eac-chatbot .eac-field input:hover {
  border-color: #a9c0c7 !important;
}

#eac-chatbot .eac-field input:focus {
  border-color: var(--eac-blue) !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 4px rgba(31, 111, 139, .13) !important;
}

#eac-chatbot .eac-field input:user-invalid {
  border-color: #c4553a !important;
  box-shadow: 0 0 0 4px rgba(196, 85, 58, .1) !important;
}

/* floating label */
#eac-chatbot .eac-field-label {
  position: absolute;
  z-index: 1;
  top: 17px;
  left: 38px;
  max-width: calc(100% - 50px);
  overflow: hidden;
  color: #7b9099;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none;
  transform-origin: left top;
  transition: transform .25s var(--eac-ease), color .25s ease;
}

#eac-chatbot .eac-field.is-required .eac-field-label::after {
  color: #c4553a;
  content: " *";
}

#eac-chatbot .eac-field.is-float .eac-field-label,
#eac-chatbot .eac-field input:focus ~ .eac-field-label,
#eac-chatbot .eac-field input:not(:placeholder-shown) ~ .eac-field-label,
#eac-chatbot .eac-field input:-webkit-autofill ~ .eac-field-label {
  font-weight: 700;
  transform: translateY(-10px) scale(.77);
}

#eac-chatbot .eac-field input:focus ~ .eac-field-label {
  color: var(--eac-blue);
}

/* preferred contact method — Call / Email / WhatsApp */
#eac-chatbot .eac-segmented {
  display: block;
  grid-column: 1 / -1;
  margin: 0;
  padding: 0;
  animation: eac-chip-in .45s var(--eac-ease) .12s backwards;
}

#eac-chatbot .eac-seg-label {
  display: block;
  margin: 0 0 6px 2px;
  color: var(--eac-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

#eac-chatbot .eac-seg-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

#eac-chatbot .eac-seg {
  position: relative;
  display: block;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

#eac-chatbot .eac-seg input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none;
}

#eac-chatbot .eac-seg-face {
  display: flex;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 8px;
  border: 1px solid #cddbdf;
  border-radius: 12px;
  background: #fbfdfd;
  color: var(--eac-blue);
  font-size: 12.5px;
  font-weight: 700;
  transition: transform .25s var(--eac-ease), box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}

#eac-chatbot .eac-seg-face svg {
  width: 15px;
  height: 15px;
  transition: transform .3s var(--eac-ease);
}

#eac-chatbot .eac-seg:hover .eac-seg-face {
  border-color: var(--eac-blue);
  box-shadow: 0 8px 16px rgba(23, 50, 77, .1);
  transform: translateY(-2px);
}

#eac-chatbot .eac-seg:hover .eac-seg-face svg {
  transform: scale(1.15) rotate(-6deg);
}

#eac-chatbot .eac-seg input:checked + .eac-seg-face {
  border-color: var(--eac-accent);
  background: linear-gradient(135deg, var(--eac-accent), var(--eac-gold-2));
  box-shadow: 0 8px 16px rgba(213, 155, 60, .38);
  color: var(--eac-primary);
}

#eac-chatbot .eac-seg input:focus-visible + .eac-seg-face {
  outline: 2px solid var(--eac-accent);
  outline-offset: 2px;
}

/* date + time pickers */
#eac-chatbot .eac-field input[type="date"],
#eac-chatbot .eac-field input[type="time"] {
  color-scheme: light;
  cursor: pointer;
  min-width: 0;
}

#eac-chatbot .eac-field input.is-empty {
  color: #87999f !important;
}

#eac-chatbot .eac-field input[type="date"]::-webkit-calendar-picker-indicator,
#eac-chatbot .eac-field input[type="time"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  opacity: 0;
}

#eac-chatbot .eac-field input[type="date"]::-webkit-datetime-edit,
#eac-chatbot .eac-field input[type="time"]::-webkit-datetime-edit {
  padding: 0;
}

/* consent checkbox */
#eac-chatbot .eac-consent {
  position: relative;
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(31, 111, 139, .18);
  border-radius: 12px;
  background: rgba(31, 111, 139, .045);
  color: var(--eac-muted);
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  animation: eac-chip-in .45s var(--eac-ease) .25s backwards;
  transition: border-color .25s ease, background .25s ease;
}

#eac-chatbot .eac-consent:hover {
  border-color: rgba(31, 111, 139, .4);
  background: rgba(31, 111, 139, .08);
}

#eac-chatbot .eac-consent input {
  position: absolute !important;
  top: 10px;
  left: 12px;
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  opacity: 0 !important;
}

#eac-chatbot .eac-check {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  margin-top: 1px;
  border: 1.5px solid #9db6bd;
  border-radius: 6px;
  background: #fff;
  transition: background .25s ease, border-color .25s ease, transform .25s var(--eac-ease), box-shadow .25s ease;
}

#eac-chatbot .eac-check svg {
  width: 12px;
  height: 12px;
  color: var(--eac-primary);
  stroke-width: 3.4;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  opacity: 0;
  transition: stroke-dashoffset .3s ease .05s, opacity .15s ease;
}

#eac-chatbot .eac-consent input:checked + .eac-check {
  border-color: var(--eac-accent);
  background: linear-gradient(135deg, var(--eac-accent), var(--eac-gold-2));
  box-shadow: 0 4px 10px rgba(213, 155, 60, .4);
  transform: scale(1.06);
}

#eac-chatbot .eac-consent input:checked + .eac-check svg {
  stroke-dashoffset: 0;
  opacity: 1;
}

#eac-chatbot .eac-consent input:focus-visible + .eac-check {
  outline: 2px solid var(--eac-accent);
  outline-offset: 2px;
}

/* send button */
#eac-chatbot .eac-submit {
  position: relative;
  isolation: isolate;
  display: flex !important;
  width: 100% !important;
  min-height: 48px !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  padding: 12px 44px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--eac-accent) 0%, var(--eac-gold-2) 100%) !important;
  box-shadow: 0 12px 24px rgba(213, 155, 60, .4), inset 0 1px 0 rgba(255, 255, 255, .55) !important;
  color: var(--eac-primary) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  animation: eac-chip-in .45s var(--eac-ease) .3s backwards;
  transition: transform .25s var(--eac-ease), box-shadow .25s ease, filter .25s ease;
}

#eac-chatbot .eac-submit::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  content: "";
  pointer-events: none;
  transform: translateX(-120%);
  animation: eac-sheen 4.5s ease-in-out 1s infinite;
}

#eac-chatbot .eac-submit svg {
  position: relative;
  z-index: 2;
}

#eac-chatbot .eac-submit-icon {
  width: 16px;
  height: 16px;
}

#eac-chatbot .eac-submit-label {
  position: relative;
  z-index: 2;
}

#eac-chatbot .eac-submit-arrow {
  position: absolute !important;
  top: 50%;
  right: 18px;
  width: 18px;
  height: 18px;
  opacity: 0;
  stroke-width: 2.6;
  transform: translate(-8px, -50%);
  transition: transform .3s var(--eac-ease), opacity .25s ease;
}

#eac-chatbot .eac-submit:hover,
#eac-chatbot .eac-submit:focus-visible {
  box-shadow: 0 16px 30px rgba(213, 155, 60, .55), 0 0 0 5px rgba(213, 155, 60, .16), inset 0 1px 0 rgba(255, 255, 255, .55) !important;
  transform: translateY(-2px);
}

#eac-chatbot .eac-submit:hover .eac-submit-arrow,
#eac-chatbot .eac-submit:focus-visible .eac-submit-arrow {
  opacity: 1;
  transform: translate(0, -50%);
}

#eac-chatbot .eac-submit:active {
  transform: translateY(0) scale(.98);
}

#eac-chatbot .eac-submit .eac-spinner {
  position: relative;
  z-index: 2;
  display: none;
  width: 16px;
  height: 16px;
  border: 2.5px solid rgba(23, 50, 77, .25);
  border-top-color: var(--eac-primary);
  border-radius: 50%;
  animation: eac-spin .7s linear infinite;
}

#eac-chatbot .eac-lead-form.is-sending .eac-submit {
  filter: saturate(.85);
  pointer-events: none;
}

#eac-chatbot .eac-lead-form.is-sending .eac-spinner {
  display: block;
}

#eac-chatbot .eac-lead-form.is-sending .eac-submit-icon,
#eac-chatbot .eac-lead-form.is-sending .eac-submit-arrow {
  display: none;
}

#eac-chatbot .eac-form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: var(--eac-muted);
  font-size: 10.5px;
  line-height: 1.35;
  text-align: center;
}

#eac-chatbot .eac-form-note svg {
  width: 12px;
  height: 12px;
  color: var(--eac-blue);
}

/* ---------- Footer ---------- */

#eac-chatbot .eac-footer {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 9px 16px 11px;
  border: 0;
  border-top: 1px solid rgba(31, 111, 139, .12);
  background: transparent !important;
  color: var(--eac-muted);
  font-size: 10.5px;
}

#eac-chatbot .eac-reset {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 6px 12px !important;
  border: 1px solid rgba(31, 111, 139, .3) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--eac-blue) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  transition: background .25s ease, border-color .25s ease, transform .25s var(--eac-ease);
}

#eac-chatbot .eac-reset svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.4;
  transition: transform .5s var(--eac-ease);
}

#eac-chatbot .eac-reset:hover,
#eac-chatbot .eac-reset:focus-visible {
  border-color: var(--eac-blue) !important;
  background: rgba(31, 111, 139, .1) !important;
  transform: translateY(-1px);
}

#eac-chatbot .eac-reset:hover svg,
#eac-chatbot .eac-reset:focus-visible svg {
  transform: rotate(-200deg);
}

/* ---------- Motion ---------- */

@keyframes eac-panel-in {
  from { opacity: 0; transform: translateY(16px) scale(.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes eac-panel-out {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(14px) scale(.95); }
}

@keyframes eac-message-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes eac-chip-in {
  from { opacity: 0; transform: translateY(10px) scale(.94); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes eac-form-in {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes eac-icon-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}

@keyframes eac-ring {
  0%   { opacity: .55; transform: scale(1); }
  65%  { opacity: 0;   transform: scale(1.45); }
  100% { opacity: 0;   transform: scale(1.45); }
}

@keyframes eac-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -20px) scale(1.2); }
}

@keyframes eac-flow {
  from { background-position: 0 0; }
  to   { background-position: 200% 0; }
}

@keyframes eac-sheen {
  0%, 62%  { transform: translateX(-120%); }
  100%     { transform: translateX(120%); }
}

@keyframes eac-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  #eac-chatbot *,
  #eac-chatbot *::before,
  #eac-chatbot *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 480px) {
  #eac-chatbot {
    right: 12px;
    bottom: 12px;
  }

  #eac-chatbot .eac-panel {
    right: -1px;
    bottom: 88px;
    width: calc(100vw - 24px);
    height: calc(100vh - 112px);
    height: calc(100dvh - 112px);
    border-radius: 22px;
  }

  #eac-chatbot .eac-greeting-popup {
    bottom: 88px;
  }

  #eac-chatbot .eac-quick-actions {
    right: 14px;
    bottom: 84px;
  }

  #eac-chatbot .eac-form-grid {
    grid-template-columns: 1fr;
  }

  #eac-chatbot .eac-field.is-half {
    grid-column: 1 / -1;
  }
}
