.custom_check_container {
    display: flex;
    position: relative;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 17px;
  }
  
  /* Hide the browser's default checkbox */
  .custom_check_container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
  }
  
  /* Create a custom checkbox */
  .custom_check_checkmark {
    position: relative;
    top: 0;
    left: 0;
    height: 18px;
    width: 17.5px;
    border-radius: 3px;
    background-color: #fff;
    border: solid 1px #BFBFC7;
  }

  .custom_check_checkmark 
  
  /* On mouse-over, add a grey background color */
  .custom_check_container:hover input ~ .custom_check_checkmark {
    background-color: #ccc;
  }
  
  /* When the checkbox is checked, add a blue background */
  .custom_check_container input:checked ~ .custom_check_checkmark {
    background-color: #0070e0;
    border: none;
  }
  
  /* Create the custom_check_checkmark/indicator (hidden when not checked) */
  .custom_check_checkmark:after {
    content: "";
    position: absolute;
    display: none;
  }
  
  /* Show the custom_check_checkmark when checked */
  .custom_check_container input:checked ~ .custom_check_checkmark:after {
    display: block;
  }
  
  /* Style the custom_check_checkmark/indicator */
  .custom_check_container .custom_check_checkmark:after {
    left: 6px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(46deg);
  }

  .custom_check_container.xl
  {
    width: 24px !important;
  }

  .custom_check_container.xl .custom_check_checkmark
  {
    height: 24px !important;
    width: 24px !important;
  }

  .custom_check_container.xl .custom_check_checkmark:after {
    left: 9px !important;
    top: 3px !important;
    width: 7px !important;
    height: 14px !important;
  }

  .custom_check_container:has(input:checked) + span {
    color: var(--mo-text-7);
  }