/* Ensure checkbox is always visible */
.custom-checkbox {
    display: inline-flex !important; /* Ensure it's not hidden or collapsed */
    align-items: center;
    font-size: 16px;
    visibility: visible !important; /* Enforce visibility */
}

    /* Basic checkbox appearance */
    .custom-checkbox input[type="checkbox"] {
        appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid #003366;
        border-radius: 4px;
        background-color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-right: 10px;
        position: relative;
    }

        /* Checkmark when checked */
        .custom-checkbox input[type="checkbox"]:checked::after {
            content: "\2713"; /* Unicode for checkmark */
            font-size: 16px;
            color: #003366;
            font-weight: bold;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-family: Arial, sans-serif;
        }

        /* Prevent checkbox from disappearing after deselecting */
        .custom-checkbox input[type="checkbox"]:not(:checked) {
            background-color: white !important;
            border: 2px solid #003366 !important;
            visibility: visible !important;
        }
