/* Table borders */
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td {
    border: 1px solid #000000;
}

/* Submit button */
#ls-button-submit {
    background-color: #EB0055;
    border-color: #EB0055;
    color: white;
}

/* Yes/No buttons */
.ls-yes {
    background-color: #A5004F;
    border-color: #A5004F;
    color: white;
}

.ls-no {
    background-color: #EB0055;
    border-color: #EB0055;
    color: white;
}

/* Hover state for buttons */
.btn-primary:hover {
    background-color: #460032;
    border-color: #460032;
    color: white;
}

/* Checked/active state */
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary.active,
.btn-primary:active,
.show > .btn-primary.dropdown-toggle {
    background-color: #460032;
    border-color: #460032;
    color: #fff;
}

/* Focused + checked */
.btn-check:focus:checked + .btn-primary,
.btn-primary:focus:checked {
    background-color: #460032;
    border-color: #460032;
    color: #fff;
}

/* Hide the default checkbox */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
    -moz-appearance: none;    /* Firefox */
  width: 1.2em;
  height: 1.2em;
  border: 2px solid #A5004F; /* Novicell Plum */
  border-radius: 3px;
  background-color: white;
  cursor: pointer;
  position: relative;
}

/* Style the checked state */
input[type="checkbox"]:checked {
  background-color: #EB0055; /* Novicell Red */
  border-color: #EB0055;
}

/* Add a custom checkmark */
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 0.2em;
  left: 0.4em;
  width: 0.2em;
  height: 0.6em;
  border: solid white;
  border-width: 0 0.2em 0.2em 0;
  transform: rotate(45deg);
}

/* Hover on checked */
.btn-check:checked + .btn-primary:hover,
.btn-primary.active:hover {
    background-color: #460032;
    border-color: #460032;
    color: #fff;
}

/* Remove focus shadow */
.btn-check:focus + .btn-primary,
.btn-primary:focus,
.btn-primary:hover {
    box-shadow: 0 0 0 .25rem rgba(165, 0, 79, 0.5);
}

/* General button focus */
.btn-check:focus + .btn,
.btn:focus {
    box-shadow: 0 0 0 .25rem rgba(165, 0, 79, 0.25);
    outline: none;
}
