.component-checkbox {
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background-color: #f6f6f6;
  border: solid 1px #4a4a4a;
  position: relative;
  display: inline-block;
  margin-right: 8px;
  cursor: pointer;
  user-select: none;
  transition: box-shadow 0.1s;
  overflow: hidden;
  &:not(.ticked):hover{
    box-shadow: inset 0 0 2px 0px #70ad4d;
  }
  &:before{
    content: '';
    background-color: #fffcd0;
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s;
  }
  p {
    top: -6px;
    left: 33%;
    transform: rotateY(180deg) rotateZ(-45deg);
    position: absolute;
    font-weight: 600;
    color: #70ad4d;
    opacity: 0;
    transition: opacity 0.2s;
  }
  &.ticked {
    border: solid 1.5px #70ad4d;
    p {
      opacity: 1;
    }
    &:before {
      opacity: 1;
    }
  }
}

