:root {
  --mahara-wa-green: #25d366;
  --mahara-wa-green-dark: #1fa855;
  --mahara-wa-teal: #075e54;
  --mahara-wa-teal-soft: #128c7e;
  --mahara-wa-paper: #efeae2;
  --mahara-wa-outgoing: #dcf8c6;
  --mahara-wa-panel: #ffffff;
  --mahara-wa-border: #d8e2df;
  --mahara-blue: var(--mahara-wa-teal-soft);
  --mahara-pink: #e9fff4;
  --mahara-pink-strong: var(--mahara-wa-green-dark);
  --mahara-green: var(--mahara-wa-green);
  --mahara-lime: var(--mahara-wa-green);
  --mahara-aqua: #d9fff0;
  --mahara-yellow: #eafff4;
  --mahara-lavender: #dff7ed;
  --mahara-teal: var(--mahara-wa-teal);
  --mahara-orange: #ffc857;
  --mahara-neon: var(--mahara-wa-green);
  --mahara-deep-blue: #06483f;
  --mahara-ink: #111b21;
  --mahara-muted: #667781;
  --mahara-line: var(--mahara-wa-border);
  --mahara-soft: #f7fbf8;
  --mahara-font-title: Arial, "Arial Rounded MT Bold", "Trebuchet MS", ui-rounded, system-ui, sans-serif;
  --mahara-font-body: Arial, "Aptos", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --mahara-shadow: 0 24px 56px rgba(7, 94, 84, 0.2);
}

.mahara-bot,
.mahara-bot * {
  box-sizing: border-box;
}

.mahara-bot {
  color: var(--mahara-ink);
  font-family: var(--mahara-font-body);
  line-height: 1.45;
}

.mahara-bot--inline {
  display: flex;
  justify-content: center;
  margin: 24px auto;
  width: min(100%, 560px);
}

.mahara-bot--floating {
  bottom: 24px;
  position: fixed;
  right: 24px;
  z-index: 99999;
}

.mahara-bot-launcher {
  align-items: center;
  background: var(--mahara-wa-green);
  border: 0;
  border-radius: 999px;
  box-shadow: var(--mahara-shadow);
  color: #fff;
  cursor: pointer;
  display: none;
  font-size: 35px;
  height: 72px;
  justify-content: center;
  width: 72px;
}

.mahara-bot--floating .mahara-bot-launcher {
  display: flex;
}

.mahara-wa-icon {
  background: currentColor;
  display: inline-block;
  height: 1em;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.03 3.2A12.7 12.7 0 0 0 5.1 22.35L3.4 28.8l6.6-1.67A12.7 12.7 0 1 0 16.03 3.2Zm0 2.35a10.35 10.35 0 0 1 8.82 15.78 10.34 10.34 0 0 1-13.9 3.6l-.47-.28-3.85.98 1-3.75-.3-.5A10.35 10.35 0 0 1 16.03 5.55Zm-4.2 5.48c-.25 0-.65.1-.98.47-.34.37-1.3 1.27-1.3 3.1 0 1.82 1.33 3.58 1.51 3.83.18.25 2.57 4.13 6.34 5.62 3.14 1.24 3.78 1 4.46.94.69-.06 2.22-.91 2.54-1.79.31-.88.31-1.64.22-1.8-.1-.15-.35-.25-.72-.43-.38-.19-2.22-1.1-2.56-1.22-.35-.13-.6-.19-.85.18-.25.38-.98 1.22-1.2 1.47-.22.25-.44.28-.82.1-.37-.2-1.58-.59-3.02-1.87-1.12-1-1.87-2.23-2.09-2.6-.22-.38-.02-.58.17-.77.17-.17.38-.44.56-.66.19-.22.25-.38.38-.63.12-.25.06-.47-.03-.66-.1-.19-.84-2.03-1.16-2.78-.3-.72-.62-.62-.85-.64h-.72Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.03 3.2A12.7 12.7 0 0 0 5.1 22.35L3.4 28.8l6.6-1.67A12.7 12.7 0 1 0 16.03 3.2Zm0 2.35a10.35 10.35 0 0 1 8.82 15.78 10.34 10.34 0 0 1-13.9 3.6l-.47-.28-3.85.98 1-3.75-.3-.5A10.35 10.35 0 0 1 16.03 5.55Zm-4.2 5.48c-.25 0-.65.1-.98.47-.34.37-1.3 1.27-1.3 3.1 0 1.82 1.33 3.58 1.51 3.83.18.25 2.57 4.13 6.34 5.62 3.14 1.24 3.78 1 4.46.94.69-.06 2.22-.91 2.54-1.79.31-.88.31-1.64.22-1.8-.1-.15-.35-.25-.72-.43-.38-.19-2.22-1.1-2.56-1.22-.35-.13-.6-.19-.85.18-.25.38-.98 1.22-1.2 1.47-.22.25-.44.28-.82.1-.37-.2-1.58-.59-3.02-1.87-1.12-1-1.87-2.23-2.09-2.6-.22-.38-.02-.58.17-.77.17-.17.38-.44.56-.66.19-.22.25-.38.38-.63.12-.25.06-.47-.03-.66-.1-.19-.84-2.03-1.16-2.78-.3-.72-.62-.62-.85-.64h-.72Z'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 1em;
}

