.center {
    width: 100%;
    text-align: center;
}

input[type="checkbox"] {
    position: relative;
    top: 2px;
    width: 30px;
    height: 30px;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    transition: 0.3s;
    border-radius: 6px; /* Slightly rounded corners */
    border: 2px solid #b6b4b4;
    background-color: white;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: #9C6;
    border-color: #9C6;
}

input[type="checkbox"]::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    transition: 0.3s;
    border-radius: 6px; /* Match checkbox border */
}

input[type="checkbox"]:checked::after {
    content: "\2713"; /* Unicode checkmark */
    font-size: 20px;
    font-weight: bold;
    color: white;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
