/* Base shared */
.qbs-quiz-wrap { font-family: Montserrat, Arial, sans-serif; color:#111; }
.qbs-status-bar {
  display:flex; justify-content:space-between;
  background:#f7f9fc;
  border-radius:16px;
  padding:10px 14px;
  font-size:13px; font-weight:800;
  margin: 0 auto 14px;
  max-width:520px;
  box-shadow:0 8px 18px rgba(0,0,0,0.05);
}
.qbs-question-block {
  display:none;
  background:#fff;
  border-radius:20px;
  box-shadow:0 12px 32px rgba(0,0,0,0.08);
  padding:16px;
  margin:16px auto 22px;
  max-width:520px;
}
.qbs-question-block.qbs-active { display:block; }
.qbs-img-wrap {
  width:100%;
  max-height:200px;
  overflow:hidden;
  border-radius:12px;
  margin-bottom:12px;
}
.qbs-question-text {
  font-size:16px;
  font-weight:800;
  margin-bottom:14px;
  color:#0f172a;
}
.qbs-alternativas {
  display:flex;
  flex-direction:column;
  gap:10px;
}
.qbs-alt-btn {
  text-align:left;
  background:#f4f4f4;
  border:2px solid transparent;
  border-radius:12px;
  padding:14px 16px;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
}
.qbs-alt-btn.qbs-correta {
  background:#e8fff0;
  border-color:#00b85a;
  color:#065f2d;
}
.qbs-alt-btn.qbs-errada {
  background:#ffecec;
  border-color:#ff3b30;
  color:#7a0000;
}
.qbs-alt-btn.qbs-locked {
  pointer-events:none;
  opacity:0.92;
}
.qbs-next-area {
  display:none;
  margin-top:18px;
  background:#fff;
  border-radius:16px;
  box-shadow:0 12px 28px rgba(0,0,0,0.08);
  padding:16px;
}
.qbs-next-btn {
  display:block;
  width:100%;
  border:none;
  border-radius:14px;
  padding:14px 16px;
  font-size:16px;
  font-weight:800;
  text-align:center;
  color:#fff;
  cursor:pointer;
  box-shadow:0 16px 28px rgba(0,0,0,0.2);
}
.pulse-btn {
  animation:qbs-pulse 1.6s infinite;
}
@keyframes qbs-pulse {
  0%   { box-shadow:0 0 0 0 rgba(0,0,0,0.3); }
  70%  { box-shadow:0 0 0 12px rgba(0,0,0,0); }
  100% { box-shadow:0 0 0 0 rgba(0,0,0,0); }
}
.qbs-social-hint {
  font-size:13px;
  font-weight:700;
  color:#111;
  margin-top:12px;
  line-height:1.4;
  background:#fff;
  border-radius:12px;
}
.qbs-social-line { margin-bottom:4px; }

.qbs-result-area {
  display:none;
  margin:20px auto;
  max-width:520px;
}
.qbs-result-card {
  background:#fff;
  border-radius:20px;
  box-shadow:0 16px 40px rgba(0,0,0,0.12);
  padding:20px;
  text-align:center;
}
.qbs-score-big {
  font-size:20px;
  font-weight:900;
  margin-bottom:12px;
  color:#0f172a;
}
.qbs-result-social {
  font-size:13px;
  font-weight:700;
  color:#444;
  margin-bottom:16px;
  line-height:1.4;
}
.qbs-result-img-wrap {
  border-radius:16px;
  overflow:hidden;
  margin:16px auto;
  max-width:100%;
  display:none;
}
.qbs-result-img-wrap img {
  display:block;
  width:100%;
  height:auto;
}
.qbs-email-gate {
  display:none;
  margin-bottom:14px;
}
.qbs-email-field {
  width:100%;
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:12px;
  font-size:15px;
  margin-bottom:8px;
}
.qbs-email-submit {
  width:100%;
  border:none;
  border-radius:12px;
  padding:14px;
  font-size:15px;
  font-weight:800;
  background:#111;
  color:#fff;
  cursor:pointer;
}
.qbs-final-cta { display:none; }
.qbs-final-btn {
  display:block;
  width:100%;
  text-decoration:none;
  text-align:center;
  border-radius:14px;
  padding:14px 16px;
  font-size:16px;
  font-weight:900;
  color:#fff;
  box-shadow:0 14px 26px rgba(0,0,0,0.2);
}

/* THEMES */
.qbs-theme-legacy.qbs-quiz-wrap {
  max-width:520px;
  margin:0 auto;
  padding:16px;
}
.qbs-theme-legacy .qbs-alternativas .qbs-alt-btn {
  background:#f4f4f4;
}
.qbs-theme-classic.qbs-quiz-wrap {
  max-width:520px;
  margin:0 auto;
  padding:12px;
}
.qbs-theme-classic .qbs-status-bar {
  background:#f0f4ff;
  box-shadow:0 8px 20px rgba(0,0,0,0.06);
}
.qbs-theme-classic .qbs-question-block {
  box-shadow:0 14px 32px rgba(0,0,0,0.08);
  padding:18px;
}
.qbs-theme-compact.qbs-quiz-wrap {
  max-width:520px;
  margin:0 auto;
  padding:12px;
}
.qbs-theme-compact .qbs-status-bar {
  background:#f7f7f7;
  box-shadow:0 4px 12px rgba(0,0,0,0.05);
}
.qbs-theme-compact .qbs-question-block {
  border-radius:16px;
  box-shadow:0 10px 20px rgba(0,0,0,0.06);
  padding:14px;
}
.qbs-theme-compact .qbs-next-area {
  border-radius:14px;
  box-shadow:0 10px 20px rgba(0,0,0,0.06);
  padding:14px;
}
.qbs-theme-bubble.qbs-quiz-wrap {
  max-width:520px;
  margin:0 auto;
  padding:14px;
}
.qbs-theme-bubble .qbs-question-block {
  border-radius:18px;
}
.qbs-theme-bubble .qbs-alt-btn {
  background:#f6f8fb;
  border:2px solid #e5eaf2;
  border-radius:14px;
  padding:12px 16px 12px 14px;
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
}
.qbs-theme-bubble .qbs-alt-btn .qbs-chip {
  width:34px;
  height:34px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:14px;
  color:#fff;
  background:#6ea5ff;
  flex:0 0 34px;
}
.qbs-theme-bubble .qbs-alt-btn .qbs-alt-text {
  flex:1;
  color:#23303f;
}
.qbs-theme-bubble .qbs-alt-btn.qbs-correta {
  background:#e8fff0;
  border-color:#00b85a;
}
.qbs-theme-bubble .qbs-alt-btn.qbs-errada {
  background:#ffecec;
  border-color:#ff3b30;
}
.qbs-theme-bubble .qbs-next-btn {
  border-radius:999px;
}

/* mobile tweaks */
@media (max-width:420px){
  .qbs-quiz-wrap { padding:10px; }
  .qbs-question-text { font-size:16px; }
  .qbs-alt-btn { font-size:14px; padding:12px 12px; }
  .qbs-next-btn { font-size:15px; }
}
