.form-check-input {
    top: 10px;
    left: 20px;
    position: relative;
    width: 2rem;
    min-width: 2rem;
    height: 2rem;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    margin-right: 0.6rem !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 65% 65%;
    transition: background-color 0.15s ease, border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.form-check-input:checked {
    background-color: #001f3f;
    border-color: #001f3f;
    /* Check icon (inline SVG) */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M12.97 4.97a.75.75 0 010 1.06L7.477 11.53a.75.75 0 01-1.06 0L3.03 8.142a.75.75 0 111.06-1.06L6.948 9.94l4.963-4.97a.75.75 0 011.06 0z' fill='%23fff'/%3e%3c/svg%3e");
}

/* Hover feedback */
.form-check-input:hover {
    border-color: #888;
}

/* Keyboard focus ring */
.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 31, 63, 0.25);
}

/* Disabled state */
.form-check-input:disabled {
    cursor: not-allowed;
    background-color: #f2f2f2;
    border-color: #e0e0e0;
}

/* Explicit large size helper if used alongside Bootstrap */
.form-check-input-lg {
    width: 2rem;
    height: 2rem;
    min-width: 2rem;
}
