/* Обёртка */
.checkbox-wrapper {
  display: flex;
  align-items: normal;
  gap: 8px;
  cursor: pointer;
  margin-top: 10px;
}

/* Сбросим стандартный вид */
.custom-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 46px;
  height: 18px;
  border: 1px solid #ccc;
  border-radius: 2px;
  background-color: #fff;
  cursor: pointer;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  top: 3px;
}

/* Галочка при :checked */
.custom-checkbox:checked::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}