/* FoodCare FoodBorne Pathogen Guide v0.20.22 - UX/performance fixes */

/* CDC/NORS evidence table: preserve genuine table semantics. A legacy rule made
 * .fbp-impact-cell a grid container even though it is a <td>, which allows some
 * themes/browsers to distribute a fixed table height across rows. */
.fbp-maps-repair-v197 table.fbp-outbreak-table-compact{
  display:table!important;height:auto!important;min-height:0!important;max-height:none!important;
  border-collapse:collapse!important;align-self:auto!important;place-self:auto!important
}
.fbp-maps-repair-v197 table.fbp-outbreak-table-compact thead{display:table-header-group!important;height:auto!important;min-height:0!important;max-height:none!important}
.fbp-maps-repair-v197 table.fbp-outbreak-table-compact tbody{display:table-row-group!important;height:auto!important;min-height:0!important;max-height:none!important}
.fbp-maps-repair-v197 table.fbp-outbreak-table-compact tr{display:table-row!important;height:auto!important;min-height:0!important;max-height:none!important}
.fbp-maps-repair-v197 table.fbp-outbreak-table-compact tr[hidden]{display:none!important}
.fbp-maps-repair-v197 table.fbp-outbreak-table-compact th,
.fbp-maps-repair-v197 table.fbp-outbreak-table-compact td{
  display:table-cell!important;height:auto!important;min-height:0!important;max-height:none!important;
  align-self:auto!important;place-self:auto!important;vertical-align:top!important
}
.fbp-maps-repair-v197 table.fbp-outbreak-table-compact td.fbp-impact-cell{display:table-cell!important}
.fbp-maps-repair-v197 table.fbp-outbreak-table-compact td.fbp-impact-cell>span{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  width:100%!important;margin:0 0 4px!important;min-height:0!important;height:auto!important
}
.fbp-maps-repair-v197 table.fbp-outbreak-table-compact td.fbp-impact-cell>span:last-child{margin-bottom:0!important}

/* Small animated loader shared by canonical food, taxonomy and saved-product searches. */
.fbp-search-loading{display:flex!important;align-items:center!important;gap:9px!important;min-height:38px!important}
.fbp-mini-spinner{
  display:inline-block!important;flex:0 0 18px!important;width:18px!important;height:18px!important;
  border:3px solid #dce6f4!important;border-top-color:#214b98!important;border-right-color:#e79d19!important;
  border-radius:50%!important;animation:fbpSpin2022 .72s linear infinite!important
}
.fbp-taxonomy-search.is-loading{position:relative!important;cursor:wait!important;opacity:.78!important}
.fbp-taxonomy-search.is-loading:before{
  content:""!important;display:inline-block!important;width:14px!important;height:14px!important;margin-right:7px!important;
  border:2px solid currentColor!important;border-right-color:transparent!important;border-radius:50%!important;
  vertical-align:-2px!important;animation:fbpSpin2022 .72s linear infinite!important
}

/* Loading an already saved product hydrates many form controls; show immediate,
 * local feedback without blocking the rest of WordPress. */
.fbp-product-picker{position:relative!important}
.fbp-product-picker-loading-v2022{
  position:absolute!important;inset:-5px!important;z-index:55!important;display:flex!important;align-items:center!important;
  justify-content:center!important;gap:9px!important;padding:8px!important;border:1px solid #d5e0ef!important;
  border-radius:10px!important;background:rgba(248,251,255,.94)!important;backdrop-filter:blur(1px)!important;
  color:#24477f!important;font-size:13px!important;font-weight:800!important
}
.fbp-product-picker-loading-v2022[hidden]{display:none!important}
@keyframes fbpSpin2022{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.fbp-mini-spinner,.fbp-taxonomy-search.is-loading:before{animation-duration:1.8s!important}}