.mahara-wa-icon::before {
  content: "";
  display: none;
}

.mahara-wa-icon::after {
  content: "";
  display: none;
}

.mahara-wa-icon span {
  display: none;
}

.mahara-bot-shell {
  background: var(--mahara-wa-paper);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  box-shadow: var(--mahara-shadow);
  display: flex;
  flex-direction: column;
  height: min(760px, calc(100vh - 48px));
  overflow: hidden;
  width: min(92vw, 520px);
}

.mahara-bot--floating .mahara-bot-shell {
  bottom: 88px;
  display: none;
  position: absolute;
  right: 0;
}

.mahara-bot--floating.is-open .mahara-bot-shell {
  display: flex;
}

.mahara-bot-header {
  align-items: center;
  background: var(--mahara-teal);
  color: #fff;
  display: grid;
  gap: 14px;
  grid-template-columns: 54px 1fr auto auto;
  min-height: 96px;
  padding: 18px 22px;
}

.mahara-bot-mark {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: var(--mahara-wa-green);
  display: flex;
  font-size: 34px;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.mahara-bot-header h2 {
  color: #fff;
  font-family: var(--mahara-font-title);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

.mahara-bot-header p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  margin: 4px 0 0;
}

.mahara-bot-status {
  background: var(--mahara-wa-green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.24);
  height: 9px;
  width: 9px;
}

.mahara-bot-close {
  background: rgba(255, 255, 255, 0.18);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: none;
  font-size: 26px;
  height: 34px;
  line-height: 1;
  width: 34px;
}

.mahara-bot--floating .mahara-bot-close {
  display: block;
}

.mahara-bot-progress {
  background: #d8eee7;
  height: 4px;
}

.mahara-bot-progress span {
  background: var(--mahara-wa-green);
  display: block;
  height: 100%;
  transition: width 260ms ease;
  width: 0;
}

.mahara-bot-messages {
  background: var(--mahara-wa-paper);
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  padding: 24px 22px 18px;
  scroll-behavior: smooth;
}

.mahara-bot-messages::-webkit-scrollbar {
  width: 9px;
}

.mahara-bot-messages::-webkit-scrollbar-thumb {
  background: rgba(7, 94, 84, 0.28);
  border-radius: 999px;
}

.mahara-message {
  animation: mahara-rise 240ms ease both;
  max-width: 90%;
}

.mahara-message--bot {
  align-self: flex-start;
  background: #fff;
  border: 1px solid rgba(216, 226, 223, 0.92);
  border-radius: 6px 18px 18px 18px;
  box-shadow: 0 12px 26px rgba(17, 27, 33, 0.08);
  padding: 16px 18px;
}

.mahara-message--user {
  align-self: flex-end;
  background: var(--mahara-wa-outgoing);
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 18px 6px 18px 18px;
  box-shadow: 0 8px 18px rgba(7, 94, 84, 0.12);
  color: var(--mahara-ink);
  padding: 13px 18px;
}

.mahara-welcome {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 86px 1fr;
  min-width: min(330px, 100%);
}

.mahara-welcome span {
  color: #3f4a5d;
  display: block;
  margin-top: 4px;
}

.mahara-elephant {
  align-items: center;
  background: #ecfff5;
  border: 2px solid rgba(37, 211, 102, 0.38);
  border-radius: 24px;
  display: flex;
  height: 82px;
  justify-content: center;
  overflow: hidden;
  width: 82px;
}

.mahara-elephant svg {
  height: 82px;
  width: 82px;
}

.mahara-elephant-bg {
  fill: #25d366;
  opacity: 0.2;
}

.mahara-elephant-ear {
  fill: #bcebd8;
}

.mahara-elephant-head {
  fill: #e7fff1;
  stroke: #128c7e;
  stroke-width: 3;
}

.mahara-elephant-eye {
  fill: #212121;
}

.mahara-elephant-trunk,
.mahara-elephant-smile,
.mahara-elephant-hand {
  fill: none;
  stroke: #212121;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.mahara-elephant-hand {
  animation: mahara-wave 1.45s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: 96px 55px;
}

.mahara-elephant-hand--two {
  animation-delay: 140ms;
}

.mahara-question-panel {
  animation: mahara-rise 240ms ease both;
  background: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.32);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(7, 94, 84, 0.1);
  padding: 14px;
  width: 100%;
}

