.MultipleChoice div.btn-raised.btn-primary:first-child,
.MultipleChoice div.btn-raised.btn-default:first-child:hover {
    background: #4FB19D;
    color: white;
}

/* Additional selectors for other selected states */
.Choices__choice.btn-raised.btn-primary {
    background-color: #4FB19D;
    border-color: #4FB19D;
}

/* For checked radio buttons in choice questions */
.ChoicesQuestion .Choices__choice[aria-checked="true"] {
    background-color: #4FB19D;
    border-color: #4FB19D;
}

/* Position for the checkmark */
.Choices__choice.btn-raised.btn-primary,
.MultipleChoice div.btn-raised.btn-primary:first-child {
    position: relative;
    overflow: visible;
}

/* Create the checkmark using ::after pseudo-element */
.Choices__choice.btn-raised.btn-primary::after,
.MultipleChoice div.btn-raised.btn-primary:first-child::after {
    content: '✓';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background-color: #4FB19D;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    animation: checkmark-appear 0.5s ease-out forwards;
}

/* Checkmark animation */
@keyframes checkmark-appear {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Pulse animation for extra effect (optional) */
@keyframes checkmark-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* Add pulse to the checkmark after it appears (optional) */
.Choices__choice.btn-raised.btn-primary::after,
.MultipleChoice div.btn-raised.btn-primary:first-child::after {
    animation: checkmark-appear 0.5s ease-out forwards, 
               checkmark-pulse 0.6s ease-in-out 0.5s;