.input-wrapper {
    margin: .5rem 0;
    position: relative;
    text-align: right;
}
.fancy-check-label, .fancy-radio-label {
    cursor: pointer;
    display: flex;
    line-height: 24px;
    padding-right: 28px;
    position: relative;
    user-select: no-select;
    align-items: center;
}
.crappy-browser .fancy-check-label .checkmark-path {
    opacity: 0;
}
.modern-browser .fancy-check-label {
    transition: color 0.3s;
}
.fancy-check:checked + .fancy-check-label {
    color: #b39530;
}
.fancy-check:checked + .fancy-check-label .fancy-checkbox {
    border-color: #b39530;
}
.modern-browser .fancy-check:checked + .fancy-check-label .checkmark-path {
    animation: checkmarkAnimation 0.5s 0s forwards;
}
.crappy-browser .fancy-check:checked + .fancy-check-label .checkmark-path {
    opacity: 1;
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}
.fancy-label--text {
    position: relative;
    font-size: 17px;
}
.fancy-radio:checked + .fancy-radio-label {
    color: #b39530;
}
.fancy-radio:checked + .fancy-radio-label .fancy-label--text::before {
    transition: transform 0.15s;
    transform: scaleX(1);
}
.fancy-radio:checked + .fancy-radio-label .fancy-radiobutton {
    border-color: #b39530;
    transition: border-color 0.5s;
}
.fancy-radio:checked + .fancy-radio-label .radiobutton-dot {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.15s, transform 0.15s;
}
.fancy-checkbox, .fancy-radiobutton {
    border: solid 2px #888;
    display: block;
    height: 20px;
    position: absolute;
    right: 0;
    top: 0px;
    width: 20px;
}
.modern-browser .fancy-checkbox, .modern-browser .fancy-radiobutton {
    transition: border-color 0.3s;
}
.fancy-checkbox {
    border-radius: 3px;
}
.fancy-radiobutton {
    border-radius: 50%;
}
.radiobutton-dot {
    background-color: currentColor;
    border-radius: 50%;
    height: 12px;
    opacity: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
}
.checkmark {
    height: 20px;
    opacity: 1;
    width: 100%;
}
.checkmark .checkmark-path {
    stroke: #b39530;
    stroke-width: 2px;
    transform-origin: 50% 50%;
    stroke-miterlimit: 10;
    opacity: 1;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
}

.radio-rating-container {
    display: flex;
    justify-content: space-between;
}