.mahara-question-panel strong {
  color: var(--mahara-wa-teal);
  display: block;
  font-size: 13px;
  margin-bottom: 10px;
}

.mahara-question-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mahara-question-list button,
.mahara-age-grid button {
  background: #fff;
  border: 1px solid rgba(7, 94, 84, 0.22);
  border-radius: 999px;
  color: #344056;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  min-height: 38px;
  padding: 9px 12px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.mahara-question-list button:hover,
.mahara-age-grid button:hover {
  border-color: var(--mahara-wa-green);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.18);
  transform: translateY(-1px);
}

.mahara-welcome strong,
.mahara-program-card h3,
.mahara-camp-card h3,
.mahara-contact-card h3,
.mahara-info-card h3,
.mahara-confirm h3,
.mahara-booking h3 {
  color: var(--mahara-ink);
  font-family: var(--mahara-font-title);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 8px;
}

.mahara-choice-list {
  display: grid;
  gap: 10px;
  margin: 2px 0 8px;
  width: 100%;
}

.mahara-chip,
.mahara-submit {
  align-items: center;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 8px 16px rgba(31, 41, 55, 0.12);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 45px;
  padding: 11px 18px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  width: 100%;
}

.mahara-chip:hover,
.mahara-submit:hover,
.mahara-bot-launcher:hover {
  box-shadow: 0 12px 24px rgba(31, 41, 55, 0.18);
  transform: translateY(-1px);
}

.mahara-chip--primary,
.mahara-submit {
  background: var(--mahara-wa-teal-soft);
  color: #fff;
}

.mahara-chip--green {
  background: var(--mahara-wa-green);
  color: #073b2f;
}

.mahara-chip--secondary {
  background: var(--mahara-wa-teal);
  color: #fff;
}

.mahara-chip--ghost {
  background: #fff;
  border: 1px solid var(--mahara-line);
  color: #354255;
}

.mahara-program-card,
.mahara-camp-card,
.mahara-contact-card,
.mahara-info-card,
.mahara-recommend-card,
.mahara-confirm,
.mahara-booking {
  width: min(100%, 420px);
}

.mahara-answer-card {
  border-left: 4px solid var(--mahara-teal);
}

.mahara-answer-kicker {
  background: #e7fff1;
  border-radius: 999px;
  color: var(--mahara-wa-teal);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 10px;
  padding: 5px 9px;
}

.mahara-answer-card p {
  color: #566277;
  margin: 10px 0 0;
}

.mahara-age-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.mahara-recommend-card {
  background: #f1fff7;
  border: 1px solid rgba(37, 211, 102, 0.32);
  border-radius: 20px;
  padding: 4px;
}

.mahara-recommend-card span {
  color: var(--mahara-wa-teal);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 6px;
}

.mahara-recommend-card h3 {
  color: var(--mahara-ink);
  font-size: 21px;
  margin: 0 0 8px;
}

.mahara-recommend-card p {
  color: #566277;
  margin: 0;
}

.mahara-card-icon {
  align-items: center;
  background: var(--mahara-wa-green);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 29px;
  height: 44px;
  justify-content: center;
  margin-bottom: 10px;
  width: 44px;
}

.mahara-program-card ul,
.mahara-info-card ul {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}

.mahara-program-card li,
.mahara-info-card li {
  color: #566277;
  margin: 11px 0;
  padding-left: 28px;
  position: relative;
}

.mahara-program-card li::before,
.mahara-info-card li::before {
  color: var(--mahara-wa-green-dark);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
}

.mahara-time,
.mahara-fee,
.mahara-camp-meta {
  background: #e7fff1;
  border-radius: 15px;
  color: var(--mahara-wa-teal);
  font-weight: 800;
  margin: 14px 0;
  padding: 11px 14px;
}

.mahara-fee,
.mahara-camp-meta {
  background: #f1fff7;
  color: var(--mahara-wa-green-dark);
}

.mahara-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mahara-card-actions .mahara-chip {
  width: auto;
}

.mahara-camp-card {
  text-align: center;
}

.mahara-camp-card p,
.mahara-contact-card p,
.mahara-confirm p,
.mahara-booking p {
  color: var(--mahara-muted);
  margin: 0 0 16px;
}

.mahara-sun {
  color: #d9c300;
  font-size: 48px;
  line-height: 1;
}

.mahara-camp-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 20px 0;
  text-align: left;
}

.mahara-camp-grid div {
  align-items: center;
  background: #f8fbff;
  border-radius: 15px;
  display: flex;
  font-size: 13px;
  font-weight: 750;
  gap: 10px;
  min-height: 64px;
  padding: 12px;
}

