/* 选择 class 为 form_check 的 input checkbox */
input.form_check[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    border: 0.5px solid #000;
    cursor: pointer;
    position: relative;
    margin-right: 8px;

    /* 添加过渡动画 */
    transition: all 0.3s ease;
}

input.form_check[type="checkbox"]:checked {
    background-color: #fff;
    border-color: #000;

    /* 选中时的动画效果 */
    transform: scale(1.1);
}

input.form_check[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    /* 初始状态：缩小为0 */
    width: 13px;
    height: 13px;
    background: #000;
    border-radius: 50%;

    /* 添加出现动画 */
    animation: checkPop 0.3s ease forwards;
}

/* 定义关键帧动画 */
@keyframes checkPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}