/* Confirm Plus custom layout: preserve the original definition-list design. */
.wpcf7cp-force-hide { display: none !important; }
.wpcf7cp-form-hide { display: none !important; }
div.wpcf7 { position: relative; height: auto; }
div#wpcf7cpcnf {
  position: static;
  z-index: 1000;
  background-color: transparent;
  width: 100%;
  height: auto;
  margin: auto;
}
div#wpcf7cpcnf dl { margin: 0; }
div.wpcf7cp-btns { margin-top: 2em; }
button.wpcf7cp-cfm-edit-btn { margin-right: 20px; margin-bottom: 20px; }
button.wpcf7cp-cfm-submit-btn { margin-bottom: 20px; }

/* Confirmation screen: visual hierarchy of selected answers and questions */
#wpcf7cpcnf > dl > dt {
  font-weight: 700;
}
#wpcf7cpcnf > dl > dd {
  margin-left: 0;
}
#wpcf7cpcnf .wpcf7cp-confirm-primary {
  overflow-wrap: anywhere;
}
#wpcf7cpcnf .wpcf7cp-confirm-subanswer {
  margin-top: 0.9em;
  padding: 0.75em 0.85em;
  border: 1px solid #dce2e8;
  border-radius: 4px;
  background: #fff;
}
#wpcf7cpcnf .wpcf7cp-confirm-question {
  color: #49535d;
  font-size: 0.92em;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 0.4em;
}
#wpcf7cpcnf .wpcf7cp-confirm-answer {
  padding-left: 0.75em;
  border-left: 3px solid #2366a8;
  font-weight: 700;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
