/* ACBC Referral Network: forms, notices, map. Colors and fonts otherwise follow the theme. */
.acbc-form .acbc-field { margin: 0 0 1rem; }
.acbc-form label { display: block; font-weight: 600; }
.acbc-form input[type="text"], .acbc-form input[type="email"], .acbc-form input[type="tel"],
.acbc-form select, .acbc-form textarea { width: 100%; max-width: 34rem; box-sizing: border-box; }
.acbc-req { color: #b42318; }
.acbc-help { display: block; font-weight: 400; font-size: 0.9em; color: #50575e; margin: 0.15rem 0 0.35rem; }
.acbc-field-error { display: block; color: #b42318; font-size: 0.9em; margin-top: 0.25rem; }
.acbc-has-error input, .acbc-has-error select, .acbc-has-error textarea { border-color: #b42318; }
.acbc-check label { font-weight: 400; }
.acbc-notice { padding: 0.75rem 1rem; border-left: 4px solid #8c8f94; margin: 0 0 1.25rem; background: #f6f7f7; }
.acbc-notice p { margin: 0 0 0.5rem; }
.acbc-notice ul { margin: 0 0 0 1.25rem; }
.acbc-success { border-left-color: #1a7f37; }
.acbc-error { border-left-color: #b42318; }
.acbc-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.acbc-state-group { border: 1px solid #dcdcde; padding: 0.5rem 1rem; margin: 0 0 0.75rem; }
.acbc-state-group legend { font-weight: 700; padding: 0 0.25rem; }
.acbc-district { margin: 0.25rem 0; }
.acbc-district-mode { margin: 0.25rem 0 0.5rem 1.5rem; }
.acbc-district-mode > label { display: inline-block; font-weight: 400; margin-right: 1rem; }
.acbc-county-list { columns: 3 12rem; margin-top: 0.5rem; }
.acbc-county-list label { display: block; font-weight: 400; break-inside: avoid; }

.acbc-map { width: 100%; height: auto; max-width: 900px; display: block; margin: 0 auto 0.5rem; }
.acbc-map [data-state] { stroke: #ffffff; stroke-width: 1; cursor: pointer; }
.acbc-map path[data-status="covered"], .acbc-map path[data-status="partial"],
.acbc-map g[data-status="covered"] rect, .acbc-map g[data-status="partial"] rect { fill: #1f5fbf; }
.acbc-map path[data-status="none"], .acbc-map g[data-status="none"] rect { fill: #c0392b; }
.acbc-map g[data-state] text { fill: #ffffff; font: 700 14px sans-serif; pointer-events: none; }
.acbc-map [data-state]:focus { outline: 3px solid #f5b400; outline-offset: 1px; }
.acbc-legend { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; margin: 0 0 0.5rem; }
.acbc-swatch { display: inline-block; width: 1em; height: 1em; vertical-align: -0.1em; margin-right: 0.35em; }
.acbc-swatch-blue { background: #1f5fbf; }
.acbc-swatch-red { background: #c0392b; }
.acbc-map-info { text-align: center; min-height: 1.5em; font-weight: 600; margin: 0 0 1.5rem; }
.acbc-coverage { font-weight: 600; min-height: 1.5em; margin: -0.5rem 0 1rem; }
.acbc-coverage-yes { color: #1a7f37; }
.acbc-coverage-no { color: #b42318; }

.acbc-review dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1rem; margin: 0 0 1.5rem; }
.acbc-review dt { font-weight: 700; }
.acbc-review dd { margin: 0; overflow-wrap: anywhere; }
.acbc-review .acbc-actions { display: flex; gap: 2rem; flex-wrap: wrap; align-items: flex-end; }

@media (max-width: 480px) {
  .acbc-county-list { columns: 1; }
  .acbc-review dl { grid-template-columns: 1fr; }
  .acbc-review dt { margin-top: 0.5rem; }
}
