/* Quiz dedicated page — premium, focused */
.qpage { background: #fff; min-height: 100vh; display: flex; flex-direction: column; }

.qpage-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 720px; width: 100%; margin: 0 auto;
  padding: 22px 24px;
}
.qpage-logo img { display: block; height: 32px; width: auto; }
.qpage-back { color: var(--muted); text-decoration: none; font-size: .95rem; }
.qpage-back:hover { color: var(--ink); }

.qpage-main {
  flex: 1; width: 100%; max-width: 560px; margin: 0 auto;
  padding: 40px 24px 80px;
}
.qpage-main .quiz-plan { margin-bottom: 14px; }
.qpage-main .quiz-progress { margin-bottom: 34px; }
.qpage-main .quiz-step h1 {
  font-size: 1.9rem; line-height: 1.2; letter-spacing: -0.01em;
  margin: 0 0 24px; font-weight: 700;
}
.qpage-main .quiz-step { animation: qfade .35s ease; }
@keyframes qfade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.qpage-main .quiz-opts { gap: 12px; }
.qpage-main .quiz-opts button { padding: 17px 18px; font-size: 1.02rem; border-radius: 12px; }
.qpage-main .quiz-opts button strong { display: block; font-size: 1.05rem; }
.qpage-main .quiz-opts button span { color: var(--muted); font-size: .92rem; }
.qpage-main .quiz-nav { margin-top: 28px; }
#quiz-style-other-wrap { margin-top: 16px; }

/* Location row: input + clear + geo pin */
.quiz-loc-row { display: flex; gap: 10px; align-items: stretch; margin-bottom: 16px; }
.quiz-loc-row .quiz-loc-wrap { flex: 1; min-width: 0; margin-bottom: 0; }
/* The autocomplete dropdown spans the full row width (input + 52px geo button
   + 10px gap = +62px) so no sliver of the "Continuar" button shows beside it. */
.quiz-loc-drop { width: calc(100% + 62px); }
.quiz-loc-clear {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border: 0; border-radius: 50%;
  background: var(--soft); color: var(--muted); font-size: 1.15rem; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0;
}
.quiz-loc-clear:hover { color: var(--ink); background: var(--line); }
.quiz-loc-clear[hidden] { display: none; }
#quiz-loc { padding-right: 40px; }
.quiz-loc-geo {
  flex-shrink: 0; width: 52px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
  transition: border-color .15s ease, background .15s ease;
}
.quiz-loc-geo:hover { border-color: var(--ink); background: var(--soft); }
.quiz-loc-geo:disabled { opacity: .5; cursor: wait; }
.quiz-loc-geo svg { display: block; }

@media (max-width: 560px) {
  .qpage-main { padding: 28px 20px 60px; }
  .qpage-main .quiz-step h1 { font-size: 1.55rem; }
}
.quiz-skip { display: block; width: 100%; margin-top: 12px; background: none; border: 0; color: var(--muted); font-size: .95rem; cursor: pointer; text-align: center; padding: 10px; }
.quiz-skip:hover { color: var(--ink); text-decoration: underline; }
