/* Custom checkbox — shared across sc-transfer, sc-player, dias-player */

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  border: 1px solid currentColor;
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  vertical-align: middle;
  transition: background 80ms ease;
  color: var(--fg, #111);
}

input[type="checkbox"]:checked {
  background: currentColor;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 8' fill='none' stroke='%23fff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='1,4 4,7 9,1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px 6px;
}

input[type="checkbox"]:focus-visible {
  outline: 1.5px solid currentColor;
  outline-offset: 2px;
}

input[type="checkbox"]:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
