/* Paint the Blocks — chatbot theme (site greens / ink palette) */

.ChatbotRoot {
  font-family: var(--font-body, "Figtree", "Segoe UI", sans-serif);
}

.ChatbotLauncher {
  background: linear-gradient(180deg, #0fad7a 0%, #0b9470 100%);
  box-shadow: 0 10px 26px rgba(15, 173, 122, 0.28);
  border-radius: 50%;
  color: #ffffff;
}

.ChatbotLauncher i {
  display: inline-block;
  font-size: 21px;
  line-height: 1;
  color: #ffffff;
}

.ChatbotHubNewBtnIcon {
  background: linear-gradient(180deg, #0fad7a 0%, #0b9470 100%);
  color: #ffffff;
  border-radius: 10px;
}

.ChatbotHubNewBtnIcon i {
  color: #ffffff;
  font-size: 16px;
  line-height: 1;
}

.ChatbotPanel {
  background: #e8f3ec;
  border: 1px solid rgba(20, 44, 38, 0.12);
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(20, 44, 38, 0.16);
  color: #142c26;
}

.ChatbotHeader {
  background: #142c26;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ChatbotTitle {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.ChatbotHeaderButton {
  color: #c8ddd4;
  background: transparent;
  border: 1px solid rgba(200, 221, 212, 0.35);
}

.ChatbotHeaderButton:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.ChatbotHubIntro,
.ChatbotHubView,
.ChatbotMessages {
  background: #e8f3ec;
}

.ChatbotHubNewBtn {
  background: #ffffff;
  border: 1px solid rgba(20, 44, 38, 0.12);
  color: #142c26;
  border-radius: 2px;
}

.ChatbotHubNewBtn:hover {
  border-color: #0fad7a;
  background: rgba(15, 173, 122, 0.06);
}

.ChatbotHubNewBtnLabel,
.ChatbotOptionButton {
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-weight: 600;
}

.ChatbotOptionButton {
  background: #ffffff;
  border: 1.5px solid rgba(20, 44, 38, 0.2);
  color: #142c26;
  border-radius: 2px;
}

.ChatbotOptionButton:hover {
  background: #142c26;
  border-color: #142c26;
  color: #ffffff;
}

.ChatbotMessageUser .ChatbotBubble {
  background: #142c26;
  color: #ffffff;
  border-radius: 10px 10px 2px 10px;
}

.ChatbotMessageAssistant .ChatbotBubble {
  background: #ffffff;
  color: #142c26;
  border: 1px solid rgba(20, 44, 38, 0.1);
  border-radius: 10px 10px 10px 2px;
}

.ChatbotComposer {
  background: #ffffff;
  border-top: 1px solid rgba(20, 44, 38, 0.1);
}

.ChatbotSend,
#ChatbotSend {
  background: #142c26 !important;
  color: #ffffff !important;
  border-radius: 2px !important;
}

.ChatbotSend:hover,
#ChatbotSend:hover {
  background: #0b9470 !important;
}

.ChatbotInput,
#ChatbotInput {
  border: 1px solid rgba(20, 44, 38, 0.18) !important;
  border-radius: 2px !important;
  color: #142c26;
}

.ChatbotInput:focus,
#ChatbotInput:focus {
  border-color: #0fad7a !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(15, 173, 122, 0.18);
}

.ChatbotToolButton {
  color: #0b9470;
}

.ChatbotHelpfulBtn--yes {
  background: #142c26;
  color: #fff;
}

.ChatbotHelpfulBtn--no {
  border-color: rgba(20, 44, 38, 0.25);
  color: #142c26;
}

.ChatbotTyping span {
  background: #0fad7a;
}

.ChatbotHoneypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ChatbotChallengeBox {
  margin: 0.65rem 0.85rem 0.35rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(15, 173, 122, 0.22);
  border-radius: 12px;
  background: linear-gradient(180deg, #f6faf7 0%, #ffffff 100%);
  box-shadow: 0 8px 18px rgba(15, 173, 122, 0.08);
}

.ChatbotChallengeText {
  margin: 0 0 0.65rem;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-weight: 700;
  color: #142c26;
  font-size: 0.95rem;
}

.ChatbotChallengeLabel {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  color: #142c26;
  margin-bottom: 0.7rem;
  cursor: pointer;
}

.ChatbotChallengeSubmit {
  border: none;
  border-radius: 10px;
  padding: 0.5rem 0.95rem;
  background: linear-gradient(180deg, #0fad7a 0%, #0b9470 100%);
  color: #fff;
  font-family: var(--font-display, "Fraunces", Georgia, serif);
  font-weight: 600;
  cursor: pointer;
}

.ChatbotChallengeSubmit:hover {
  filter: brightness(1.05);
}

.ChatbotTurnstileHost {
  min-height: 65px;
}

.ChatbotEscalateBar {
  margin: 0.75rem 1rem 0.85rem;
  padding: 0.15rem 0.15rem 0.1rem;
  display: flex;
  justify-content: flex-end;
}

.ChatbotEscalateBar[hidden] {
  display: none !important;
}

.ChatbotNeedHumanBtn {
  margin: 0;
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
}

.ChatbotSupportOpt {
  display: none;
}

.ChatbotSupportOpt {
  border: 0;
  background: transparent;
}

.ChatbotSupportOpt > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5b7368;
  padding: 0.25rem 0.15rem;
  user-select: none;
}

.ChatbotSupportOpt > summary::-webkit-details-marker {
  display: none;
}

.ChatbotSupportOpt > summary::before {
  content: '';
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: 0.7;
}

.ChatbotSupportOpt[open] > summary::before {
  transform: rotate(45deg);
}

.ChatbotSupportOpt[open] > summary {
  color: #142c26;
}

.ChatbotEscalateLink {
  display: inline-flex;
  margin: 0.35rem 0 0.15rem 0.15rem;
  border: 0;
  background: transparent;
  padding: 0.35rem 0;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0b9470;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ChatbotEscalateLink:hover {
  color: #086b52;
}

.ChatbotEscalateLink:disabled {
  opacity: 0.55;
  cursor: default;
  text-decoration: none;
}
