.alke-qm {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --alke-accent: #111;
}

.alke-qm__shell { display:flex; justify-content:center; }
.alke-qm__card {
  width: min(720px, 100%);
  padding: 18px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 14px;
  background: #fff;
}

.alke-qm__title { font-weight: 700; font-size: 14px; opacity: .7; margin-bottom: 10px; }
.alke-qm__headline { font-weight: 800; font-size: 22px; line-height: 1.15; margin: 6px 0 10px; }
.alke-qm__sub { font-size: 15px; line-height: 1.45; opacity: .9; margin-bottom: 14px; }
.alke-qm__q { font-weight: 800; font-size: 18px; margin: 6px 0 8px; }
.alke-qm__helper { font-size: 13px; opacity: .75; margin-bottom: 10px; }

.alke-qm__opts { display:grid; gap: 10px; }

.alke-qm__opt {
  text-align:left;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff !important;
  color: #111 !important;
  cursor:pointer;
}

.alke-qm__opt:hover {
  border-color: rgba(0,0,0,.22);
  background: var(--alke-accent, #111) !important;
  color: #fff !important;
}

.alke-qm__opt.on { border-color: rgba(0,0,0,.45); }

/* =========================
   BOTÕES (blindados)
   ========================= */
.alke-qm__btn {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  background: #f6f6f6;
  color: #111;              /* ✅ garante texto visível sempre */
  cursor:pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* estados comuns */
.alke-qm__btn:hover { filter: brightness(0.98); }
.alke-qm__btn:active { transform: translateY(1px); }
.alke-qm__btn:focus { outline: none; }
.alke-qm__btn:focus-visible {
  outline: 2px solid rgba(0,0,0,.18);
  outline-offset: 2px;
}

/* Botão principal (usa a cor configurável do plugin) */
.alke-qm__btn.primary {
  background: var(--alke-accent, #111);
  color:#fff;
  border-color: var(--alke-accent, #111);
}

/* hover do principal mantém legibilidade */
.alke-qm__btn.primary:hover {
  filter: brightness(0.95);
  color:#fff;
}

/* Inputs */
.alke-qm__input {
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.12);
  font-size: 15px;
}

.alke-qm__err { margin-top: 10px; color: #b00020; font-size: 13px; }
.alke-qm__loading { opacity:.75; }

.alke-qm__top { display:flex; justify-content:flex-end; margin-bottom: 6px; }
.alke-qm__link { background: transparent; border: none; cursor: pointer; opacity: .7; text-decoration: underline; }

/* Multi select com "checkbox" */
.alke-qm__opt--multi {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alke-qm__chk {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  flex: 0 0 auto;
}

.alke-qm__opt--multi.on .alke-qm__chk {
  background: var(--alke-accent, #111);
  color: #fff;
  border-color: var(--alke-accent, #111);
}

/* quando passar o mouse em opções multi, deixa a borda do "checkbox" branca */
.alke-qm__opt--multi:hover .alke-qm__chk {
  border-color: #fff !important;
}

/* se estiver marcado e em hover, mantém consistente */
.alke-qm__opt--multi.on:hover .alke-qm__chk {
  border-color: #fff !important;
}

/* Tela final “festiva” */
.alke-qm__result { text-align: center; padding: 6px 4px 2px; }
.alke-qm__headline.center, .alke-qm__sub.center { text-align: center; }

.alke-qm__badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 8px auto 10px;
  background: rgba(0,0,0,.06);
}

/* Botão WhatsApp sempre verde */
.alke-qm__btn--wa {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
}

.alke-qm__btn--wa:hover { filter: brightness(0.95); }

.alke-qm__btn--wa {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px auto 0 !important; /* centraliza */
  width: fit-content;
  padding: 12px 16px;
}

.alke-qm__waicon {
  width: 18px;
  height: 18px;
  display: inline-block;
}
.alke-qm__waicon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  display: block;
}

/* Progresso discreto */
.alke-qm__progress {
  font-size: 12px;
  opacity: .65;
}

/* top bar agora tem progresso + voltar */
.alke-qm__top {
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

/* Rodapé fixo (disclaimer) */
.alke-qm__footer {
  margin-top: 14px;
  font-size: 12px;
  opacity: .55;
  line-height: 1.35;
}

/* frase intermediária antes do botão final */
.alke-qm__nudge {
  margin: 10px auto 6px;
  font-size: 14px;
  line-height: 1.4;
  opacity: .9;
  max-width: 540px;
}

/* micro-garantia abaixo do botão */
.alke-qm__micro {
  margin-top: 8px;
  font-size: 12px;
  opacity: .7;
}

.quiz-progress {
  width: 100%;
  height: 6px;
  background: #e6e6e6;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}

.quiz-progress-bar {
  width: 0%;
  height: 100%;
  background: #25d366;
  transition: width .3s ease;
}