/*!
 * PZO UX testu, znacznik pzo-ux-2026-09-21
 * Autor: Marek Porycki, Broker Business sp. z o.o. Kod autorski.
 */

/* --- instrukcja zwijana --- */
.wpt-instructions.pzo-ux-instr { padding: 0; border: 0; background: transparent; margin: 0 0 14px; }
.pzo-ux-instr-btn {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 11px 14px; border: 1px solid #e2e8f0; border-radius: 10px;
  background: #f8fafc; color: #334155; font: 600 14px/1.4 Inter, system-ui, sans-serif;
  text-align: left; cursor: pointer;
}
.pzo-ux-instr-btn::before { content: "i"; display:inline-flex; align-items:center; justify-content:center;
  width: 18px; height: 18px; border-radius: 50%; background: #0f766e; color:#fff; font-size: 12px; flex: 0 0 18px; }
.pzo-ux-instr-btn::after { content: "▾"; margin-left: auto; color: #94a3b8; }
.pzo-ux-instr.pzo-ux-zwiniete .pzo-ux-instr-btn::after { content: "▸"; }
.pzo-ux-instr-tresc {
  padding: 12px 14px 2px; font-size: 14.5px; line-height: 1.6; color: #475569;
}
.pzo-ux-instr-tresc p { margin: 0 0 8px; }
.pzo-ux-instr.pzo-ux-zwiniete .pzo-ux-instr-tresc { display: none; }

/* --- pasek postepu przyklejony u gory --- */
.wpt-progress.pzo-ux-progress {
  position: sticky; top: 0; z-index: 30;
  padding: 10px 0 12px; margin: 0 0 14px;
  background: #fff; box-shadow: 0 6px 12px -10px rgba(15, 23, 42, .5);
}
.wpt-progress.pzo-ux-progress .wpt-progress-text {
  display: block; margin-top: 6px; font-size: 13.5px; color: #64748b; text-align: center;
}

/* --- wieksze pola wyboru na telefonie --- */
@media (max-width: 640px) {
  .wpt-option { padding: 14px 14px; }
  .wpt-question-text { font-size: 19px; line-height: 1.4; }
}

/* --- ekran wyniku --- */
.pzo-ux-gotowe { color: #0f766e !important; font-weight: 650; }
#pzo-bb-panel.pzo-ux-panel { border-left-color: #00b8d4; background: #f0fdff; }

/* na ekranie wyniku zapis newslettera w stopce konkuruje z panelem wyniku */
body.pzo-ux-wynik .pzo-newsletter,
body.pzo-ux-wynik .newsletter-section,
body.pzo-ux-wynik #newsletter,
body.pzo-ux-wynik .footer-newsletter { display: none !important; }

/* --- blok udostepniania --- */
.pzo-ux-share {
  max-width: 720px; margin: 22px auto 0; padding: 20px 22px;
  border: 1px solid #e2e8f0; border-left: 4px solid #00b8d4; border-radius: 12px;
  background: #fff; font-family: Inter, system-ui, sans-serif; color: #1a2332; line-height: 1.6;
}
.pzo-ux-share h3 { margin: 0 0 8px; font: 650 19px/1.3 Lora, Georgia, serif; }
.pzo-ux-share p { margin: 0 0 14px; font-size: 15px; color: #334155; }
.pzo-ux-share-btny { display: flex; flex-wrap: wrap; gap: 10px; }
.pzo-ux-btn {
  display: inline-block; padding: 11px 18px; border: 1px solid #cbd5e1; border-radius: 10px;
  background: #fff; color: #0f172a; font: 600 15px/1 Inter, system-ui, sans-serif;
  text-decoration: none; cursor: pointer;
}
.pzo-ux-btn:hover { border-color: #94a3b8; }
.pzo-ux-btn-glowny { background: #00b8d4; border-color: #00b8d4; color: #fff; }
.pzo-ux-btn-glowny:hover { background: #00a5bf; border-color: #00a5bf; }
.pzo-ux-drobny { margin: 12px 0 0 !important; font-size: 12.5px !important; color: #94a3b8 !important; }

/* --- tryb wypelniania: mniej rzeczy nad pytaniem na telefonie --- */
@media (max-width: 640px) {
  body.pzo-ux-tryb-testu .wpt-title { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
  body.pzo-ux-tryb-testu .pzo-testy-powrot,
  body.pzo-ux-tryb-testu .pzo-powrot,
  body.pzo-ux-tryb-testu .wpt-header + .pzo-bad-intro { display: none; }
  body.pzo-ux-tryb-testu .wpt-container { padding-top: 6px; }
}
