.pvla-has-error .pvla-inline-error {
  margin-top: 8px;
  color: #b42318;
  font-size: 13px;
  line-height: 1.45;
}

.pvla-has-error .pvla-invalid,
.pvla-has-error input,
.pvla-has-error select,
.pvla-has-error textarea {
  border-color: #d92d20 !important;
  box-shadow: 0 0 0 1px rgba(217, 45, 32, 0.15);
}

.pvla-has-error .radio-pills,
.pvla-has-error .consent-row,
.pvla-has-error .form-field,
.pvla-has-error .wpcf7-form-control-wrap {
  border-radius: 12px;
}

.pvla-is-active {
  background: #1f1f1f !important;
  color: #ffffff !important;
  border-color: #1f1f1f !important;
  box-shadow: none !important;
}

.pvla-is-active svg,
.pvla-is-active path,
.pvla-is-active span,
.pvla-is-active small,
.pvla-is-active strong {
  color: inherit !important;
  fill: currentColor !important;
}

.pvla-is-active:hover,
.pvla-is-active:focus,
.pvla-is-active:focus-visible {
  background: #1f1f1f !important;
  color: #ffffff !important;
  border-color: #1f1f1f !important;
  outline: none;
}

.pvla-is-checked {
  border-color: #1f1f1f !important;
  background: #f6f6f6 !important;
  color: #1f1f1f !important;
}

.pvla-is-checked input[type="checkbox"],
.pvla-is-checked input[type="radio"] {
  accent-color: #1f1f1f;
}

.consent-row,
.preview-consent-row,
.consent-card,
.preview-consent-card,
.cf-consent-card,
.pvla-consent-card,
.pvla-checkbox-card,
.form-consents .wpcf7-list-item,
.form-consents label {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.pvla-is-checked.consent-row,
.pvla-is-checked.preview-consent-row,
.pvla-is-checked.consent-card,
.pvla-is-checked.preview-consent-card,
.pvla-is-checked.cf-consent-card,
.pvla-is-checked.pvla-consent-card,
.pvla-is-checked.pvla-checkbox-card,
.form-consents .pvla-is-checked.wpcf7-list-item,
.form-consents label.pvla-is-checked,
[data-pvla-consent-root].pvla-is-checked {
  background: #f6f6f6 !important;
  border-color: #1f1f1f !important;
  color: #1f1f1f !important;
  box-shadow: 0 0 0 1px rgba(31, 31, 31, 0.05), inset 0 0 0 1px rgba(31, 31, 31, 0.02) !important;
}

.pvla-is-checked a,
.pvla-is-checked span,
.pvla-is-checked small,
.pvla-is-checked strong,
.pvla-is-checked p,
.pvla-is-checked div,
.pvla-is-checked label,
.pvla-is-checked .wpcf7-list-item-label,
[data-pvla-consent-root].pvla-is-checked *,
[data-pvla-consent-root].pvla-is-checked *:not(a) {
  color: #1f1f1f !important;
}

.pvla-is-checked a,
[data-pvla-consent-root].pvla-is-checked a {
  color: #1f1f1f !important;
  text-decoration-color: rgba(31,31,31,0.55);
}

.pvla-is-checked input[type="checkbox"] {
  accent-color: #1f1f1f;
}

[data-pvla-consent-root] {
  cursor: pointer;
}


/* v0.5.8 minimal polish */
.lead-form,
.pvla-minimal-form {
  color: #171717;
}

.lead-form .form-section,
.pvla-minimal-form .form-section {
  margin-bottom: 18px;
}

.lead-form .section-title,
.pvla-minimal-form .section-title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #171717;
}

.lead-form .form-field label,
.pvla-minimal-form .form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #171717;
}

.lead-form .cf-field,
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form select,
.lead-form textarea,
.pvla-minimal-form .cf-field,
.pvla-minimal-form input[type="text"],
.pvla-minimal-form input[type="email"],
.pvla-minimal-form input[type="tel"],
.pvla-minimal-form select,
.pvla-minimal-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid #d4d4d4;
  border-radius: 14px;
  background: #fff;
  color: #171717;
  box-shadow: none;
}

.lead-form textarea,
.pvla-minimal-form textarea {
  min-height: 120px;
}

.lead-form .cf-field:focus,
.lead-form input[type="text"]:focus,
.lead-form input[type="email"]:focus,
.lead-form input[type="tel"]:focus,
.lead-form select:focus,
.lead-form textarea:focus,
.pvla-minimal-form .cf-field:focus,
.pvla-minimal-form input[type="text"]:focus,
.pvla-minimal-form input[type="email"]:focus,
.pvla-minimal-form input[type="tel"]:focus,
.pvla-minimal-form select:focus,
.pvla-minimal-form textarea:focus {
  outline: none;
  border-color: #171717;
  box-shadow: 0 0 0 3px rgba(23,23,23,0.06);
}

.lead-form .radio-pills,
.pvla-minimal-form .radio-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-form .radio-pills .wpcf7-list-item,
.pvla-minimal-form .radio-pills .wpcf7-list-item {
  margin: 0;
}

.lead-form .radio-pills label,
.pvla-minimal-form .radio-pills label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  background: #fff;
  color: #171717;
  cursor: pointer;
  transition: all .18s ease;
}

.lead-form .radio-pills input[type="radio"],
.pvla-minimal-form .radio-pills input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lead-form .radio-pills input[type="radio"]:checked + .wpcf7-list-item-label,
.pvla-minimal-form .radio-pills input[type="radio"]:checked + .wpcf7-list-item-label {
  color: #fff;
}

.lead-form .radio-pills label:has(input[type="radio"]:checked),
.pvla-minimal-form .radio-pills label:has(input[type="radio"]:checked) {
  background: #171717;
  border-color: #171717;
  color: #fff;
}

.lead-form .form-consents .consent-row,
.pvla-minimal-form .form-consents .consent-row,
[data-pvla-consent-root] {
  padding: 18px 18px;
  border: 1px solid #d4d4d4;
  border-radius: 18px;
  background: #fff;
}

.lead-form .form-consents .consent-row + .consent-row,
.pvla-minimal-form .form-consents .consent-row + .consent-row {
  margin-top: 12px;
}

.lead-form .submit-row,
.pvla-minimal-form .submit-row {
  margin-top: 20px;
}

.lead-form .lead-submit,
.lead-form button,
.lead-form input[type="submit"],
.lead-form .button,
.pvla-minimal-form .lead-submit,
.pvla-minimal-form button,
.pvla-minimal-form input[type="submit"],
.pvla-minimal-form .button {
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #171717;
  border-radius: 999px;
  background: #171717;
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

.lead-form .lead-submit:hover,
.lead-form button:hover,
.lead-form input[type="submit"]:hover,
.lead-form .button:hover,
.pvla-minimal-form .lead-submit:hover,
.pvla-minimal-form button:hover,
.pvla-minimal-form input[type="submit"]:hover,
.pvla-minimal-form .button:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.lead-form .lead-submit:focus,
.lead-form button:focus,
.lead-form input[type="submit"]:focus,
.pvla-minimal-form .lead-submit:focus,
.pvla-minimal-form button:focus,
.pvla-minimal-form input[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(23,23,23,0.08);
}
