.Control {
  margin-right: 10px;
}

.Label {
  display: flex;
  align-items: center;
  font-size: var(--base-font);
  line-height: 14px;
  font-weight: 600;
  color: var(--color-main);
  cursor: pointer;
}

.Input {
  left: -9999px;
  position: absolute;

  &:checked ~ .Checkbox:before {
    content: " ";
  }

  &:focus ~ .Checkbox {
    border-color: var(--color-accent);
  }

  &:disabled ~ .Checkbox {
    cursor: not-allowed;
  }
}

.Checkbox {
  display: inline-block;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  margin: 0 8px 0 3px;
  position: relative;
  width: 16px;
  height: 16px;

  &:before {
    content: none;
    border-bottom: 2px solid var(--color-main);
    border-left: 2px solid var(--color-main);
    display: block;
    width: 8px;
    height: 3px;
    left: 2px;
    top: 3px;
    position: absolute;
    transform: rotateZ(-45deg);
  }
}
