
/* child element indent */
.crb-child-element {
	margin: 0 0 0 50px;
}


/* Make sure everything is boxed properly */
.checkbox-wrapper-1 *,
.checkbox-wrapper-1 ::before,
.checkbox-wrapper-1 ::after {
  box-sizing: border-box;
}

/* Hide the native checkbox input */
.checkbox-wrapper-1 .cf-checkbox__input {
  position: absolute;
  opacity: 0;
}

/* Style the visual checkbox box */
.checkbox-wrapper-1 .cf-checkbox__label {
  position: relative;
  padding-left: 1.8em;
  cursor: pointer;
  user-select: none;
}

/* Visual box before the label */
.checkbox-wrapper-1 .cf-checkbox__label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.1em;
  width: 1.15em;
  height: 1.15em;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 0.2em;
  background-color: #fff;
  transition: background 0.2s, background-size 0.2s;
  background-size: 0;
  background-repeat: no-repeat;
  background-position: center;
}

/* Checkmark when input is checked */
.checkbox-wrapper-1 .cf-checkbox__input:checked + .cf-checkbox__label::before {
  background-color: #3B99FC;
  background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xml:space="preserve" fill="white" viewBox="0 0 9 9"><rect x="0" y="4.3" transform="matrix(-0.707 -0.7072 0.7072 -0.707 0.5891 10.4702)" width="4.3" height="1.6" /><rect x="2.2" y="2.9" transform="matrix(-0.7071 0.7071 -0.7071 -0.7071 12.1877 2.9833)" width="6.1" height="1.7" /></svg>');
  background-size: 0.75em;
}

/* Focus style */
.checkbox-wrapper-1 .cf-checkbox__input:focus + .cf-checkbox__label::before {
  box-shadow: 0 0 0 3px rgba(59, 153, 252, 0.4);
}

/* Optional: dark variant */
.checkbox-wrapper-1.dark .cf-checkbox__label::before {
  background-color: #222;
  border-color: #555;
}

/* Optional: warning variant (unchecked red) */
.checkbox-wrapper-1.warning .cf-checkbox__label::before {
  background-color: #f1b0b7;
}


