.propertyRadioLabel {
    display: -webkit-box;
    display: flex;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.375em;
    /* Accessible outline */
    /* Remove comment to use */
    /*
        &:focus-within {
                outline: .125em solid $primary-color;
        }
    */
}
.propertyRadioLabel input {
    position: absolute;
    left: 9999px;
}
.propertyRadioLabel input:checked + span {
    background-color: #ebe1eb;
}
.propertyRadioLabel input:checked + span:before {
    box-shadow: inset 0 0 0 0.4375em #844685;
}
.propertyRadioLabel span {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    padding: 0.375em 0.75em 0.375em 0.375em;
    border-radius: 99em;
    -webkit-transition: 0.25s ease;
    transition: 0.25s ease;
}
.propertyRadioLabel span:hover {
    background-color: #ebe1eb;
}
.propertyRadioLabel span:before {
    display: -webkit-box;
    display: flex;
    flex-shrink: 0;
    content: "";
    background-color: #fff;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    margin-left: 0.575em;
    -webkit-transition: 0.25s ease;
    transition: 0.25s ease;
    box-shadow: inset 0 0 0 0.125em #844685;
}
.customCheck {
    opacity: 0;
    position: relative;
    display: none;
}

.customCheck + label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    margin: 5px 0;
}

.customCheck[type="checkbox"] + label::before {
    content: "";
    width: 1.4em;
    height: 1.4em;
    border: 1px solid rgba(0,0,0,0.2);
    margin-left: 0.5em;
    border-radius: 6px;
    background-color: rgba(51, 51, 51, 0.2);
    transition: background 300ms ease-in;
}

.customCheck[type="checkbox"] + label::after {
    content:"\f121";
    color: white;
    font-family: Ionicons;
    position: absolute;
    top: 1.2px;
    right: 4.2px;
    transform: scale(0);
    transition: all 300ms ease-in-out;
}

.customCheck[type="checkbox"]:checked + label::after {
    transform: scale(1.2);
}

.customCheck[type="checkbox"]:checked + label::before {
    background-color: #5850ec;
}

.customCheck[type="radio"] + label::before {
    content: "";
    width: 2.5em;
    height: 2.4em;
    border: 1px solid rgba(0,0,0,0.2);
    margin-left: 0.5em;
    border-radius: 20%;
    background-color: rgba(51, 51, 51, 0.2);
    transition: all 300ms ease-in;
    border-radius: 50% !important;
}

.customCheck[type="radio"] + label::after {
    content:"\f121";
    color: white;
    font-family: Ionicons;
    position: absolute;
    top: 19.2px;
    right: 8.2px;
    transform: scale(0);
    transition: all 300ms ease-in-out;
}

.customCheck[type="radio"]:checked + label::before {
    background-color: #21ae58;
    border-radius: 50% !important;
}

.customCheck[type="radio"]:checked + label::after {
    /* transform: scale(1.9); */
    transform: scale(1.4);
    margin-top: -15px;
    margin-right: 3px;
}