.mahara-camp-grid span {
  align-items: center;
  background: var(--mahara-pink);
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex: 0 0 36px;
  font-size: 20px;
  height: 36px;
  justify-content: center;
}

.mahara-camp-grid div:nth-child(2) span {
  background: var(--mahara-lavender);
}

.mahara-camp-grid div:nth-child(3) span {
  background: var(--mahara-aqua);
  color: var(--mahara-teal);
}

.mahara-camp-grid div:nth-child(4) span {
  background: var(--mahara-yellow);
  color: #433600;
}

.mahara-branch-card {
  background: #f1fff7;
  border: 1px solid rgba(37, 211, 102, 0.18);
  border-radius: 18px;
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 18px;
}

.mahara-branch-card strong {
  font-size: 18px;
}

.mahara-branch-card span {
  color: #566277;
}

.mahara-branch-card div {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
  margin-top: 8px;
}

.mahara-field-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.mahara-field-grid label {
  color: #4b5563;
  display: grid;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
}

.mahara-field-grid input,
.mahara-field-grid select,
.mahara-bot-input input {
  background: #fff;
  border: 1px solid var(--mahara-line);
  border-radius: 14px;
  color: var(--mahara-ink);
  font: inherit;
  min-height: 44px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

.mahara-field-grid input:focus,
.mahara-field-grid select:focus,
.mahara-bot-input input:focus {
  border-color: var(--mahara-wa-green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.14);
}

.mahara-submit {
  margin: 16px 0 10px;
}

.mahara-confirm {
  text-align: center;
}

.mahara-success {
  align-items: center;
  background: var(--mahara-lime);
  border-radius: 50%;
  color: #073b2f;
  display: inline-flex;
  font-size: 30px;
  font-weight: 900;
  height: 56px;
  justify-content: center;
  margin-bottom: 12px;
  width: 56px;
}

.mahara-confirm dl {
  background: #f8fafc;
  border-radius: 16px;
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 14px;
  text-align: left;
}

.mahara-confirm dl div {
  display: grid;
  gap: 4px;
  grid-template-columns: 96px 1fr;
}

.mahara-confirm dt {
  color: var(--mahara-muted);
  font-weight: 800;
}

.mahara-confirm dd {
  margin: 0;
}

.mahara-note {
  background: #fff8e6;
  border-radius: 12px;
  color: #8a5a00 !important;
  padding: 10px;
}

.mahara-bot-input {
  align-items: center;
  background: rgba(247, 251, 248, 0.96);
  border-top: 1px solid #d9e5e1;
  display: grid;
  gap: 8px 10px;
  grid-template-columns: 1fr 58px;
  padding: 18px 18px 14px;
}

.mahara-bot-input button {
  align-items: center;
  background: var(--mahara-wa-green);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 10px 18px rgba(37, 211, 102, 0.28);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 25px;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.mahara-bot-input small {
  color: #8b98a9;
  font-size: 12px;
  grid-column: 1 / -1;
  text-align: center;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
}

@keyframes mahara-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

@keyframes mahara-wave {
  0%,
  100% {
    transform: rotate(-8deg);
  }

  50% {
    transform: rotate(13deg);
  }
}

@media (max-width: 640px) {
  .mahara-bot--inline {
    margin: 0 auto;
    width: 100%;
  }

  .mahara-bot--floating {
    bottom: 18px;
    right: 18px;
  }

  .mahara-bot-shell,
  .mahara-bot--floating .mahara-bot-shell {
    border-radius: 22px;
    height: min(720px, calc(100vh - 28px));
    width: calc(100vw - 24px);
  }

  .mahara-bot--floating .mahara-bot-shell {
    bottom: 82px;
    right: -6px;
  }

  .mahara-bot-header {
    grid-template-columns: 48px 1fr auto auto;
    min-height: 88px;
    padding: 16px;
  }

  .mahara-bot-header h2 {
    font-size: 22px;
  }

  .mahara-bot-mark {
    font-size: 30px;
    height: 48px;
    width: 48px;
  }

  .mahara-bot-messages {
    padding: 18px 14px;
  }

  .mahara-message {
    max-width: 96%;
  }

  .mahara-welcome {
    grid-template-columns: 70px 1fr;
  }

  .mahara-elephant,
  .mahara-elephant svg {
    height: 68px;
    width: 68px;
  }

  .mahara-field-grid,
  .mahara-camp-grid,
  .mahara-branch-card div {
    grid-template-columns: 1fr;
  }

  .mahara-card-actions .mahara-chip {
    width: 100%;
  }

  .mahara-confirm dl div {
    grid-template-columns: 1fr;
  }
}
