/* Form Edge: home/away form-split screener. The panel reuses the
   .expert-panel layout classes directly (see templates/components/
   filters.html), the "Side" field reuses the shared custom-select-*
   widget (custom-select.js, styled centrally in filters.css) rather than
   a native <select> -- a native dropdown's option-list background can't
   be reliably restyled cross-browser and rendered light-on-light against
   this dark app. So this file only needs the "Min Form-Edge" number field
   plus the per-row result badge -- same sizing language as
   .hit-rate-badge, different color to tell it apart at a glance. Same
   hardcoded dark colors as hit-rates.css for the same reason: this app is
   dark-only but var(--ink)/var(--page) only flip via the OS's
   prefers-color-scheme, not the app's own forced data-theme="dark". */
#form-edge-min, #form-edge-min-over, #form-edge-min-btts, #form-edge-window {
  font: inherit;
  color: #f3f5f7 !important;
  background: #11181e !important;
  border: 1px solid #465661 !important;
  border-radius: 7px;
  padding: 5px 8px;
  box-sizing: border-box;
  width: 70px;
}
#form-edge-window {
  width: 110px;
}
#form-edge-min:hover, #form-edge-min:focus-visible,
#form-edge-min-over:hover, #form-edge-min-over:focus-visible,
#form-edge-min-btts:hover, #form-edge-min-btts:focus-visible,
#form-edge-window:hover, #form-edge-window:focus-visible {
  background: linear-gradient(90deg, rgba(34, 197, 94, .22), rgba(34, 197, 94, .03)) !important;
  border-color: rgba(34, 197, 94, .45) !important;
  outline: none;
}
#form-edge-min:disabled, #form-edge-min-over:disabled, #form-edge-min-btts:disabled {
  color: #5c6870 !important;
  background: #0c1114 !important;
  border-color: #2c363c !important;
  cursor: not-allowed;
}

.form-edge-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 15px;
  margin-left: 8px;
  padding: 0 5px;
  border: 1px solid #c084fc;
  border-radius: 999px;
  background: rgba(192, 132, 252, .14);
  color: #c084fc;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  cursor: default;
}
