@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  input.custom-tipntag-checkbox[type='checkbox'], input.custom-tipntag-checkbox[type='radio'] {
    --active: #FF714C;
    --active-inner: #fff;
    --focus: 2px #FF714C;
    --border: #cecece;
    --background: #fff;
    --disabled: #F6F8FF;
    --disabled-inner: #FF714C;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border));
    background: var(--b, var(--background));
    -webkit-transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
  }
  input.custom-tipntag-checkbox[type='checkbox']:after, input.custom-tipntag-checkbox[type='radio']:after {
    content: '';
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    -webkit-transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
    transition: opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s), -webkit-transform var(--d-t, 0.3s) var(--d-t-e, ease);
  }
  input.custom-tipntag-checkbox[type='checkbox']:checked, input.custom-tipntag-checkbox[type='radio']:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: 0.3s;
    --d-t: 0.6s;
    --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
  }
  input.custom-tipntag-checkbox[type='checkbox']:disabled, input.custom-tipntag-checkbox[type='radio']:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }
  input.custom-tipntag-checkbox[type='checkbox']:disabled:checked, input.custom-tipntag-checkbox[type='radio']:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }
  input.custom-tipntag-checkbox[type='checkbox']:disabled + label, input.custom-tipntag-checkbox[type='radio']:disabled + label {
    cursor: not-allowed;
  }
  input.custom-tipntag-checkbox[type='checkbox']:hover:not(:checked):not(:disabled), input.custom-tipntag-checkbox[type='radio']:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }
  input.custom-tipntag-checkbox[type='checkbox']:focus, input.custom-tipntag-checkbox[type='radio']:focus {
    box-shadow: 0 0 0 var(--focus);
  }
  input.custom-tipntag-checkbox[type='checkbox']:not(.switch), input.custom-tipntag-checkbox[type='radio']:not(.switch) {
    width: 21px;
  }
  input.custom-tipntag-checkbox[type='checkbox']:not(.switch):after, input.custom-tipntag-checkbox[type='radio']:not(.switch):after {
    opacity: var(--o, 0);
  }
  input.custom-tipntag-checkbox[type='checkbox']:not(.switch):checked, input.custom-tipntag-checkbox[type='radio']:not(.switch):checked {
    --o: 1;
  }
  input.custom-tipntag-checkbox[type='checkbox'] + label, input.custom-tipntag-checkbox[type='radio'] + label {
    font-size: 14px;
    line-height: 21px;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    margin-left: 4px;
  }
  input.custom-tipntag-checkbox[type='checkbox']:not(.switch) {
    border-radius: 7px;
  }
  input.custom-tipntag-checkbox[type='checkbox']:not(.switch):after {
    width: 5px;
    height: 9px;
    border: 2px solid var(--active-inner);
    border-top: 0;
    border-left: 0;
    left: 7px;
    top: 4px;
    -webkit-transform: rotate(var(--r, 20deg));
    transform: rotate(var(--r, 20deg));
  }
  input.custom-tipntag-checkbox[type='checkbox']:not(.switch):checked {
    --r: 43deg;
  }
  input.custom-tipntag-checkbox[type='checkbox'].switch {
    width: 38px;
    border-radius: 11px;
  }
  input.custom-tipntag-checkbox[type='checkbox'].switch:after {
    left: 2px;
    top: 2px;
    border-radius: 50%;
    width: 15px;
    height: 15px;
    background: var(--ab, var(--border));
    -webkit-transform: translateX(var(--x, 0));
    transform: translateX(var(--x, 0));
  }
  input.custom-tipntag-checkbox[type='checkbox'].switch:checked {
    --ab: var(--active-inner);
    --x: 17px;
  }
  input.custom-tipntag-checkbox[type='checkbox'].switch:disabled:not(:checked):after {
    opacity: 0.6;
  }
  input.custom-tipntag-checkbox[type='radio'] {
    border-radius: 50%;
  }
  input.custom-tipntag-checkbox[type='radio']:after {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: var(--active-inner);
    opacity: 0;
    -webkit-transform: scale(var(--s, 0.7));
    transform: scale(var(--s, 0.7));
  }
  input.custom-tipntag-checkbox[type='radio']:checked {
    --s: 0.5;
  }
}
label.custom-tipntag-checkbox-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  margin-right: 10px;
  color: #525F7F;
}
label.custom-tipntag-checkbox-label.disabled {
  color: #939393;
}
