/* PD consent checkbox — always below submit, site-wide CF7 forms */

.tonarius-cf7 .cf7-consent,
.tonarius-fallback-form .cf7-consent {
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
}

.tonarius-cf7 .cf7-consent p,
.tonarius-fallback-form .cf7-consent {
  margin: 0;
}

.tonarius-cf7 .cf7-consent .wpcf7-list-item,
.tonarius-fallback-form .cf7-consent {
  display: block;
  margin: 0;
}

.tonarius-cf7 .cf7-consent .wpcf7-list-item label,
.tonarius-fallback-form .cf7-consent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  cursor: pointer;
}

.tonarius-cf7 .cf7-consent input[type='checkbox'],
.tonarius-fallback-form .cf7-consent__input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--yellow);
  cursor: pointer;
}

.tonarius-cf7 .cf7-consent .wpcf7-list-item-label,
.tonarius-cf7 .cf7-consent .wpcf7-list-item label,
.tonarius-fallback-form .cf7-consent__label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  color: var(--gray-400);
}

.tonarius-cf7 .cf7-consent a,
.tonarius-fallback-form .cf7-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}

.tonarius-cf7 .cf7-consent a:hover,
.tonarius-fallback-form .cf7-consent a:hover {
  color: var(--yellow);
}

/* Dark form panels (capture, CTA, hero sidebar on dark hero) */
#tonarius-site .hero-form-box .tonarius-cf7 .cf7-consent .wpcf7-list-item label,
#tonarius-site .capture-form .tonarius-cf7 .cf7-consent .wpcf7-list-item label,
#tonarius-site .cta-form .tonarius-cf7 .cf7-consent .wpcf7-list-item label {
  color: rgba(255, 255, 255, 0.55);
}

#tonarius-site .hero-form-box .tonarius-cf7 .cf7-consent a:hover,
#tonarius-site .capture-form .tonarius-cf7 .cf7-consent a:hover,
#tonarius-site .cta-form .tonarius-cf7 .cf7-consent a:hover {
  color: var(--yellow);
}

#tonarius-site.tonarius-kalkulator
  .q-result
  .tonarius-cf7.variant-quiz
  .cf7-consent
  .wpcf7-list-item
  label {
  color: rgba(255, 255, 255, 0.55);
}

#tonarius-site.tonarius-goroda
  .cta-section
  .tonarius-cf7.variant-callback
  .wpcf7-form
  > .cf7-consent {
  flex: 1 1 100%;
  width: 100%;
  min-width: 100%;
  order: 10;
}

.tonarius-cf7.context-popup .cf7-consent {
  margin-top: 4px;
}

/* Legacy duplicate consent lines under forms (removed from markup; hide if cached HTML remains) */
.hero-form-foot,
.form-foot {
  display: none !important;
}
