.checkbox__group {
  display: flex;
  align-items: center;
}

.custom-checkbox-label {
  color: var(--text-primary);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 1px;
}

.custom-checkbox input {
  display: none;
}

.custom-checkbox {
  display: inline-block;
  position: relative;
  padding-left: 25px;
  cursor: pointer;
  user-select: none;
  height: 20px;
  width: 20px;
}

.custom-checkbox .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  border-radius: 5px;
  border: 1px solid var(--bg-secondary);
  background: var(--bg-secondary);
  transition: 0.2s;
}

.custom-checkbox:hover .checkmark {
  border: 1px solid var(--color-primary);
  background: var(--border-primary);
}

.custom-checkbox input:checked~.checkmark {
  border: 1px solid var(--color-primary);
  background: var(--border-primary);
}

.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: block;
  opacity: 0;
  transition: 0.3s;
}

.custom-checkbox input:checked~.checkmark:after {
  opacity: 1;
}

.custom-checkbox .checkmark:after {
  left: 6.2px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid var(--color-primary);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}