/* Hide the browser's default checkbox */
.custom-checkbox {
    /* display: block; */
    position: relative;
    cursor: pointer;

    /* padding-left: 30px; */
}

.custom-checkbox input {
    /* position: absolute; */
    opacity: 0;
    cursor: pointer;
    height: 19px;
    width: 19px;
}

.custom-checkbox .checkmark {
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: white;
    border: 1px solid #c816d3;
    border-radius: 20px;
}

/* On mouse-over, add a blueviolet background color */
.custom-checkbox:hover input ~ .checkmark {
    background-color: blueviolet;
  }

  /* When the radio button is checked, add a blueviolet background */
.custom-checkbox input:checked ~ .checkmark {
    background-color: blueviolet;
  }

/* .custom-checkbox.checked ~ .checkmark::after {
  background-color: #2f8c18;
} */

  /* Create the indicator (the dot/circle - hidden when not checked) */
  .checkmark::before {
    content: "";
    position: absolute;
    display: none;
  }

  .checkmark:after {
    content: "✓";
    position: absolute;
    display: none;
  }

  /* Show the indicator (dot/circle) when checked */
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}
.custom-checkbox input:checked ~ .checkmark::before {
  display: block;
}
  
  /* Style the indicator (dot/circle) */
  .custom-checkbox .checkmark::before {
    position: absolute;
    width: 31px;
    height: 31px;
    margin-left: -6px;
    margin-top: -6px;
    background: #f7f7f7;
    position: absolute;
    content: '';
    border-radius: 50%;;
  }

  .custom-checkbox .checkmark:after {
    width: 19px;
    height: 19px;
    padding-top: 5px;
    padding-left: 2px;
    background: #8A2BE2;
    font-size: 18px;
    color: white;

    border: 1px blueviolet;
    border-radius: 15px;
  }

  .custom-checkbox.checked .checkmark::after {
    background-color: #2f8c18;
  }




