.checkbox__container {
  position: relative;
  height: 28px;
  width: 28px;
}

.checkbox {
  position: relative;
}

.checkbox,
.checkbox label {
  height: 100%;
  width: 100%;
}

.checkbox label {
  @apply shadow-md border-white;
  background-color: rgba(0, 0, 0, 0.1);
  border-width: 1px;
  border-style: solid;
  border-radius: 50%;
  cursor: pointer;
  left: 0;
  position: absolute;
  top: 0;
}

.checkbox label:after {
  @apply border-blue;
  border-width: 1px;
  border-style: solid;
  border-top: none;
  border-right: none;
  content: "";
  height: 6px;
  left: 7px;
  opacity: 0;
  position: absolute;
  top: 8px;
  transform: rotate(-45deg);
  width: 12px;
}

.checkbox input[type="checkbox"] {
  visibility: hidden;
}

.checkbox input[type="checkbox"]:checked + label {
  @apply bg-white border-white;
}

.checkbox input[type="checkbox"]:checked + label:after {
  opacity: 1;
}
