

.form-group.checkbox-group {
  display: flex;
  flex-direction: column; /* stack vertically */
  gap: 17px;
  align-items: flex-start; /* align labels to the left    CENTER*/ 
  font-family: Arial, sans-serif;
}

/* Hide native checkbox */
.checkbox-group input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Label styling as a button */
.checkbox-group label {
  position: relative;
  cursor: pointer;
  padding-left: 35px;
  user-select: none;
  font-size: 16px;
  color: #555;
  transition: color 0.3s ease;
  /* display: inline-flex; */
  display: inline-flex;
  align-items: center;
}

/* Custom checkbox square */
.checkbox-group label span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 22px;
  width: 22px;
  border: 2px solid #888;
  border-radius: 6px;
  background-color: white;
  transition: all 0.3s ease;
}

/* Checkmark inside the box when checked */
.checkbox-group input[type="checkbox"]:checked + span::after {
  content: "✔";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #2a8bf2;
  font-weight: bold;
}

/* Checked state styling */
.checkbox-group input[type="checkbox"]:checked + span::before {
  border-color: #2a8bf2;
  background-color: #e6f0ff;
}

/* Hover effect */
.checkbox-group label:hover span::before {
  border-color: #2a8bf2;
}

/* Hover text color */
.checkbox-group label:hover {
  color: #2a8bf2;
}