/* Babysitter Zehra. Step 5 and Step 6 recaps match the approved wizard cards. */
body.page-id-198 .bz-step5 .bzfr-top-label {
  color:#7d0029;font-size:.76rem;letter-spacing:.07em;font-weight:700;margin:0 0 12px;
}
body.page-id-198 .bz-step5 .bzfr-recap {
  grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0 0 14px;
}
body.page-id-198 .bz-step5 .bzfr-mini {
  position:relative!important;display:flex!important;flex-direction:column!important;
  align-items:stretch!important;justify-content:flex-start!important;
  min-height:119px!important;gap:4px!important;
  padding:15px 88px 18px 20px!important;
  border:1px solid #e3e8ef!important;border-radius:17px!important;
  background:#fff!important;box-shadow:0 5px 18px rgba(16,43,79,.035)!important;
}
body.page-id-198 .bz-step5 .bzfr-mini-step {
  display:block!important;color:#7d0029!important;font-size:.71rem!important;
  letter-spacing:.07em!important;font-weight:700!important;line-height:1.5!important;
  margin:0 0 4px!important;
}
body.page-id-198 .bz-step5 .bzfr-mini-title {
  display:block;color:#102b4f;font-size:1rem!important;font-weight:650!important;line-height:1.35!important;
}
body.page-id-198 .bz-step5 .bzfr-mini-data {
  display:block;color:#58677b!important;font-size:.83rem!important;line-height:1.5!important;
  overflow-wrap:anywhere;
}
body.page-id-198 .bz-step5 .bzfr-mini [data-edit],
body.page-id-198 .bz-step5 .bzfr-price-recap [data-edit] {
  position:absolute!important;right:15px!important;top:18px!important;
  align-self:auto!important;margin:0!important;padding:9px 13px!important;
  text-decoration:none!important;background:#fff!important;
  border:1px solid #e3c9d2!important;border-radius:8px!important;
  color:#7d0029!important;font-size:.85rem!important;font-weight:500!important;
  line-height:1.35!important;min-height:36px!important;
  cursor:pointer!important;
}
body.page-id-198 .bz-step5 .bzfr-mini [data-edit]:hover,
body.page-id-198 .bz-step5 .bzfr-price-recap [data-edit]:hover {background:#fff1f5!important;}
body.page-id-198 .bz-step5 .bzfr-price-recap,
body.page-id-198 .bz-step5 .bzfr-top > .bzfr-price-recap {
  box-sizing:border-box;position:relative!important;
  display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
  gap:12px!important;padding:15px 91px 17px 20px!important;min-height:116px!important;
  background:#fff!important;border:1px solid #e3e8ef!important;border-radius:17px!important;
  box-shadow:0 5px 18px rgba(16,43,79,.035)!important;
  margin-bottom:16px!important;
}
body.page-id-198 .bz-step5 .bzfr-price-recap > div:first-child {
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  min-width:0!important;gap:3px!important;flex:1!important;
}
body.page-id-198 .bz-step5 .bzfr-price-recap p {
  font-size:.86rem!important;line-height:1.45!important;color:#58677b!important;margin:4px 0 0!important;
}
body.page-id-198 .bz-step5 .bzfr-price-recap > div:last-child {
  display:flex!important;flex-direction:column!important;align-items:flex-end!important;
  text-align:right!important;gap:5px!important;margin:25px 0 0!important;
  flex:none!important;min-width:0!important;
}
body.page-id-198 .bz-step5 .bzfr-price-recap strong {
  color:#7d0029!important;font-size:1.5rem!important;line-height:1.4!important;
  font-variant-numeric:tabular-nums;
}
body.page-id-198 .bz-step5 .bzfr-card,
body.page-id-198 .bz-step5 .bzf-final-review {
  border-color:#e3c9d2!important;border-radius:17px!important;
  box-shadow:0 5px 18px rgba(16,43,79,.035)!important;
}
body.page-id-198 .bz-step5 .bzfr-card h2,
body.page-id-198 .bz-step5 .bzf-final-review h2 {
  font-size:1.5rem!important;line-height:1.3!important;color:#102b4f!important;
}
/* The completed Step 4 and Step 5 cards share the second row in Step 6. */
@media(min-width:721px) {
  body.page-id-198 .bz-step5.bzsc-review-open .bzfr-top {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body.page-id-198 .bz-step5.bzsc-review-open .bzfr-top > .bzfr-recap {
    grid-column:1/-1!important;
  }
  body.page-id-198 .bz-step5.bzsc-review-open .bzfr-top > .bzfr-price-recap {
    grid-column:1!important;
  }
  body.page-id-198 .bz-step5.bzsc-review-open .bzfr-top > .bzsc-family-summary {
    grid-column:2!important;
  }
}
body.page-id-198 .bz-step5.bzsc-review-open .bzfr-price-recap > div:last-child {
  align-items:flex-end!important;text-align:right!important;margin:25px 0 0!important;
}
body.page-id-198 .bz-step5.bzsc-review-open .bzfr-price-recap strong {
  color:#7d0029!important;font-size:1.5rem!important;
}
body.page-id-198 .bz-step5.bzsc-review-open .bzsc-family-summary {
  box-sizing:border-box;position:relative!important;min-height:116px!important;
  padding:15px 88px 18px 20px!important;
  background:#fff!important;border:1px solid #e3e8ef!important;
  border-radius:17px!important;box-shadow:0 5px 18px rgba(16,43,79,.035)!important;
}
body.page-id-198 .bz-step5.bzsc-review-open .bzsc-family-heading {
  display:block!important;
}
body.page-id-198 .bz-step5.bzsc-review-open .bzsc-family-heading > div {
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important;
}
body.page-id-198 .bz-step5.bzsc-review-open .bzsc-family-lines {
  order:initial!important;margin-top:9px!important;
}
body.page-id-198 .bz-step5.bzsc-review-open .bzsc-edit-family {
  position:absolute!important;right:15px!important;top:18px!important;
  margin:0!important;padding:9px 13px!important;align-self:auto!important;
  min-height:36px!important;background:#fff!important;
  border:1px solid #e3c9d2!important;border-radius:8px!important;
  text-decoration:none!important;font-size:.85rem!important;font-weight:500!important;
  line-height:1.35!important;
}
body.page-id-198 .bz-step5.bzsc-review-open .bzsc-edit-family:hover {background:#fff1f5!important;}
@media(max-width:767px){
  body.page-id-198 .bz-step5 .bzfr-recap {grid-template-columns:1fr!important;}
  body.page-id-198 .bz-step5 .bzfr-mini {min-height:100px!important;}
}
@media(max-width:600px){
  body.page-id-198 .bz-step5 .bzfr-price-recap,
  body.page-id-198 .bz-step5 .bzfr-top > .bzfr-price-recap {flex-direction:column!important;gap:4px!important;}
  body.page-id-198 .bz-step5 .bzfr-price-recap > div:last-child {margin:0!important;align-items:flex-start!important;text-align:left!important;}
  body.page-id-198 .bz-step5.bzsc-review-open .bzfr-price-recap > div:last-child {margin:0!important;align-items:flex-start!important;text-align:left!important;}
}

/* Step 5: keep the optional Parent 2 control outside the Parent 1 card.
   Give this existing checkbox its own quiet, full-width row; keep native
   checkbox behavior and the existing reveal of Parent 2 untouched. */
body.page-id-198 .bz-step5 .bzfr-form > label.bzfr-check:has(> input.bzfr-parent2-toggle) {
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:row!important;
  align-items:center!important;
  width:100%!important;
  min-height:62px!important;
  gap:12px!important;
  margin:16px 0 24px!important;
  padding:15px 18px!important;
  border:1px solid #e0e4eb!important;
  border-radius:12px!important;
  background:#fafbfc!important;
  color:#102b4f!important;
  font-size:1rem!important;
  line-height:1.45!important;
  font-weight:550!important;
  cursor:pointer!important;
}
body.page-id-198 .bz-step5 .bzfr-form > label.bzfr-check > input.bzfr-parent2-toggle {
  flex:0 0 18px!important;
  width:18px!important;
  height:18px!important;
  margin:0!important;
  accent-color:#7d0029!important;
}
body.page-id-198 .bz-step5 .bzfr-form > label.bzfr-check:has(> input.bzfr-parent2-toggle):focus-within {
  outline:2px solid #7d0029!important;
  outline-offset:2px!important;
}
body.page-id-198 .bz-step5 .bzfr-form > label.bzfr-check:has(> input.bzfr-parent2-toggle:checked) {
  border-color:#ddc5ce!important;
  background:#fcf8fa!important;
  margin-bottom:10px!important;
}
/* More air between the parent choice/cards and the children's section. */
body.page-id-198 .bz-step5 .bzfr-form > .bzfr-parent2 + h3 {
  margin-top:30px!important;
}
@media (max-width:600px) {
  body.page-id-198 .bz-step5 .bzfr-form > label.bzfr-check:has(> input.bzfr-parent2-toggle) {
    padding:13px 14px!important;
    min-height:56px!important;
  }
  body.page-id-198 .bz-step5 .bzfr-form > .bzfr-parent2 + h3 {
    margin-top:26px!important;
  }
}

/* Step 6 must sit below the completed Step 4/5 recap with the same
   16px breathing room used between the other recap cards. */
body.page-id-198 .bz-step5.bzsc-review-open .bzfr-top {
  margin-bottom:16px!important;
}

/* Parent 2: one expandable control and form, not two separate cards. */
body.page-id-198 .bz-step5 .bzfr-form > .bzsc-parent2-section {
  box-sizing:border-box; margin:16px 0 24px; padding:0;
  border:1px solid #dce2e9; border-radius:12px; background:#fafbfc;
}
body.page-id-198 .bz-step5 .bzsc-parent2-section > label.bzfr-check:has(> input.bzfr-parent2-toggle) {
  box-sizing:border-box!important; display:flex!important; align-items:center!important;
  flex-direction:row!important; width:100%!important; min-height:60px!important;
  gap:12px!important; margin:0!important; padding:15px 18px!important;
  border:0!important; border-radius:12px!important;
  background:transparent!important; color:#102b4f!important;
  font-size:1rem!important; font-weight:550!important; cursor:pointer!important;
}
body.page-id-198 .bz-step5 .bzsc-parent2-section > label.bzfr-check:has(input:checked) {
  border-radius:12px 12px 0 0!important;
}
body.page-id-198 .bz-step5 .bzsc-parent2-section:has(input.bzfr-parent2-toggle:checked) {
  background:#fcf8fa; border-color:#ddc5ce;
}
body.page-id-198 .bz-step5 .bzsc-parent2-section:focus-within {
  outline:2px solid #7d0029; outline-offset:2px;
}
body.page-id-198 .bz-step5 .bzsc-parent2-section > .bzfr-parent2:not([hidden]) {
  display:block; margin:0!important; padding:0 18px 18px;
}
body.page-id-198 .bz-step5 .bzsc-parent2-section > .bzfr-parent2 > .bzf-parent2-content {
  box-sizing:border-box; margin:0!important; padding:18px 0 0!important;
  background:transparent!important; border:0!important; border-top:1px solid #e2d6dc!important;
  border-radius:0!important; box-shadow:none!important;
}
body.page-id-198 .bz-step5 .bzsc-parent2-section > .bzfr-parent2 > .bzf-parent2-content legend {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;
}
body.page-id-198 .bz-step5 .bzfr-form > .bzsc-parent2-section + h3 {
  margin-top:30px!important;
}
@media(max-width:600px){
  body.page-id-198 .bz-step5 .bzsc-parent2-section > label.bzfr-check:has(> input.bzfr-parent2-toggle) {
    padding:13px 14px!important; min-height:56px!important;
  }
  body.page-id-198 .bz-step5 .bzsc-parent2-section > .bzfr-parent2:not([hidden]) {
    padding:0 14px 14px;
  }
  body.page-id-198 .bz-step5 .bzfr-form > .bzsc-parent2-section + h3 {margin-top:26px!important;}
}
