/* ============================================================================
 * GDPR Map — DPIA Self-Screening: simplified wizard styles
 * Layer on top of dpia.css. Brand #0e204b / accent #0055aa.
 * ==========================================================================*/

.dpia-wz {
  width: 100%;
  max-width: 820px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  padding: 1.5rem 1.75rem 1.75rem;
  margin: 1.5rem 0;
}

/* Progress bar */
.dpia-wz-progress {
  height: 6px;
  background: #e6ebf4;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.dpia-wz-progress > span {
  display: block;
  height: 100%;
  background: var(--dpia-accent);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.dpia-wz-step {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dpia-accent);
  margin-bottom: 0.35rem;
}
.dpia-wz-title {
  color: var(--dpia-brand);
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0 0 0.6rem;
  /* Override the global "h1..h6 { hyphens: auto }" (main.css) which was breaking
     words mid-line, e.g. "automati-cally". Let lines wrap on whole words. */
  hyphens: manual;
  overflow-wrap: break-word;
}
.dpia-wz-help { color: #4a5568; margin: 0 0 0.75rem; }
.dpia-wz-bulb { margin-right: 0.2rem; }
.dpia-wz-examples-text {
  color: #6b7280;
  font-size: 0.9rem;
  background: #f8f9fa;
  border-left: 3px solid var(--dpia-accent);
  padding: 0.6rem 0.85rem;
  border-radius: 4px;
  margin: 0 0 1rem;
}

/* Example bullets in the dealbreaker bundles */
.dpia-wz-examples {
  margin: 0 0 1.25rem;
  padding-left: 0;
  list-style: none;
}
.dpia-wz-examples li {
  position: relative;
  padding: 0.3rem 0 0.3rem 1.6rem;
  color: #25324d;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dpia-wz-examples li:last-child { border-bottom: 0; }
.dpia-wz-examples li::before {
  content: "•";
  position: absolute;
  left: 0.4rem;
  color: var(--dpia-accent);
  font-weight: 700;
}

/* Yes / No / Not sure as large buttons */
.dpia-wz-choices { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.25rem; }
.dpia-wz-choice {
  flex: 1 1 120px;
  min-width: 110px;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dpia-brand);
  background: #fff;
  border: 2px solid #d3dcec;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.dpia-wz-choice:hover { border-color: var(--dpia-accent); }
.dpia-wz-choice.is-selected {
  background: var(--dpia-brand);
  border-color: var(--dpia-brand);
  color: #fff;
}

/* Tick-lists */
.dpia-wz-group {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 0.5rem 1rem 0.85rem;
  margin: 0 0 1rem;
}
.dpia-wz-group legend {
  float: none;
  width: auto;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dpia-accent);
  margin-bottom: 0.25rem;
  padding: 0;
}
.dpia-wz-group-flat { padding-top: 0.75rem; }
.dpia-wz-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.5rem 0.25rem;
  cursor: pointer;
  color: #25324d;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.dpia-wz-check:last-child { border-bottom: 0; }
.dpia-wz-check input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--dpia-brand);
}

/* Info "i" icon + click-to-open example popup */
.dpia-wz-li-main, .dpia-wz-check-main { display: flex; align-items: flex-start; gap: 0.5rem; }
.dpia-wz-li-text { flex: 1 1 auto; }
.dpia-wz-check-main .dpia-wz-check { flex: 1 1 auto; }
.dpia-wz-info {
  flex-shrink: 0;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.05rem;
  padding: 0;
  line-height: 1.15rem;
  text-align: center;
  border-radius: 50%;
  border: 1.5px solid var(--dpia-accent);
  background: #fff;
  color: var(--dpia-accent);
  font: italic 700 0.85rem Georgia, "Times New Roman", serif;
  cursor: pointer;
}
.dpia-wz-info:hover { background: var(--dpia-accent); color: #fff; }
.dpia-wz-pop {
  margin: 0.4rem 0 0.2rem;
  padding: 0.5rem 0.75rem;
  background: #eef3fb;
  border-left: 3px solid var(--dpia-accent);
  border-radius: 4px;
  font-size: 0.85rem;
  color: #25324d;
}

.dpia-wz-err { color: #a31212; font-weight: 600; margin: 0.75rem 0 0; }

/* Navigation */
.dpia-wz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.dpia-wz-nav .dpia-wz-next { min-width: 150px; font-weight: 700; }
.dpia-wz-done .dpia-wz-nav { justify-content: flex-end; }

@media (max-width: 640px) {
  .dpia-wz { padding: 1.1rem 1.1rem 1.35rem; }
  .dpia-wz-choice { flex-basis: 100%; }
}

@media print {
  .dpia-wz { display: none !important; }
}
