/* Customize the label (the container) */
.c-checkbox {
    display: block;
    position: relative;
    padding-left: 32px;
    line-height: 24px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: var(--bord-rad--wide);
    transition: var(--trans);
  }
  
  /* Hide the browser's default checkbox */
  .c-checkbox .c-checkbox__input {
    width: 0;
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  
  /* Create a custom checkbox */
  .c-checkbox__mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: var(--grey);
    border-radius: var(--bord-rad);
    transition: var(--trans);
  }
  
  /* On mouse-over, add a grey background color */
  .c-checkbox:hover .c-checkbox__input ~ .c-checkbox__mark {
    background-color: var(--grey-med-dark);
  }
  
  /* When the checkbox is checked, add a blue background */
  .c-checkbox .c-checkbox__input:checked ~ .c-checkbox__mark {
    background-color: var(--green);
  }
  .dark-mode .c-checkbox .c-checkbox__input:checked ~ .c-checkbox__mark {
    background-color: var(--accent-color--dm);
  }

  /* Create the checkmark/indicator (hidden when not checked) */
  .c-checkbox__mark:after {
      width: 100%;
      text-align: center;
    content: '\2714';
    font-size: 12px;
    color: var(--white);
     position: absolute;
    display: none;
    transition: var(--trans);
  }
  
  /* Show the checkmark when checked */
  .c-checkbox .c-checkbox__input:checked ~ .c-checkbox__mark:after {
    display: block;
  }