/* SportOne's own tick box, the same everywhere (Pablo, 17 nov): rounded, lime with a ✓ when ticked, the selected table row
   tinted. It stays a real checkbox, so keyboard, screen readers and forms work as before. Switches keep their own look. */
input[type=checkbox]:not([role=switch]) {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; flex: none; display: inline-grid; place-content: center;
  width: 20px; height: 20px; min-width: 20px; min-height: 20px; margin: 0; padding: 0; vertical-align: middle; cursor: pointer;
  border: 1.5px solid var(--muted); border-radius: 6px; background: transparent; transition: background-color .12s, border-color .12s;
}
input[type=checkbox]:not([role=switch])::after {
  content: ""; width: 10px; height: 6px; margin-top: -2px; border: solid #07172e; border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) scale(0); transition: transform .12s;
}
input[type=checkbox]:not([role=switch]):checked,
input[type=checkbox]:not([role=switch]):indeterminate { background: #c8ff31; border-color: #c8ff31; }
input[type=checkbox]:not([role=switch]):checked::after { transform: rotate(-45deg) scale(1); }
input[type=checkbox]:not([role=switch]):indeterminate::after { width: 10px; height: 0; margin: 0; border-width: 0 0 2.5px 0; transform: none; }
input[type=checkbox]:not([role=switch]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input[type=checkbox]:not([role=switch]):disabled { opacity: .45; cursor: not-allowed; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) input[type=checkbox]:not([role=switch]):checked { border-color: #8fbf00; } }
:root[data-theme="light"] input[type=checkbox]:not([role=switch]):checked { border-color: #8fbf00; }
tr:has(> td input[type=checkbox]:not([role=switch]):checked) > :is(td, th) { background: rgba(200, 255, 49, .12); }
/* The same for option buttons (radios): a round lime mark with a dark dot (Calidad, 17 nov). */
input[type=radio] {
  -webkit-appearance: none; appearance: none; box-sizing: border-box; flex: none; display: inline-grid; place-content: center;
  width: 20px; height: 20px; min-width: 20px; min-height: 20px; margin: 0; padding: 0; vertical-align: middle; cursor: pointer;
  border: 1.5px solid var(--muted); border-radius: 50%; background: transparent; transition: background-color .12s, border-color .12s;
}
input[type=radio]::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #07172e; transform: scale(0); transition: transform .12s; }
input[type=radio]:checked { background: #c8ff31; border-color: #c8ff31; }
input[type=radio]:checked::after { transform: scale(1); }
input[type=radio]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input[type=radio]:disabled { opacity: .45; cursor: not-allowed; }
:root[data-theme="light"] input[type=radio]:checked { border-color: #8fbf00; }
